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.

75 lines
1.6 KiB

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