Source code of Windows XP (NT5)
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.

25 lines
645 B

  1. #ifndef _MSGWRAPPER_H
  2. #define _MSGWRAPPER_H
  3. class CMessageWrapper {
  4. public:
  5. CMessageWrapper();
  6. ~CMessageWrapper();
  7. VOID Initialize(HINSTANCE hInstance);
  8. BOOL OnInitDialog(HWND hDlg);
  9. BOOL OnAbout(HWND hDlg);
  10. BOOL OnExit(HWND hDlg, WPARAM wParam);
  11. BOOL OnBrowse(HWND hDlg, LPTSTR szApplicationFilePath);
  12. BOOL Register(HWND hDlg, long lFlags);
  13. BOOL OnRefreshDeviceListBox(HWND hDlg);
  14. LPTSTR GetResourceString(INT ResourceID, LPTSTR szString, INT isize = 255);
  15. VOID EnableAllControls(HWND hDlg, bool bEnable);
  16. private:
  17. VOID DisplayError(INT ErrorCode);
  18. protected:
  19. HINSTANCE m_hInstance;
  20. HICON m_hSmallIcon;
  21. };
  22. #endif