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
2.0 KiB

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