Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
962 B

  1. #include <pssclass.hxx>
  2. class CPropertyStorageServerApp
  3. {
  4. public:
  5. CPropertyStorageServerApp()
  6. {
  7. m_hwnd = NULL;
  8. m_dwReg = 0;
  9. m_pClassFactory = NULL;
  10. m_hInstance = NULL;
  11. *m_szAppName = '\0';
  12. m_nCmdShow = 0;
  13. m_fCloseOnFinalRelease = TRUE;
  14. }
  15. ~CPropertyStorageServerApp() {}
  16. public:
  17. __declspec(dllexport)
  18. static LONG_PTR FAR PASCAL
  19. WndProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam);
  20. BOOL Init( HANDLE hInstance, HANDLE hPrevInstance,
  21. LPSTR lpszCmdLine, int nCmdShow );
  22. WORD Run( void );
  23. private:
  24. static HWND m_hwnd;
  25. static DWORD m_dwReg;
  26. static CClassFactory *m_pClassFactory;
  27. static CHAR m_szAppName[80];
  28. static HINSTANCE m_hInstance;
  29. static int m_nCmdShow;
  30. static BOOL m_fCloseOnFinalRelease;
  31. };