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.

79 lines
1.8 KiB

  1. /*++
  2. Copyright (c) 1996 Microsoft Corporation
  3. Module Name:
  4. dgenprop.h
  5. Abstract:
  6. This header prototypes the general property sheet.
  7. Environment:
  8. WIN32 User Mode
  9. Author:
  10. Darwin Ouyang (t-darouy) 30-Sept-1997
  11. --*/
  12. #ifndef __DIALOG_GENPROP_H_
  13. #define __DIALOG_GENPROP_H_
  14. #include "resource.h"
  15. class CInternalRoot; // forward declaration
  16. class CFaxComponentData;
  17. class CFaxGeneralSettingsPropSheet {
  18. public:
  19. CFaxGeneralSettingsPropSheet( HINSTANCE hInstance, LONG_PTR hMmcNotify, CInternalRoot * NodePtr );
  20. ~CFaxGeneralSettingsPropSheet();
  21. HPROPSHEETPAGE GetHandle() { return _hPropSheet;}
  22. private:
  23. static INT_PTR APIENTRY DlgProc( HWND hwndDlg,
  24. UINT message,
  25. WPARAM wParam,
  26. LPARAM lParam );
  27. HRESULT UpdateData( HWND hwndDlg );
  28. static BOOL InitTimeControl( HWND hwndTime,
  29. FAX_TIME faxTime
  30. );
  31. static BOOL BrowseForDirectory( HWND hwndDlg );
  32. static UINT CALLBACK PropSheetPageProc(
  33. HWND hwnd,
  34. UINT uMsg,
  35. LPPROPSHEETPAGE ppsp
  36. );
  37. static BOOL EnumMapiProfiles( HWND hwnd , LPWSTR SelectedProfile, CFaxGeneralSettingsPropSheet * pthis);
  38. //
  39. // NOTE: The following **must** be consecutive.
  40. //
  41. PROPSHEETPAGE _PropSheet;
  42. LONG_PTR _hMmcNotify;
  43. HPROPSHEETPAGE _hPropSheet;
  44. CInternalRoot * _pOwnNode;
  45. CFaxComponentData * _pCompData;
  46. HANDLE _hFaxServer;
  47. LPBYTE _MapiProfiles;
  48. };
  49. #endif