Leaked source code of windows server 2003
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.

131 lines
3.3 KiB

  1. /////////////////////////////////////////////////////////////////////////////
  2. // FILE : FaxMMCPropertyChange.h //
  3. // //
  4. // DESCRIPTION : Header file for FaxMMCPropertyNotification structure //
  5. // //
  6. // //
  7. // AUTHOR : yossg //
  8. // //
  9. // HISTORY : //
  10. // Jan 19 2000 yossg Init . //
  11. // Windows XP //
  12. // Feb 14 2001 yossg Add Device class due to Manual Receive support //
  13. // //
  14. // Copyright (C) 2000 Microsoft Corporation All Rights Reserved //
  15. /////////////////////////////////////////////////////////////////////////////
  16. #ifndef H_FAXMMCPROPERTYCHANGE_H
  17. #define H_FAXMMCPROPERTYCHANGE_H
  18. enum ENUM_PROPCHANGE_NOTIFICATION_TYPE
  19. {
  20. GeneralFaxPropNotification = 0,
  21. RuleFaxPropNotification,
  22. DeviceFaxPropNotification
  23. };
  24. //
  25. // the general fax property change notifiction structure
  26. //
  27. class CFaxPropertyChangeNotification
  28. {
  29. public:
  30. //
  31. // Constructor
  32. //
  33. CFaxPropertyChangeNotification()
  34. {
  35. pItem = NULL;
  36. pParentItem = NULL;
  37. enumType = GeneralFaxPropNotification;
  38. }
  39. //
  40. // Destructor
  41. //
  42. ~CFaxPropertyChangeNotification()
  43. {
  44. }
  45. //
  46. // members
  47. //
  48. CSnapInItem * pItem;
  49. CSnapInItem * pParentItem;
  50. ENUM_PROPCHANGE_NOTIFICATION_TYPE enumType;
  51. };
  52. //
  53. // The Rule property change notifiction structure
  54. //
  55. class CFaxRulePropertyChangeNotification: public CFaxPropertyChangeNotification
  56. {
  57. public:
  58. //
  59. // Constructor
  60. //
  61. CFaxRulePropertyChangeNotification()
  62. {
  63. dwCountryCode = 0;
  64. dwAreaCode = 0;
  65. dwDeviceID = 0;
  66. bstrCountryName = L"";
  67. bstrGroupName = L"";
  68. }
  69. //
  70. // Destructor
  71. //
  72. ~CFaxRulePropertyChangeNotification()
  73. {
  74. }
  75. //
  76. // members
  77. //
  78. DWORD dwCountryCode;
  79. DWORD dwAreaCode;
  80. CComBSTR bstrCountryName;
  81. BOOL fIsGroup;
  82. CComBSTR bstrGroupName;
  83. DWORD dwDeviceID;
  84. };
  85. //
  86. // The device property change notifiction structure
  87. //
  88. class CFaxDevicePropertyChangeNotification: public CFaxPropertyChangeNotification
  89. {
  90. public:
  91. //
  92. // Constructor
  93. //
  94. CFaxDevicePropertyChangeNotification()
  95. {
  96. dwDeviceID = 0;
  97. fIsToNotifyAdditionalDevices = FALSE;
  98. }
  99. //
  100. // Destructor
  101. //
  102. ~CFaxDevicePropertyChangeNotification()
  103. {
  104. }
  105. //
  106. // members
  107. //
  108. DWORD dwDeviceID;
  109. BOOL fIsToNotifyAdditionalDevices;
  110. };
  111. #endif //H_FAXMMCPROPERTYCHANGE_H