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.

26 lines
688 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. BOOL OnRefreshEventListBox(HWND hDlg);
  15. LPTSTR GetResourceString(INT ResourceID, LPTSTR szString, INT isize = 255);
  16. VOID EnableAllControls(HWND hDlg, bool bEnable);
  17. private:
  18. VOID DisplayError(INT ErrorCode);
  19. protected:
  20. HINSTANCE m_hInstance;
  21. HICON m_hSmallIcon;
  22. };
  23. #endif