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.

194 lines
4.0 KiB

  1. //WLBS_MOFData.h
  2. #ifndef _WLBSMOFDATA_INCLUDED_
  3. #define _WLBSMOFDATA_INCLUDED_
  4. #include "WLBS_MofLists.h"
  5. //forward declaration
  6. class CWlbs_Root;
  7. typedef CWlbs_Root* (*PCREATE)(CWbemServices* a_pNameSpace,
  8. IWbemObjectSink* a_pResponseHandler);
  9. namespace MOF_CLASSES
  10. {
  11. enum { MOF_CLASS_LIST };
  12. extern LPWSTR g_szMOFClassList[];
  13. extern PCREATE g_pCreateFunc[];
  14. extern DWORD NumClasses;
  15. };
  16. //MOF_NODE namespace declaration
  17. namespace MOF_NODE
  18. {
  19. enum{MOF_NODE_PROPERTY_LIST};
  20. enum{MOF_NODE_METHOD_LIST};
  21. extern LPWSTR szName;
  22. extern LPWSTR pProperties[];
  23. extern LPWSTR pMethods[];
  24. extern DWORD NumProperties;
  25. extern DWORD NumMethods;
  26. };
  27. #undef MOF_NODE_PROPERTY_LIST
  28. #undef MOF_NODE_METHOD_LIST
  29. //MOF_CLUSTER namespace declaration
  30. namespace MOF_CLUSTER
  31. {
  32. enum{MOF_CLUSTER_PROPERTY_LIST};
  33. enum{MOF_CLUSTER_METHOD_LIST};
  34. extern LPWSTR szName;
  35. extern LPWSTR pProperties[];
  36. extern LPWSTR pMethods[];
  37. extern DWORD NumProperties;
  38. extern DWORD NumMethods;
  39. };
  40. #undef MOF_CLUSTER_PROPERTY_LIST
  41. #undef MOF_CLUSTER_METHOD_LIST
  42. //MOF_CLUSTERSETTING namespace declaration
  43. namespace MOF_CLUSTERSETTING
  44. {
  45. enum{MOF_CLUSTERSETTING_PROPERTY_LIST};
  46. enum{MOF_CLUSTERSETTING_METHOD_LIST};
  47. extern LPWSTR szName;
  48. extern LPWSTR pProperties[];
  49. extern LPWSTR pMethods[];
  50. extern DWORD NumProperties;
  51. extern DWORD NumMethods;
  52. };
  53. #undef MOF_CLUSTERSETTING_PROPERTY_LIST
  54. #undef MOF_CLUSTERSETTING_METHOD_LIST
  55. //MOF_NODESETTING namespace declaration
  56. namespace MOF_NODESETTING
  57. {
  58. enum{MOF_NODESETTING_PROPERTY_LIST};
  59. enum{MOF_NODESETTING_METHOD_LIST};
  60. extern LPWSTR szName;
  61. extern LPWSTR pProperties[];
  62. extern LPWSTR pMethods[];
  63. extern DWORD NumProperties;
  64. extern DWORD NumMethods;
  65. };
  66. #undef MOF_NODESETTING_PROPERTY_LIST
  67. #undef MOF_NODESETTING_METHOD_LIST
  68. //MOF_PORTRULE namespace initialization
  69. namespace MOF_PORTRULE
  70. {
  71. enum { MOF_PORTRULE_PROPERTY_LIST };
  72. enum {MOF_PORTRULE_METHOD_LIST};
  73. extern LPWSTR szName;
  74. extern LPWSTR pProperties[];
  75. extern LPWSTR pMethods[];
  76. extern DWORD NumProperties;
  77. extern DWORD NumMethods;
  78. };
  79. #undef MOF_PORTRULE_PROPERTY_LIST
  80. //MOF_PRFAIL namespace initialization
  81. namespace MOF_PRFAIL
  82. {
  83. enum { MOF_PRFAIL_PROPERTY_LIST };
  84. extern LPWSTR szName;
  85. extern LPWSTR pProperties[];
  86. extern DWORD NumProperties;
  87. };
  88. #undef MOF_PRFAIL_PROPERTY_LIST
  89. //MOF_PRLOADBAL namespace initialization
  90. namespace MOF_PRLOADBAL
  91. {
  92. enum { MOF_PRLOADBAL_PROPERTY_LIST };
  93. extern LPWSTR szName;
  94. extern LPWSTR pProperties[];
  95. extern DWORD NumProperties;
  96. };
  97. #undef MOF_PRLOADBAL_PROPERTY_LIST
  98. namespace MOF_PRDIS
  99. {
  100. extern LPWSTR szName;
  101. };
  102. //MOF_PARTICIPATINGNODE namespace initialization
  103. namespace MOF_PARTICIPATINGNODE
  104. {
  105. enum { MOF_PARTICIPATINGNODE_PROPERTY_LIST };
  106. extern LPWSTR szName;
  107. extern LPWSTR pProperties[];
  108. extern DWORD NumProperties;
  109. };
  110. #undef MOF_PARTICIPATINGNODE_PROPERTY_LIST
  111. //MOF_NODESETTINGPORTRULE namespace initialization
  112. namespace MOF_NODESETTINGPORTRULE
  113. {
  114. enum { MOF_NODESETTINGPORTRULE_PROPERTY_LIST };
  115. extern LPWSTR szName;
  116. extern LPWSTR pProperties[];
  117. extern DWORD NumProperties;
  118. };
  119. #undef MOF_NODESETTINGPORTRULE_PROPERTY_LIST
  120. //MOF_CLUSCLUSSETTING namespace initialization
  121. namespace MOF_CLUSCLUSSETTING
  122. {
  123. enum { MOF_CLUSCLUSSETTING_PROPERTY_LIST };
  124. extern LPWSTR szName;
  125. extern LPWSTR pProperties[];
  126. extern DWORD NumProperties;
  127. };
  128. #undef MOF_CLUSCLUSSETTING_PROPERTY_LIST
  129. //MOF_NODENODESETTING namespace initialization
  130. namespace MOF_NODENODESETTING
  131. {
  132. enum { MOF_NODENODESETTING_PROPERTY_LIST };
  133. extern LPWSTR szName;
  134. extern LPWSTR pProperties[];
  135. extern DWORD NumProperties;
  136. };
  137. #undef MOF_NODENODESETTING_PROPERTY_LIST
  138. //MOF_PARAM namespace declaration
  139. namespace MOF_PARAM
  140. {
  141. extern LPWSTR PORT_NUMBER;
  142. extern LPWSTR HOST_ID;
  143. extern LPWSTR NUM_NODES;
  144. extern LPWSTR CLUSIP;
  145. extern LPWSTR CLUSNETMASK;
  146. extern LPWSTR PASSW;
  147. extern LPWSTR DEDIP;
  148. extern LPWSTR DEDNETMASK;
  149. extern LPWSTR PORTRULE;
  150. extern LPWSTR NODEPATH;
  151. };
  152. #endif //_WLBSMOFDATA_INCLUDED_