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.

4943 lines
170 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 3.00.44 */
  3. /* at Fri Aug 08 11:36:24 1997
  4. */
  5. /* Compiler settings for msclus.idl:
  6. Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
  7. error checks: none
  8. */
  9. //@@MIDL_FILE_HEADING( )
  10. #include "rpc.h"
  11. #include "rpcndr.h"
  12. #ifndef COM_NO_WINDOWS_H
  13. #include "windows.h"
  14. #include "ole2.h"
  15. #endif /*COM_NO_WINDOWS_H*/
  16. #ifndef __msclus_h__
  17. #define __msclus_h__
  18. #ifdef __cplusplus
  19. extern "C"{
  20. #endif
  21. /* Forward Declarations */
  22. #ifndef __IClusterApplication_FWD_DEFINED__
  23. #define __IClusterApplication_FWD_DEFINED__
  24. typedef interface IClusterApplication IClusterApplication;
  25. #endif /* __IClusterApplication_FWD_DEFINED__ */
  26. #ifndef __Domains_FWD_DEFINED__
  27. #define __Domains_FWD_DEFINED__
  28. typedef interface Domains Domains;
  29. #endif /* __Domains_FWD_DEFINED__ */
  30. #ifndef __IClusterDomain_FWD_DEFINED__
  31. #define __IClusterDomain_FWD_DEFINED__
  32. typedef interface IClusterDomain IClusterDomain;
  33. #endif /* __IClusterDomain_FWD_DEFINED__ */
  34. #ifndef __Clusters_FWD_DEFINED__
  35. #define __Clusters_FWD_DEFINED__
  36. typedef interface Clusters Clusters;
  37. #endif /* __Clusters_FWD_DEFINED__ */
  38. #ifndef __ICluster_FWD_DEFINED__
  39. #define __ICluster_FWD_DEFINED__
  40. typedef interface ICluster ICluster;
  41. #endif /* __ICluster_FWD_DEFINED__ */
  42. #ifndef __ClusNode_FWD_DEFINED__
  43. #define __ClusNode_FWD_DEFINED__
  44. typedef interface ClusNode ClusNode;
  45. #endif /* __ClusNode_FWD_DEFINED__ */
  46. #ifndef __ClusNodes_FWD_DEFINED__
  47. #define __ClusNodes_FWD_DEFINED__
  48. typedef interface ClusNodes ClusNodes;
  49. #endif /* __ClusNodes_FWD_DEFINED__ */
  50. #ifndef __ClusResGroup_FWD_DEFINED__
  51. #define __ClusResGroup_FWD_DEFINED__
  52. typedef interface ClusResGroup ClusResGroup;
  53. #endif /* __ClusResGroup_FWD_DEFINED__ */
  54. #ifndef __ClusResGroups_FWD_DEFINED__
  55. #define __ClusResGroups_FWD_DEFINED__
  56. typedef interface ClusResGroups ClusResGroups;
  57. #endif /* __ClusResGroups_FWD_DEFINED__ */
  58. #ifndef __ClusResource_FWD_DEFINED__
  59. #define __ClusResource_FWD_DEFINED__
  60. typedef interface ClusResource ClusResource;
  61. #endif /* __ClusResource_FWD_DEFINED__ */
  62. #ifndef __ClusResources_FWD_DEFINED__
  63. #define __ClusResources_FWD_DEFINED__
  64. typedef interface ClusResources ClusResources;
  65. #endif /* __ClusResources_FWD_DEFINED__ */
  66. #ifndef __ClusResType_FWD_DEFINED__
  67. #define __ClusResType_FWD_DEFINED__
  68. typedef interface ClusResType ClusResType;
  69. #endif /* __ClusResType_FWD_DEFINED__ */
  70. #ifndef __ClusResTypes_FWD_DEFINED__
  71. #define __ClusResTypes_FWD_DEFINED__
  72. typedef interface ClusResTypes ClusResTypes;
  73. #endif /* __ClusResTypes_FWD_DEFINED__ */
  74. #ifndef __ClusProperty_FWD_DEFINED__
  75. #define __ClusProperty_FWD_DEFINED__
  76. typedef interface ClusProperty ClusProperty;
  77. #endif /* __ClusProperty_FWD_DEFINED__ */
  78. #ifndef __ClusProperties_FWD_DEFINED__
  79. #define __ClusProperties_FWD_DEFINED__
  80. typedef interface ClusProperties ClusProperties;
  81. #endif /* __ClusProperties_FWD_DEFINED__ */
  82. /* header files for imported files */
  83. #include "oaidl.h"
  84. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  85. void __RPC_USER MIDL_user_free( void __RPC_FAR * );
  86. /****************************************
  87. * Generated header for interface: __MIDL__intf_0000
  88. * at Fri Aug 08 11:36:24 1997
  89. * using MIDL 3.00.44
  90. ****************************************/
  91. /* [local] */
  92. #ifndef _CLUSTER_API_TYPES_
  93. /* size is 4 */
  94. typedef struct _HCLUSTER __RPC_FAR *HCLUSTER;
  95. /* size is 4 */
  96. typedef struct _HNODE __RPC_FAR *HNODE;
  97. /* size is 4 */
  98. typedef struct _HRESOURCE __RPC_FAR *HRESOURCE;
  99. /* size is 4 */
  100. typedef struct _HGROUP __RPC_FAR *HGROUP;
  101. /* size is 4 */
  102. typedef struct _HRESTYPE __RPC_FAR *HRESTYPE;
  103. /* size is 4 */
  104. typedef struct _HNETWORK __RPC_FAR *HNETWORK;
  105. /* size is 4 */
  106. typedef struct _HNETINTERFACE __RPC_FAR *HNETINTERFACE;
  107. /* size is 4 */
  108. typedef struct _HCHANGE __RPC_FAR *HCHANGE;
  109. /* size is 4 */
  110. typedef struct _HCLUSENUM __RPC_FAR *HCLUSENUM;
  111. /* size is 4 */
  112. typedef struct _HGROUPENUM __RPC_FAR *HGROUPENUM;
  113. /* size is 4 */
  114. typedef struct _HRESENUM __RPC_FAR *HRESENUM;
  115. /* size is 4 */
  116. typedef struct _HNETWORKENUM __RPC_FAR *HNETWORKENUM;
  117. /* size is 4 */
  118. typedef struct _HNODEENUM __RPC_FAR *HNODEENUM;
  119. /* size is 2 */
  120. typedef
  121. enum CLUSTER_QUORUM_TYPE
  122. { OperationalQuorum = 0,
  123. ModifyQuorum = OperationalQuorum + 1
  124. } CLUSTER_QUORUM_TYPE;
  125. /* size is 2 */
  126. typedef
  127. enum CLUSTER_CHANGE
  128. { CLUSTER_CHANGE_NODE_STATE = 0x1,
  129. CLUSTER_CHANGE_NODE_DELETED = 0x2,
  130. CLUSTER_CHANGE_NODE_ADDED = 0x4,
  131. CLUSTER_CHANGE_NODE_PROPERTY = 0x8,
  132. CLUSTER_CHANGE_REGISTRY_NAME = 0x10,
  133. CLUSTER_CHANGE_REGISTRY_ATTRIBUTES = 0x20,
  134. CLUSTER_CHANGE_REGISTRY_VALUE = 0x40,
  135. CLUSTER_CHANGE_REGISTRY_SUBTREE = 0x80,
  136. CLUSTER_CHANGE_RESOURCE_STATE = 0x100,
  137. CLUSTER_CHANGE_RESOURCE_DELETED = 0x200,
  138. CLUSTER_CHANGE_RESOURCE_ADDED = 0x400,
  139. CLUSTER_CHANGE_RESOURCE_PROPERTY = 0x800,
  140. CLUSTER_CHANGE_GROUP_STATE = 0x1000,
  141. CLUSTER_CHANGE_GROUP_DELETED = 0x2000,
  142. CLUSTER_CHANGE_GROUP_ADDED = 0x4000,
  143. CLUSTER_CHANGE_GROUP_PROPERTY = 0x8000,
  144. CLUSTER_CHANGE_RESOURCE_TYPE_DELETED = 0x10000,
  145. CLUSTER_CHANGE_RESOURCE_TYPE_ADDED = 0x20000,
  146. CLUSTER_CHANGE_NETWORK_STATE = 0x100000,
  147. CLUSTER_CHANGE_NETWORK_DELETED = 0x200000,
  148. CLUSTER_CHANGE_NETWORK_ADDED = 0x400000,
  149. CLUSTER_CHANGE_NETWORK_PROPERTY = 0x800000,
  150. CLUSTER_CHANGE_NETINTERFACE_STATE = 0x1000000,
  151. CLUSTER_CHANGE_NETINTERFACE_DELETED = 0x2000000,
  152. CLUSTER_CHANGE_NETINTERFACE_ADDED = 0x4000000,
  153. CLUSTER_CHANGE_NETINTERFACE_PROPERTY = 0x8000000,
  154. CLUSTER_CHANGE_QUORUM_STATE = 0x10000000,
  155. CLUSTER_CHANGE_CLUSTER_STATE = 0x20000000,
  156. CLUSTER_CHANGE_CLUSTER_PROPERTY = 0x40000000,
  157. CLUSTER_CHANGE_HANDLE_CLOSE = 0x80000000,
  158. CLUSTER_CHANGE_ALL = CLUSTER_CHANGE_NODE_STATE | CLUSTER_CHANGE_NODE_DELETED | CLUSTER_CHANGE_NODE_ADDED | CLUSTER_CHANGE_NODE_PROPERTY | CLUSTER_CHANGE_REGISTRY_NAME | CLUSTER_CHANGE_REGISTRY_ATTRIBUTES | CLUSTER_CHANGE_REGISTRY_VALUE | CLUSTER_CHANGE_REGISTRY_SUBTREE | CLUSTER_CHANGE_RESOURCE_STATE | CLUSTER_CHANGE_RESOURCE_DELETED | CLUSTER_CHANGE_RESOURCE_ADDED | CLUSTER_CHANGE_RESOURCE_PROPERTY | CLUSTER_CHANGE_GROUP_STATE | CLUSTER_CHANGE_GROUP_DELETED | CLUSTER_CHANGE_GROUP_ADDED | CLUSTER_CHANGE_GROUP_PROPERTY | CLUSTER_CHANGE_RESOURCE_TYPE_DELETED | CLUSTER_CHANGE_RESOURCE_TYPE_ADDED | CLUSTER_CHANGE_NETWORK_STATE | CLUSTER_CHANGE_NETWORK_DELETED | CLUSTER_CHANGE_NETWORK_ADDED | CLUSTER_CHANGE_NETWORK_PROPERTY | CLUSTER_CHANGE_NETINTERFACE_STATE | CLUSTER_CHANGE_NETINTERFACE_DELETED | CLUSTER_CHANGE_NETINTERFACE_ADDED | CLUSTER_CHANGE_NETINTERFACE_PROPERTY | CLUSTER_CHANGE_QUORUM_STATE | CLUSTER_CHANGE_CLUSTER_STATE | CLUSTER_CHANGE_CLUSTER_PROPERTY | CLUSTER_CHANGE_HANDLE_CLOSE
  159. } CLUSTER_CHANGE;
  160. /* size is 2 */
  161. typedef
  162. enum CLUSTER_ENUM
  163. { CLUSTER_ENUM_NODE = 0x1,
  164. CLUSTER_ENUM_RESTYPE = 0x2,
  165. CLUSTER_ENUM_RESOURCE = 0x4,
  166. CLUSTER_ENUM_GROUP = 0x8,
  167. CLUSTER_ENUM_NETWORK = 0x10,
  168. CLUSTER_ENUM_NETINTERFACE = 0x20,
  169. CLUSTER_ENUM_INTERNAL_NETWORK = 0x80000000,
  170. CLUSTER_ENUM_ALL = CLUSTER_ENUM_NODE | CLUSTER_ENUM_RESTYPE | CLUSTER_ENUM_RESOURCE | CLUSTER_ENUM_GROUP | CLUSTER_ENUM_NETWORK | CLUSTER_ENUM_NETINTERFACE
  171. } CLUSTER_ENUM;
  172. /* size is 2 */
  173. typedef
  174. enum CLUSTER_NODE_ENUM
  175. { CLUSTER_NODE_ENUM_NETINTERFACES = 0x1,
  176. CLUSTER_NODE_ENUM_ALL = CLUSTER_NODE_ENUM_NETINTERFACES
  177. } CLUSTER_NODE_ENUM;
  178. /* size is 2 */
  179. typedef
  180. enum CLUSTER_NODE_STATE
  181. { ClusterNodeStateUnknown = -1,
  182. ClusterNodeUp = ClusterNodeStateUnknown + 1,
  183. ClusterNodeDown = ClusterNodeUp + 1,
  184. ClusterNodePaused = ClusterNodeDown + 1,
  185. ClusterNodeJoining = ClusterNodePaused + 1
  186. } CLUSTER_NODE_STATE;
  187. /* size is 2 */
  188. typedef
  189. enum CLUSTER_GROUP_ENUM
  190. { CLUSTER_GROUP_ENUM_CONTAINS = 0x1,
  191. CLUSTER_GROUP_ENUM_NODES = 0x2,
  192. CLUSTER_GROUP_ENUM_ALL = CLUSTER_GROUP_ENUM_CONTAINS | CLUSTER_GROUP_ENUM_NODES
  193. } CLUSTER_GROUP_ENUM;
  194. /* size is 2 */
  195. typedef
  196. enum CLUSTER_GROUP_STATE
  197. { ClusterGroupStateUnknown = -1,
  198. ClusterGroupOnline = ClusterGroupStateUnknown + 1,
  199. ClusterGroupOffline = ClusterGroupOnline + 1,
  200. ClusterGroupFailed = ClusterGroupOffline + 1,
  201. ClusterGroupPartialOnline = ClusterGroupFailed + 1
  202. } CLUSTER_GROUP_STATE;
  203. /* size is 2 */
  204. typedef
  205. enum CLUSTER_GROUP_AUTOFAILBACK_TYPE
  206. { ClusterGroupPreventFailback = 0,
  207. ClusterGroupAllowFailback = ClusterGroupPreventFailback + 1,
  208. ClusterGroupFailbackTypeCount = ClusterGroupAllowFailback + 1
  209. } CLUSTER_GROUP_AUTOFAILBACK_TYPE;
  210. /* size is 2 */
  211. typedef enum CLUSTER_GROUP_AUTOFAILBACK_TYPE CGAFT;
  212. /* size is 2 */
  213. typedef
  214. enum CLUSTER_RESOURCE_STATE
  215. { ClusterResourceStateUnknown = -1,
  216. ClusterResourceInherited = ClusterResourceStateUnknown + 1,
  217. ClusterResourceInitializing = ClusterResourceInherited + 1,
  218. ClusterResourceOnline = ClusterResourceInitializing + 1,
  219. ClusterResourceOffline = ClusterResourceOnline + 1,
  220. ClusterResourceFailed = ClusterResourceOffline + 1,
  221. ClusterResourcePending = 128,
  222. ClusterResourceOnlinePending = ClusterResourcePending + 1,
  223. ClusterResourceOfflinePending = ClusterResourceOnlinePending + 1
  224. } CLUSTER_RESOURCE_STATE;
  225. /* size is 2 */
  226. typedef
  227. enum CLUSTER_RESOURCE_RESTART_ACTION
  228. { ClusterResourceDontRestart = 0,
  229. ClusterResourceRestartNoNotify = ClusterResourceDontRestart + 1,
  230. ClusterResourceRestartNotify = ClusterResourceRestartNoNotify + 1,
  231. ClusterResourceRestartActionCount = ClusterResourceRestartNotify + 1
  232. } CLUSTER_RESOURCE_RESTART_ACTION;
  233. /* size is 2 */
  234. typedef enum CLUSTER_RESOURCE_RESTART_ACTION CRRA;
  235. /* size is 2 */
  236. typedef
  237. enum CLUSTER_RESOURCE_CREATE_FLAGS
  238. { CLUSTER_RESOURCE_SEPARATE_MONITOR = 1,
  239. CLUSTER_RESOURCE_VALID_FLAGS = CLUSTER_RESOURCE_SEPARATE_MONITOR
  240. } CLUSTER_RESOURCE_CREATE_FLAGS;
  241. /* size is 2 */
  242. typedef
  243. enum CLUSTER_PROPERTY_TYPE
  244. { CLUSPROP_TYPE_ENDMARK = 0,
  245. CLUSPROP_TYPE_LIST_VALUE = CLUSPROP_TYPE_ENDMARK + 1,
  246. CLUSPROP_TYPE_RESCLASS = CLUSPROP_TYPE_LIST_VALUE + 1,
  247. CLUSPROP_TYPE_RESERVED1 = CLUSPROP_TYPE_RESCLASS + 1,
  248. CLUSPROP_TYPE_NAME = CLUSPROP_TYPE_RESERVED1 + 1,
  249. CLUSPROP_TYPE_SIGNATURE = CLUSPROP_TYPE_NAME + 1,
  250. CLUSPROP_TYPE_SCSI_ADDRESS = CLUSPROP_TYPE_SIGNATURE + 1,
  251. CLUSPROP_TYPE_DISK_NUMBER = CLUSPROP_TYPE_SCSI_ADDRESS + 1,
  252. CLUSPROP_TYPE_PARTITION_INFO = CLUSPROP_TYPE_DISK_NUMBER + 1,
  253. CLUSPROP_TYPE_FTSET_INFO = CLUSPROP_TYPE_PARTITION_INFO + 1,
  254. CLUSPROP_TYPE_USER = 32768
  255. } CLUSTER_PROPERTY_TYPE;
  256. /* size is 2 */
  257. typedef
  258. enum CLUSTER_PROPERTY_FORMAT
  259. { CLUSPROP_FORMAT_UNKNOWN = 0,
  260. CLUSPROP_FORMAT_BINARY = CLUSPROP_FORMAT_UNKNOWN + 1,
  261. CLUSPROP_FORMAT_DWORD = CLUSPROP_FORMAT_BINARY + 1,
  262. CLUSPROP_FORMAT_SZ = CLUSPROP_FORMAT_DWORD + 1,
  263. CLUSPROP_FORMAT_EXPAND_SZ = CLUSPROP_FORMAT_SZ + 1,
  264. CLUSPROP_FORMAT_MULTI_SZ = CLUSPROP_FORMAT_EXPAND_SZ + 1,
  265. CLUSPROP_FORMAT_ULARGE_INTEGER = CLUSPROP_FORMAT_MULTI_SZ + 1,
  266. CLUSPROP_FORMAT_USER = 32768
  267. } CLUSTER_PROPERTY_FORMAT;
  268. /* size is 2 */
  269. typedef
  270. enum CLUSTER_PROPERTY_SYNTAX
  271. { CLUSPROP_SYNTAX_ENDMARK = ( DWORD )(CLUSPROP_TYPE_ENDMARK << 16 | CLUSPROP_FORMAT_UNKNOWN),
  272. CLUSPROP_SYNTAX_NAME = ( DWORD )(CLUSPROP_TYPE_NAME << 16 | CLUSPROP_FORMAT_SZ),
  273. CLUSPROP_SYNTAX_RESCLASS = ( DWORD )(CLUSPROP_TYPE_RESCLASS << 16 | CLUSPROP_FORMAT_DWORD),
  274. CLUSPROP_SYNTAX_LIST_VALUE_SZ = ( DWORD )(CLUSPROP_TYPE_LIST_VALUE << 16 | CLUSPROP_FORMAT_SZ),
  275. CLUSPROP_SYNTAX_LIST_VALUE_EXPAND_SZ = ( DWORD )(CLUSPROP_TYPE_LIST_VALUE << 16 | CLUSPROP_FORMAT_EXPAND_SZ),
  276. CLUSPROP_SYNTAX_LIST_VALUE_DWORD = ( DWORD )(CLUSPROP_TYPE_LIST_VALUE << 16 | CLUSPROP_FORMAT_DWORD),
  277. CLUSPROP_SYNTAX_LIST_VALUE_BINARY = ( DWORD )(CLUSPROP_TYPE_LIST_VALUE << 16 | CLUSPROP_FORMAT_BINARY),
  278. CLUSPROP_SYNTAX_LIST_VALUE_MULTI_SZ = ( DWORD )(CLUSPROP_TYPE_LIST_VALUE << 16 | CLUSPROP_FORMAT_MULTI_SZ),
  279. CLUSPROP_SYNTAX_DISK_SIGNATURE = ( DWORD )(CLUSPROP_TYPE_SIGNATURE << 16 | CLUSPROP_FORMAT_DWORD),
  280. CLUSPROP_SYNTAX_SCSI_ADDRESS = ( DWORD )(CLUSPROP_TYPE_SCSI_ADDRESS << 16 | CLUSPROP_FORMAT_DWORD),
  281. CLUSPROP_SYNTAX_DISK_NUMBER = ( DWORD )(CLUSPROP_TYPE_DISK_NUMBER << 16 | CLUSPROP_FORMAT_DWORD),
  282. CLUSPROP_SYNTAX_PARTITION_INFO = ( DWORD )(CLUSPROP_TYPE_PARTITION_INFO << 16 | CLUSPROP_FORMAT_BINARY),
  283. CLUSPROP_SYNTAX_FTSET_INFO = ( DWORD )(CLUSPROP_TYPE_FTSET_INFO << 16 | CLUSPROP_FORMAT_BINARY)
  284. } ;
  285. /* size is 2 */
  286. typedef
  287. enum CLUSTER_CONTROL_OBJECT
  288. { CLUS_OBJECT_INVALID = 0,
  289. CLUS_OBJECT_RESOURCE = CLUS_OBJECT_INVALID + 1,
  290. CLUS_OBJECT_RESOURCE_TYPE = CLUS_OBJECT_RESOURCE + 1,
  291. CLUS_OBJECT_GROUP = CLUS_OBJECT_RESOURCE_TYPE + 1,
  292. CLUS_OBJECT_NODE = CLUS_OBJECT_GROUP + 1,
  293. CLUS_OBJECT_NETWORK = CLUS_OBJECT_NODE + 1,
  294. CLUS_OBJECT_NETINTERFACE = CLUS_OBJECT_NETWORK + 1,
  295. CLUS_OBJECT_USER = 128
  296. } CLUSTER_CONTROL_OBJECT;
  297. /* size is 2 */
  298. typedef
  299. enum CLCTL_CODES
  300. { CLCTL_UNKNOWN = 0 << 0 | 0 + 0 << 2 | 0 << 22,
  301. CLCTL_GET_CHARACTERISTICS = 0x1 << 0 | 0 + 1 << 2 | 0 << 22,
  302. CLCTL_GET_FLAGS = 0x1 << 0 | 0 + 2 << 2 | 0 << 22,
  303. CLCTL_GET_CLASS_INFO = 0x1 << 0 | 0 + 3 << 2 | 0 << 22,
  304. CLCTL_GET_REQUIRED_DEPENDENCIES = 0x1 << 0 | 0 + 4 << 2 | 0 << 22,
  305. CLCTL_GET_NAME = 0x1 << 0 | 0 + 10 << 2 | 0 << 22,
  306. CLCTL_GET_RESOURCE_TYPE = 0x1 << 0 | 0 + 11 << 2 | 0 << 22,
  307. CLCTL_GET_NODE = 0x1 << 0 | 0 + 12 << 2 | 0 << 22,
  308. CLCTL_GET_NETWORK = 0x1 << 0 | 0 + 13 << 2 | 0 << 22,
  309. CLCTL_ENUM_COMMON_PROPERTIES = 0x1 << 0 | 0 + 20 << 2 | 0 << 22,
  310. CLCTL_GET_RO_COMMON_PROPERTIES = 0x1 << 0 | 0 + 21 << 2 | 0 << 22,
  311. CLCTL_GET_COMMON_PROPERTIES = 0x1 << 0 | 0 + 22 << 2 | 0 << 22,
  312. CLCTL_SET_COMMON_PROPERTIES = 0x2 << 0 | 0 + 23 << 2 | 0x1 << 22,
  313. CLCTL_VALIDATE_COMMON_PROPERTIES = 0x1 << 0 | 0 + 24 << 2 | 0 << 22,
  314. CLCTL_ENUM_PRIVATE_PROPERTIES = 0x1 << 0 | 0 + 30 << 2 | 0 << 22,
  315. CLCTL_GET_RO_PRIVATE_PROPERTIES = 0x1 << 0 | 0 + 31 << 2 | 0 << 22,
  316. CLCTL_GET_PRIVATE_PROPERTIES = 0x1 << 0 | 0 + 32 << 2 | 0 << 22,
  317. CLCTL_SET_PRIVATE_PROPERTIES = 0x2 << 0 | 0 + 33 << 2 | 0x1 << 22,
  318. CLCTL_VALIDATE_PRIVATE_PROPERTIES = 0x1 << 0 | 0 + 34 << 2 | 0 << 22,
  319. CLCTL_ADD_REGISTRY_CHECKPOINT = 0x2 << 0 | 0 + 40 << 2 | 0x1 << 22,
  320. CLCTL_DELETE_REGISTRY_CHECKPOINT = 0x2 << 0 | 0 + 41 << 2 | 0x1 << 22,
  321. CLCTL_GET_REGISTRY_CHECKPOINTS = 0x1 << 0 | 0 + 42 << 2 | 0 << 22,
  322. CLCTL_GET_LOADBAL_PROCESS_LIST = 0x1 << 0 | 0 + 50 << 2 | 0 << 22,
  323. CLCTL_STORAGE_GET_DISK_INFO = 0x1 << 0 | 0 + 100 << 2 | 0 << 22,
  324. CLCTL_STORAGE_GET_AVAILABLE_DISKS = 0x1 << 0 | 0 + 101 << 2 | 0 << 22,
  325. CLCTL_STORAGE_IS_PATH_VALID = 0x1 << 0 | 0 + 102 << 2 | 0 << 22,
  326. CLCTL_STORAGE_GET_ALL_AVAILABLE_DISKS = 0x1 << 0 | 0 + 103 << 2 | 0 << 22 | 1 << 23,
  327. CLCTL_DELETE = 0x2 << 0 | 1 << 20 | 0 + 1 << 2 | 0x1 << 22,
  328. CLCTL_INSTALL_NODE = 0x2 << 0 | 1 << 20 | 0 + 2 << 2 | 0x1 << 22,
  329. CLCTL_EVICT_NODE = 0x2 << 0 | 1 << 20 | 0 + 3 << 2 | 0x1 << 22,
  330. CLCTL_ADD_DEPENDENCY = 0x2 << 0 | 1 << 20 | 0 + 4 << 2 | 0x1 << 22,
  331. CLCTL_REMOVE_DEPENDENCY = 0x2 << 0 | 1 << 20 | 0 + 5 << 2 | 0x1 << 22,
  332. CLCTL_ADD_OWNER = 0x2 << 0 | 1 << 20 | 0 + 6 << 2 | 0x1 << 22,
  333. CLCTL_REMOVE_OWNER = 0x2 << 0 | 1 << 20 | 0 + 7 << 2 | 0x1 << 22,
  334. CLCTL_SET_NAME = 0x2 << 0 | 1 << 20 | 0 + 9 << 2 | 0x1 << 22,
  335. CLCTL_CLUSTER_NAME_CHANGED = 0x2 << 0 | 1 << 20 | 0 + 10 << 2 | 0x1 << 22
  336. } CLCTL_CODES;
  337. /* size is 2 */
  338. typedef
  339. enum CLUSCTL_RESOURCE_CODES
  340. { CLUSCTL_RESOURCE_UNKNOWN = CLUS_OBJECT_RESOURCE << 24 | CLCTL_UNKNOWN,
  341. CLUSCTL_RESOURCE_GET_CHARACTERISTICS = CLUS_OBJECT_RESOURCE << 24 | CLCTL_GET_CHARACTERISTICS,
  342. CLUSCTL_RESOURCE_GET_FLAGS = CLUS_OBJECT_RESOURCE << 24 | CLCTL_GET_FLAGS,
  343. CLUSCTL_RESOURCE_GET_CLASS_INFO = CLUS_OBJECT_RESOURCE << 24 | CLCTL_GET_CLASS_INFO,
  344. CLUSCTL_RESOURCE_GET_REQUIRED_DEPENDENCIES = CLUS_OBJECT_RESOURCE << 24 | CLCTL_GET_REQUIRED_DEPENDENCIES,
  345. CLUSCTL_RESOURCE_GET_NAME = CLUS_OBJECT_RESOURCE << 24 | CLCTL_GET_NAME,
  346. CLUSCTL_RESOURCE_GET_RESOURCE_TYPE = CLUS_OBJECT_RESOURCE << 24 | CLCTL_GET_RESOURCE_TYPE,
  347. CLUSCTL_RESOURCE_ENUM_COMMON_PROPERTIES = CLUS_OBJECT_RESOURCE << 24 | CLCTL_ENUM_COMMON_PROPERTIES,
  348. CLUSCTL_RESOURCE_GET_RO_COMMON_PROPERTIES = CLUS_OBJECT_RESOURCE << 24 | CLCTL_GET_RO_COMMON_PROPERTIES,
  349. CLUSCTL_RESOURCE_GET_COMMON_PROPERTIES = CLUS_OBJECT_RESOURCE << 24 | CLCTL_GET_COMMON_PROPERTIES,
  350. CLUSCTL_RESOURCE_SET_COMMON_PROPERTIES = CLUS_OBJECT_RESOURCE << 24 | CLCTL_SET_COMMON_PROPERTIES,
  351. CLUSCTL_RESOURCE_VALIDATE_COMMON_PROPERTIES = CLUS_OBJECT_RESOURCE << 24 | CLCTL_VALIDATE_COMMON_PROPERTIES,
  352. CLUSCTL_RESOURCE_ENUM_PRIVATE_PROPERTIES = CLUS_OBJECT_RESOURCE << 24 | CLCTL_ENUM_PRIVATE_PROPERTIES,
  353. CLUSCTL_RESOURCE_GET_RO_PRIVATE_PROPERTIES = CLUS_OBJECT_RESOURCE << 24 | CLCTL_GET_RO_PRIVATE_PROPERTIES,
  354. CLUSCTL_RESOURCE_GET_PRIVATE_PROPERTIES = CLUS_OBJECT_RESOURCE << 24 | CLCTL_GET_PRIVATE_PROPERTIES,
  355. CLUSCTL_RESOURCE_SET_PRIVATE_PROPERTIES = CLUS_OBJECT_RESOURCE << 24 | CLCTL_SET_PRIVATE_PROPERTIES,
  356. CLUSCTL_RESOURCE_VALIDATE_PRIVATE_PROPERTIES = CLUS_OBJECT_RESOURCE << 24 | CLCTL_VALIDATE_PRIVATE_PROPERTIES,
  357. CLUSCTL_RESOURCE_ADD_REGISTRY_CHECKPOINT = CLUS_OBJECT_RESOURCE << 24 | CLCTL_ADD_REGISTRY_CHECKPOINT,
  358. CLUSCTL_RESOURCE_DELETE_REGISTRY_CHECKPOINT = CLUS_OBJECT_RESOURCE << 24 | CLCTL_DELETE_REGISTRY_CHECKPOINT,
  359. CLUSCTL_RESOURCE_GET_REGISTRY_CHECKPOINTS = CLUS_OBJECT_RESOURCE << 24 | CLCTL_GET_REGISTRY_CHECKPOINTS,
  360. CLUSCTL_RESOURCE_GET_LOADBAL_PROCESS_LIST = CLUS_OBJECT_RESOURCE << 24 | CLCTL_GET_LOADBAL_PROCESS_LIST,
  361. CLUSCTL_RESOURCE_STORAGE_GET_DISK_INFO = CLUS_OBJECT_RESOURCE << 24 | CLCTL_STORAGE_GET_DISK_INFO,
  362. CLUSCTL_RESOURCE_STORAGE_IS_PATH_VALID = CLUS_OBJECT_RESOURCE << 24 | CLCTL_STORAGE_IS_PATH_VALID,
  363. CLUSCTL_RESOURCE_DELETE = CLUS_OBJECT_RESOURCE << 24 | CLCTL_DELETE,
  364. CLUSCTL_RESOURCE_INSTALL_NODE = CLUS_OBJECT_RESOURCE << 24 | CLCTL_INSTALL_NODE,
  365. CLUSCTL_RESOURCE_EVICT_NODE = CLUS_OBJECT_RESOURCE << 24 | CLCTL_EVICT_NODE,
  366. CLUSCTL_RESOURCE_ADD_DEPENDENCY = CLUS_OBJECT_RESOURCE << 24 | CLCTL_ADD_DEPENDENCY,
  367. CLUSCTL_RESOURCE_REMOVE_DEPENDENCY = CLUS_OBJECT_RESOURCE << 24 | CLCTL_REMOVE_DEPENDENCY,
  368. CLUSCTL_RESOURCE_ADD_OWNER = CLUS_OBJECT_RESOURCE << 24 | CLCTL_ADD_OWNER,
  369. CLUSCTL_RESOURCE_REMOVE_OWNER = CLUS_OBJECT_RESOURCE << 24 | CLCTL_REMOVE_OWNER,
  370. CLUSCTL_RESOURCE_SET_NAME = CLUS_OBJECT_RESOURCE << 24 | CLCTL_SET_NAME,
  371. CLUSCTL_RESOURCE_CLUSTER_NAME_CHANGED = CLUS_OBJECT_RESOURCE << 24 | CLCTL_CLUSTER_NAME_CHANGED
  372. } CLUSCTL_RESOURCE_CODES;
  373. /* size is 2 */
  374. typedef
  375. enum CLUSCTL_RESOURCE_TYPE_CODES
  376. { CLUSCTL_RESOURCE_TYPE_UNKNOWN = CLUS_OBJECT_RESOURCE_TYPE << 24 | CLCTL_UNKNOWN,
  377. CLUSCTL_RESOURCE_TYPE_GET_CHARACTERISTICS = CLUS_OBJECT_RESOURCE_TYPE << 24 | CLCTL_GET_CHARACTERISTICS,
  378. CLUSCTL_RESOURCE_TYPE_GET_FLAGS = CLUS_OBJECT_RESOURCE_TYPE << 24 | CLCTL_GET_FLAGS,
  379. CLUSCTL_RESOURCE_TYPE_GET_CLASS_INFO = CLUS_OBJECT_RESOURCE_TYPE << 24 | CLCTL_GET_CLASS_INFO,
  380. CLUSCTL_RESOURCE_TYPE_GET_REQUIRED_DEPENDENCIES = CLUS_OBJECT_RESOURCE_TYPE << 24 | CLCTL_GET_REQUIRED_DEPENDENCIES,
  381. CLUSCTL_RESOURCE_TYPE_ENUM_COMMON_PROPERTIES = CLUS_OBJECT_RESOURCE_TYPE << 24 | CLCTL_ENUM_COMMON_PROPERTIES,
  382. CLUSCTL_RESOURCE_TYPE_GET_RO_COMMON_PROPERTIES = CLUS_OBJECT_RESOURCE_TYPE << 24 | CLCTL_GET_RO_COMMON_PROPERTIES,
  383. CLUSCTL_RESOURCE_TYPE_GET_COMMON_PROPERTIES = CLUS_OBJECT_RESOURCE_TYPE << 24 | CLCTL_GET_COMMON_PROPERTIES,
  384. CLUSCTL_RESOURCE_TYPE_VALIDATE_COMMON_PROPERTIES = CLUS_OBJECT_RESOURCE_TYPE << 24 | CLCTL_VALIDATE_COMMON_PROPERTIES,
  385. CLUSCTL_RESOURCE_TYPE_SET_COMMON_PROPERTIES = CLUS_OBJECT_RESOURCE_TYPE << 24 | CLCTL_SET_COMMON_PROPERTIES,
  386. CLUSCTL_RESOURCE_TYPE_ENUM_PRIVATE_PROPERTIES = CLUS_OBJECT_RESOURCE_TYPE << 24 | CLCTL_ENUM_PRIVATE_PROPERTIES,
  387. CLUSCTL_RESOURCE_TYPE_GET_RO_PRIVATE_PROPERTIES = CLUS_OBJECT_RESOURCE_TYPE << 24 | CLCTL_GET_RO_PRIVATE_PROPERTIES,
  388. CLUSCTL_RESOURCE_TYPE_GET_PRIVATE_PROPERTIES = CLUS_OBJECT_RESOURCE_TYPE << 24 | CLCTL_GET_PRIVATE_PROPERTIES,
  389. CLUSCTL_RESOURCE_TYPE_SET_PRIVATE_PROPERTIES = CLUS_OBJECT_RESOURCE_TYPE << 24 | CLCTL_SET_PRIVATE_PROPERTIES,
  390. CLUSCTL_RESOURCE_TYPE_VALIDATE_PRIVATE_PROPERTIES = CLUS_OBJECT_RESOURCE_TYPE << 24 | CLCTL_VALIDATE_PRIVATE_PROPERTIES,
  391. CLUSCTL_RESOURCE_TYPE_GET_REGISTRY_CHECKPOINTS = CLUS_OBJECT_RESOURCE_TYPE << 24 | CLCTL_GET_REGISTRY_CHECKPOINTS,
  392. CLUSCTL_RESOURCE_TYPE_STORAGE_GET_AVAILABLE_DISKS = CLUS_OBJECT_RESOURCE_TYPE << 24 | CLCTL_STORAGE_GET_AVAILABLE_DISKS,
  393. CLUSCTL_RESOURCE_TYPE_INSTALL_NODE = CLUS_OBJECT_RESOURCE_TYPE << 24 | CLCTL_INSTALL_NODE,
  394. CLUSCTL_RESOURCE_TYPE_EVICT_NODE = CLUS_OBJECT_RESOURCE_TYPE << 24 | CLCTL_EVICT_NODE
  395. } CLUSCTL_RESOURCE_TYPE_CODES;
  396. /* size is 2 */
  397. typedef
  398. enum CLUSCTL_GROUP_CODES
  399. { CLUSCTL_GROUP_UNKNOWN = CLUS_OBJECT_GROUP << 24 | CLCTL_UNKNOWN,
  400. CLUSCTL_GROUP_GET_CHARACTERISTICS = CLUS_OBJECT_GROUP << 24 | CLCTL_GET_CHARACTERISTICS,
  401. CLUSCTL_GROUP_GET_FLAGS = CLUS_OBJECT_GROUP << 24 | CLCTL_GET_FLAGS,
  402. CLUSCTL_GROUP_GET_NAME = CLUS_OBJECT_GROUP << 24 | CLCTL_GET_NAME,
  403. CLUSCTL_GROUP_ENUM_COMMON_PROPERTIES = CLUS_OBJECT_GROUP << 24 | CLCTL_ENUM_COMMON_PROPERTIES,
  404. CLUSCTL_GROUP_GET_RO_COMMON_PROPERTIES = CLUS_OBJECT_GROUP << 24 | CLCTL_GET_RO_COMMON_PROPERTIES,
  405. CLUSCTL_GROUP_GET_COMMON_PROPERTIES = CLUS_OBJECT_GROUP << 24 | CLCTL_GET_COMMON_PROPERTIES,
  406. CLUSCTL_GROUP_SET_COMMON_PROPERTIES = CLUS_OBJECT_GROUP << 24 | CLCTL_SET_COMMON_PROPERTIES,
  407. CLUSCTL_GROUP_VALIDATE_COMMON_PROPERTIES = CLUS_OBJECT_GROUP << 24 | CLCTL_VALIDATE_COMMON_PROPERTIES,
  408. CLUSCTL_GROUP_ENUM_PRIVATE_PROPERTIES = CLUS_OBJECT_GROUP << 24 | CLCTL_ENUM_PRIVATE_PROPERTIES,
  409. CLUSCTL_GROUP_GET_RO_PRIVATE_PROPERTIES = CLUS_OBJECT_GROUP << 24 | CLCTL_GET_RO_PRIVATE_PROPERTIES,
  410. CLUSCTL_GROUP_GET_PRIVATE_PROPERTIES = CLUS_OBJECT_GROUP << 24 | CLCTL_GET_PRIVATE_PROPERTIES,
  411. CLUSCTL_GROUP_SET_PRIVATE_PROPERTIES = CLUS_OBJECT_GROUP << 24 | CLCTL_SET_PRIVATE_PROPERTIES,
  412. CLUSCTL_GROUP_VALIDATE_PRIVATE_PROPERTIES = CLUS_OBJECT_GROUP << 24 | CLCTL_VALIDATE_PRIVATE_PROPERTIES
  413. } CLUSCTL_GROUP_CODES;
  414. /* size is 2 */
  415. typedef
  416. enum CLUSCTL_NODE_CODES
  417. { CLUSCTL_NODE_UNKNOWN = CLUS_OBJECT_NODE << 24 | CLCTL_UNKNOWN,
  418. CLUSCTL_NODE_GET_CHARACTERISTICS = CLUS_OBJECT_NODE << 24 | CLCTL_GET_CHARACTERISTICS,
  419. CLUSCTL_NODE_GET_FLAGS = CLUS_OBJECT_NODE << 24 | CLCTL_GET_FLAGS,
  420. CLUSCTL_NODE_GET_NAME = CLUS_OBJECT_NODE << 24 | CLCTL_GET_NAME,
  421. CLUSCTL_NODE_ENUM_COMMON_PROPERTIES = CLUS_OBJECT_NODE << 24 | CLCTL_ENUM_COMMON_PROPERTIES,
  422. CLUSCTL_NODE_GET_RO_COMMON_PROPERTIES = CLUS_OBJECT_NODE << 24 | CLCTL_GET_RO_COMMON_PROPERTIES,
  423. CLUSCTL_NODE_GET_COMMON_PROPERTIES = CLUS_OBJECT_NODE << 24 | CLCTL_GET_COMMON_PROPERTIES,
  424. CLUSCTL_NODE_SET_COMMON_PROPERTIES = CLUS_OBJECT_NODE << 24 | CLCTL_SET_COMMON_PROPERTIES,
  425. CLUSCTL_NODE_VALIDATE_COMMON_PROPERTIES = CLUS_OBJECT_NODE << 24 | CLCTL_VALIDATE_COMMON_PROPERTIES,
  426. CLUSCTL_NODE_ENUM_PRIVATE_PROPERTIES = CLUS_OBJECT_NODE << 24 | CLCTL_ENUM_PRIVATE_PROPERTIES,
  427. CLUSCTL_NODE_GET_RO_PRIVATE_PROPERTIES = CLUS_OBJECT_NODE << 24 | CLCTL_GET_RO_PRIVATE_PROPERTIES,
  428. CLUSCTL_NODE_GET_PRIVATE_PROPERTIES = CLUS_OBJECT_NODE << 24 | CLCTL_GET_PRIVATE_PROPERTIES,
  429. CLUSCTL_NODE_SET_PRIVATE_PROPERTIES = CLUS_OBJECT_NODE << 24 | CLCTL_SET_PRIVATE_PROPERTIES,
  430. CLUSCTL_NODE_VALIDATE_PRIVATE_PROPERTIES = CLUS_OBJECT_NODE << 24 | CLCTL_VALIDATE_PRIVATE_PROPERTIES
  431. } CLUSCTL_NODE_CODES;
  432. /* size is 2 */
  433. typedef
  434. enum CLUSCTL_NETWORK_CODES
  435. { CLUSCTL_NETWORK_UNKNOWN = CLUS_OBJECT_NETWORK << 24 | CLCTL_UNKNOWN,
  436. CLUSCTL_NETWORK_GET_CHARACTERISTICS = CLUS_OBJECT_NETWORK << 24 | CLCTL_GET_CHARACTERISTICS,
  437. CLUSCTL_NETWORK_GET_FLAGS = CLUS_OBJECT_NETWORK << 24 | CLCTL_GET_FLAGS,
  438. CLUSCTL_NETWORK_GET_NAME = CLUS_OBJECT_NETWORK << 24 | CLCTL_GET_NAME,
  439. CLUSCTL_NETWORK_ENUM_COMMON_PROPERTIES = CLUS_OBJECT_NETWORK << 24 | CLCTL_ENUM_COMMON_PROPERTIES,
  440. CLUSCTL_NETWORK_GET_RO_COMMON_PROPERTIES = CLUS_OBJECT_NETWORK << 24 | CLCTL_GET_RO_COMMON_PROPERTIES,
  441. CLUSCTL_NETWORK_GET_COMMON_PROPERTIES = CLUS_OBJECT_NETWORK << 24 | CLCTL_GET_COMMON_PROPERTIES,
  442. CLUSCTL_NETWORK_SET_COMMON_PROPERTIES = CLUS_OBJECT_NETWORK << 24 | CLCTL_SET_COMMON_PROPERTIES,
  443. CLUSCTL_NETWORK_VALIDATE_COMMON_PROPERTIES = CLUS_OBJECT_NETWORK << 24 | CLCTL_VALIDATE_COMMON_PROPERTIES,
  444. CLUSCTL_NETWORK_ENUM_PRIVATE_PROPERTIES = CLUS_OBJECT_NETWORK << 24 | CLCTL_ENUM_PRIVATE_PROPERTIES,
  445. CLUSCTL_NETWORK_GET_RO_PRIVATE_PROPERTIES = CLUS_OBJECT_NETWORK << 24 | CLCTL_GET_RO_PRIVATE_PROPERTIES,
  446. CLUSCTL_NETWORK_GET_PRIVATE_PROPERTIES = CLUS_OBJECT_NETWORK << 24 | CLCTL_GET_PRIVATE_PROPERTIES,
  447. CLUSCTL_NETWORK_SET_PRIVATE_PROPERTIES = CLUS_OBJECT_NETWORK << 24 | CLCTL_SET_PRIVATE_PROPERTIES,
  448. CLUSCTL_NETWORK_VALIDATE_PRIVATE_PROPERTIES = CLUS_OBJECT_NETWORK << 24 | CLCTL_VALIDATE_PRIVATE_PROPERTIES
  449. } CLUSCTL_NETWORK_CODES;
  450. /* size is 2 */
  451. typedef
  452. enum CLUSCTL_NETINTERFACE_CODES
  453. { CLUSCTL_NETINTERFACE_UNKNOWN = CLUS_OBJECT_NETINTERFACE << 24 | CLCTL_UNKNOWN,
  454. CLUSCTL_NETINTERFACE_GET_CHARACTERISTICS = CLUS_OBJECT_NETINTERFACE << 24 | CLCTL_GET_CHARACTERISTICS,
  455. CLUSCTL_NETINTERFACE_GET_FLAGS = CLUS_OBJECT_NETINTERFACE << 24 | CLCTL_GET_FLAGS,
  456. CLUSCTL_NETINTERFACE_GET_NAME = CLUS_OBJECT_NETINTERFACE << 24 | CLCTL_GET_NAME,
  457. CLUSCTL_NETINTERFACE_GET_NODE = CLUS_OBJECT_NETINTERFACE << 24 | CLCTL_GET_NODE,
  458. CLUSCTL_NETINTERFACE_GET_NETWORK = CLUS_OBJECT_NETINTERFACE << 24 | CLCTL_GET_NETWORK,
  459. CLUSCTL_NETINTERFACE_ENUM_COMMON_PROPERTIES = CLUS_OBJECT_NETINTERFACE << 24 | CLCTL_ENUM_COMMON_PROPERTIES,
  460. CLUSCTL_NETINTERFACE_GET_RO_COMMON_PROPERTIES = CLUS_OBJECT_NETINTERFACE << 24 | CLCTL_GET_RO_COMMON_PROPERTIES,
  461. CLUSCTL_NETINTERFACE_GET_COMMON_PROPERTIES = CLUS_OBJECT_NETINTERFACE << 24 | CLCTL_GET_COMMON_PROPERTIES,
  462. CLUSCTL_NETINTERFACE_SET_COMMON_PROPERTIES = CLUS_OBJECT_NETINTERFACE << 24 | CLCTL_SET_COMMON_PROPERTIES,
  463. CLUSCTL_NETINTERFACE_VALIDATE_COMMON_PROPERTIES = CLUS_OBJECT_NETINTERFACE << 24 | CLCTL_VALIDATE_COMMON_PROPERTIES,
  464. CLUSCTL_NETINTERFACE_ENUM_PRIVATE_PROPERTIES = CLUS_OBJECT_NETINTERFACE << 24 | CLCTL_ENUM_PRIVATE_PROPERTIES,
  465. CLUSCTL_NETINTERFACE_GET_RO_PRIVATE_PROPERTIES = CLUS_OBJECT_NETINTERFACE << 24 | CLCTL_GET_RO_PRIVATE_PROPERTIES,
  466. CLUSCTL_NETINTERFACE_GET_PRIVATE_PROPERTIES = CLUS_OBJECT_NETINTERFACE << 24 | CLCTL_GET_PRIVATE_PROPERTIES,
  467. CLUSCTL_NETINTERFACE_SET_PRIVATE_PROPERTIES = CLUS_OBJECT_NETINTERFACE << 24 | CLCTL_SET_PRIVATE_PROPERTIES,
  468. CLUSCTL_NETINTERFACE_VALIDATE_PRIVATE_PROPERTIES = CLUS_OBJECT_NETINTERFACE << 24 | CLCTL_VALIDATE_PRIVATE_PROPERTIES
  469. } CLUSCTL_NETINTERFACE_CODES;
  470. /* size is 2 */
  471. typedef
  472. enum CLUSTER_RESOURCE_CLASS
  473. { CLUS_RESCLASS_UNKNOWN = 0,
  474. CLUS_RESCLASS_STORAGE = CLUS_RESCLASS_UNKNOWN + 1,
  475. CLUS_RESCLASS_USER = 32768
  476. } CLUSTER_RESOURCE_CLASS;
  477. /* size is 2 */
  478. typedef
  479. enum CLUS_RESSUBCLASS
  480. { CLUS_RESSUBCLASS_SHARED = 0x80000000
  481. } CLUS_RESSUBCLASS;
  482. /* size is 2 */
  483. typedef
  484. enum CLUS_CHARACTERISTICS
  485. { CLUS_CHAR_UNKNOWN = 0,
  486. CLUS_CHAR_QUORUM = 0x1,
  487. CLUS_CHAR_DELETE_REQUIRES_ALL_NODES = 0x2
  488. } CLUS_CHARACTERISTICS;
  489. /* size is 2 */
  490. typedef
  491. enum CLUS_FLAGS
  492. { CLUS_FLAG_CORE = 0x1
  493. } CLUS_FLAGS;
  494. /* size is 2 */
  495. typedef
  496. enum CLUSPROP_PIFLAGS
  497. { CLUSPROP_PIFLAG_STICKY = 0x1,
  498. CLUSPROP_PIFLAG_REMOVABLE = 0x2,
  499. CLUSPROP_PIFLAG_USABLE = 0x4
  500. } CLUSPROP_PIFLAGS;
  501. /* size is 2 */
  502. typedef
  503. enum CLUSTER_RESOURCE_ENUM
  504. { CLUSTER_RESOURCE_ENUM_DEPENDS = 0x1,
  505. CLUSTER_RESOURCE_ENUM_PROVIDES = 0x2,
  506. CLUSTER_RESOURCE_ENUM_NODES = 0x4,
  507. CLUSTER_RESOURCE_ENUM_ALL = CLUSTER_RESOURCE_ENUM_DEPENDS | CLUSTER_RESOURCE_ENUM_PROVIDES | CLUSTER_RESOURCE_ENUM_NODES
  508. } CLUSTER_RESOURCE_ENUM;
  509. /* size is 2 */
  510. typedef
  511. enum CLUSTER_NETWORK_ENUM
  512. { CLUSTER_NETWORK_ENUM_NETINTERFACES = 0x1,
  513. CLUSTER_NETWORK_ENUM_ALL = CLUSTER_NETWORK_ENUM_NETINTERFACES
  514. } CLUSTER_NETWORK_ENUM;
  515. /* size is 2 */
  516. typedef
  517. enum CLUSTER_NETWORK_STATE
  518. { ClusterNetworkStateUnknown = -1,
  519. ClusterNetworkUnavailable = ClusterNetworkStateUnknown + 1,
  520. ClusterNetworkDown = ClusterNetworkUnavailable + 1,
  521. ClusterNetworkPartitioned = ClusterNetworkDown + 1,
  522. ClusterNetworkUp = ClusterNetworkPartitioned + 1
  523. } CLUSTER_NETWORK_STATE;
  524. /* size is 2 */
  525. typedef
  526. enum CLUSTER_NETWORK_ROLE
  527. { ClusterNetworkRoleNone = 0,
  528. ClusterNetworkRoleInternalUse = 0x1,
  529. ClusterNetworkRoleClientAccess = 0x2,
  530. ClusterNetworkRoleInternalAndClient = 0x3
  531. } CLUSTER_NETWORK_ROLE;
  532. /* size is 2 */
  533. typedef
  534. enum CLUSTER_NETINTERFACE_STATE
  535. { ClusterNetInterfaceStateUnknown = -1,
  536. ClusterNetInterfaceUnavailable = ClusterNetInterfaceStateUnknown + 1,
  537. ClusterNetInterfaceFailed = ClusterNetInterfaceUnavailable + 1,
  538. ClusterNetInterfaceUnreachable = ClusterNetInterfaceFailed + 1,
  539. ClusterNetInterfaceUp = ClusterNetInterfaceUnreachable + 1
  540. } CLUSTER_NETINTERFACE_STATE;
  541. #define _CLUSTER_API_TYPES_
  542. #endif // _CLUSTER_API_TYPES_
  543. /* size is 0 */
  544. /* size is 0 */
  545. /* size is 0 */
  546. /* size is 0 */
  547. /* size is 0 */
  548. /* size is 0 */
  549. /* size is 0 */
  550. /* size is 0 */
  551. /* size is 0 */
  552. /* size is 0 */
  553. /* size is 0 */
  554. /* size is 0 */
  555. /* size is 0 */
  556. /* size is 0 */
  557. /* size is 0 */
  558. extern RPC_IF_HANDLE __MIDL__intf_0000_v0_0_c_ifspec;
  559. extern RPC_IF_HANDLE __MIDL__intf_0000_v0_0_s_ifspec;
  560. #ifndef __IClusterApplication_INTERFACE_DEFINED__
  561. #define __IClusterApplication_INTERFACE_DEFINED__
  562. /****************************************
  563. * Generated header for interface: IClusterApplication
  564. * at Fri Aug 08 11:36:24 1997
  565. * using MIDL 3.00.44
  566. ****************************************/
  567. /* [unique][hidden][helpstring][dual][uuid][object] */
  568. EXTERN_C const IID IID_IClusterApplication;
  569. #if defined(__cplusplus) && !defined(CINTERFACE)
  570. interface IClusterApplication : public IDispatch
  571. {
  572. public:
  573. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Domains(
  574. /* [retval][out] */ Domains __RPC_FAR *__RPC_FAR *ppDomains) = 0;
  575. virtual HRESULT STDMETHODCALLTYPE OpenCluster(
  576. /* [in] */ BSTR bstrClusterName,
  577. /* [retval][out] */ ICluster __RPC_FAR *__RPC_FAR *pCluster) = 0;
  578. };
  579. #else /* C style interface */
  580. typedef struct IClusterApplicationVtbl
  581. {
  582. BEGIN_INTERFACE
  583. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  584. IClusterApplication __RPC_FAR * This,
  585. /* [in] */ REFIID riid,
  586. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  587. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  588. IClusterApplication __RPC_FAR * This);
  589. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  590. IClusterApplication __RPC_FAR * This);
  591. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  592. IClusterApplication __RPC_FAR * This,
  593. /* [out] */ UINT __RPC_FAR *pctinfo);
  594. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  595. IClusterApplication __RPC_FAR * This,
  596. /* [in] */ UINT iTInfo,
  597. /* [in] */ LCID lcid,
  598. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  599. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  600. IClusterApplication __RPC_FAR * This,
  601. /* [in] */ REFIID riid,
  602. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  603. /* [in] */ UINT cNames,
  604. /* [in] */ LCID lcid,
  605. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  606. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  607. IClusterApplication __RPC_FAR * This,
  608. /* [in] */ DISPID dispIdMember,
  609. /* [in] */ REFIID riid,
  610. /* [in] */ LCID lcid,
  611. /* [in] */ WORD wFlags,
  612. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  613. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  614. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  615. /* [out] */ UINT __RPC_FAR *puArgErr);
  616. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Domains )(
  617. IClusterApplication __RPC_FAR * This,
  618. /* [retval][out] */ Domains __RPC_FAR *__RPC_FAR *ppDomains);
  619. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OpenCluster )(
  620. IClusterApplication __RPC_FAR * This,
  621. /* [in] */ BSTR bstrClusterName,
  622. /* [retval][out] */ ICluster __RPC_FAR *__RPC_FAR *pCluster);
  623. END_INTERFACE
  624. } IClusterApplicationVtbl;
  625. interface IClusterApplication
  626. {
  627. CONST_VTBL struct IClusterApplicationVtbl __RPC_FAR *lpVtbl;
  628. };
  629. #ifdef COBJMACROS
  630. #define IClusterApplication_QueryInterface(This,riid,ppvObject) \
  631. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  632. #define IClusterApplication_AddRef(This) \
  633. (This)->lpVtbl -> AddRef(This)
  634. #define IClusterApplication_Release(This) \
  635. (This)->lpVtbl -> Release(This)
  636. #define IClusterApplication_GetTypeInfoCount(This,pctinfo) \
  637. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  638. #define IClusterApplication_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  639. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  640. #define IClusterApplication_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  641. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  642. #define IClusterApplication_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  643. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  644. #define IClusterApplication_get_Domains(This,ppDomains) \
  645. (This)->lpVtbl -> get_Domains(This,ppDomains)
  646. #define IClusterApplication_OpenCluster(This,bstrClusterName,pCluster) \
  647. (This)->lpVtbl -> OpenCluster(This,bstrClusterName,pCluster)
  648. #endif /* COBJMACROS */
  649. #endif /* C style interface */
  650. /* [propget] */ HRESULT STDMETHODCALLTYPE IClusterApplication_get_Domains_Proxy(
  651. IClusterApplication __RPC_FAR * This,
  652. /* [retval][out] */ Domains __RPC_FAR *__RPC_FAR *ppDomains);
  653. void __RPC_STUB IClusterApplication_get_Domains_Stub(
  654. IRpcStubBuffer *This,
  655. IRpcChannelBuffer *_pRpcChannelBuffer,
  656. PRPC_MESSAGE _pRpcMessage,
  657. DWORD *_pdwStubPhase);
  658. HRESULT STDMETHODCALLTYPE IClusterApplication_OpenCluster_Proxy(
  659. IClusterApplication __RPC_FAR * This,
  660. /* [in] */ BSTR bstrClusterName,
  661. /* [retval][out] */ ICluster __RPC_FAR *__RPC_FAR *pCluster);
  662. void __RPC_STUB IClusterApplication_OpenCluster_Stub(
  663. IRpcStubBuffer *This,
  664. IRpcChannelBuffer *_pRpcChannelBuffer,
  665. PRPC_MESSAGE _pRpcMessage,
  666. DWORD *_pdwStubPhase);
  667. #endif /* __IClusterApplication_INTERFACE_DEFINED__ */
  668. #ifndef __Domains_INTERFACE_DEFINED__
  669. #define __Domains_INTERFACE_DEFINED__
  670. /****************************************
  671. * Generated header for interface: Domains
  672. * at Fri Aug 08 11:36:24 1997
  673. * using MIDL 3.00.44
  674. ****************************************/
  675. /* [unique][helpstring][dual][uuid][object] */
  676. EXTERN_C const IID IID_Domains;
  677. #if defined(__cplusplus) && !defined(CINTERFACE)
  678. interface Domains : public IDispatch
  679. {
  680. public:
  681. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Count(
  682. /* [retval][out] */ long __RPC_FAR *pnCount) = 0;
  683. virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_Item(
  684. /* [in] */ VARIANT varIndex,
  685. /* [retval][out] */ IClusterDomain __RPC_FAR *__RPC_FAR *ppClusterDomain) = 0;
  686. virtual HRESULT STDMETHODCALLTYPE AddItem(
  687. /* [in] */ IClusterDomain __RPC_FAR *pClusterDomain) = 0;
  688. };
  689. #else /* C style interface */
  690. typedef struct DomainsVtbl
  691. {
  692. BEGIN_INTERFACE
  693. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  694. Domains __RPC_FAR * This,
  695. /* [in] */ REFIID riid,
  696. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  697. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  698. Domains __RPC_FAR * This);
  699. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  700. Domains __RPC_FAR * This);
  701. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  702. Domains __RPC_FAR * This,
  703. /* [out] */ UINT __RPC_FAR *pctinfo);
  704. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  705. Domains __RPC_FAR * This,
  706. /* [in] */ UINT iTInfo,
  707. /* [in] */ LCID lcid,
  708. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  709. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  710. Domains __RPC_FAR * This,
  711. /* [in] */ REFIID riid,
  712. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  713. /* [in] */ UINT cNames,
  714. /* [in] */ LCID lcid,
  715. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  716. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  717. Domains __RPC_FAR * This,
  718. /* [in] */ DISPID dispIdMember,
  719. /* [in] */ REFIID riid,
  720. /* [in] */ LCID lcid,
  721. /* [in] */ WORD wFlags,
  722. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  723. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  724. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  725. /* [out] */ UINT __RPC_FAR *puArgErr);
  726. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Count )(
  727. Domains __RPC_FAR * This,
  728. /* [retval][out] */ long __RPC_FAR *pnCount);
  729. /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Item )(
  730. Domains __RPC_FAR * This,
  731. /* [in] */ VARIANT varIndex,
  732. /* [retval][out] */ IClusterDomain __RPC_FAR *__RPC_FAR *ppClusterDomain);
  733. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AddItem )(
  734. Domains __RPC_FAR * This,
  735. /* [in] */ IClusterDomain __RPC_FAR *pClusterDomain);
  736. END_INTERFACE
  737. } DomainsVtbl;
  738. interface Domains
  739. {
  740. CONST_VTBL struct DomainsVtbl __RPC_FAR *lpVtbl;
  741. };
  742. #ifdef COBJMACROS
  743. #define Domains_QueryInterface(This,riid,ppvObject) \
  744. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  745. #define Domains_AddRef(This) \
  746. (This)->lpVtbl -> AddRef(This)
  747. #define Domains_Release(This) \
  748. (This)->lpVtbl -> Release(This)
  749. #define Domains_GetTypeInfoCount(This,pctinfo) \
  750. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  751. #define Domains_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  752. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  753. #define Domains_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  754. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  755. #define Domains_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  756. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  757. #define Domains_get_Count(This,pnCount) \
  758. (This)->lpVtbl -> get_Count(This,pnCount)
  759. #define Domains_get_Item(This,varIndex,ppClusterDomain) \
  760. (This)->lpVtbl -> get_Item(This,varIndex,ppClusterDomain)
  761. #define Domains_AddItem(This,pClusterDomain) \
  762. (This)->lpVtbl -> AddItem(This,pClusterDomain)
  763. #endif /* COBJMACROS */
  764. #endif /* C style interface */
  765. /* [propget] */ HRESULT STDMETHODCALLTYPE Domains_get_Count_Proxy(
  766. Domains __RPC_FAR * This,
  767. /* [retval][out] */ long __RPC_FAR *pnCount);
  768. void __RPC_STUB Domains_get_Count_Stub(
  769. IRpcStubBuffer *This,
  770. IRpcChannelBuffer *_pRpcChannelBuffer,
  771. PRPC_MESSAGE _pRpcMessage,
  772. DWORD *_pdwStubPhase);
  773. /* [id][propget] */ HRESULT STDMETHODCALLTYPE Domains_get_Item_Proxy(
  774. Domains __RPC_FAR * This,
  775. /* [in] */ VARIANT varIndex,
  776. /* [retval][out] */ IClusterDomain __RPC_FAR *__RPC_FAR *ppClusterDomain);
  777. void __RPC_STUB Domains_get_Item_Stub(
  778. IRpcStubBuffer *This,
  779. IRpcChannelBuffer *_pRpcChannelBuffer,
  780. PRPC_MESSAGE _pRpcMessage,
  781. DWORD *_pdwStubPhase);
  782. HRESULT STDMETHODCALLTYPE Domains_AddItem_Proxy(
  783. Domains __RPC_FAR * This,
  784. /* [in] */ IClusterDomain __RPC_FAR *pClusterDomain);
  785. void __RPC_STUB Domains_AddItem_Stub(
  786. IRpcStubBuffer *This,
  787. IRpcChannelBuffer *_pRpcChannelBuffer,
  788. PRPC_MESSAGE _pRpcMessage,
  789. DWORD *_pdwStubPhase);
  790. #endif /* __Domains_INTERFACE_DEFINED__ */
  791. #ifndef __IClusterDomain_INTERFACE_DEFINED__
  792. #define __IClusterDomain_INTERFACE_DEFINED__
  793. /****************************************
  794. * Generated header for interface: IClusterDomain
  795. * at Fri Aug 08 11:36:24 1997
  796. * using MIDL 3.00.44
  797. ****************************************/
  798. /* [unique][hidden][helpstring][dual][uuid][object] */
  799. EXTERN_C const IID IID_IClusterDomain;
  800. #if defined(__cplusplus) && !defined(CINTERFACE)
  801. interface IClusterDomain : public IDispatch
  802. {
  803. public:
  804. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_DomainName(
  805. /* [retval][out] */ BSTR __RPC_FAR *pbstrDomainName) = 0;
  806. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Clusters(
  807. /* [retval][out] */ Clusters __RPC_FAR *__RPC_FAR *ppClusters) = 0;
  808. };
  809. #else /* C style interface */
  810. typedef struct IClusterDomainVtbl
  811. {
  812. BEGIN_INTERFACE
  813. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  814. IClusterDomain __RPC_FAR * This,
  815. /* [in] */ REFIID riid,
  816. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  817. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  818. IClusterDomain __RPC_FAR * This);
  819. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  820. IClusterDomain __RPC_FAR * This);
  821. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  822. IClusterDomain __RPC_FAR * This,
  823. /* [out] */ UINT __RPC_FAR *pctinfo);
  824. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  825. IClusterDomain __RPC_FAR * This,
  826. /* [in] */ UINT iTInfo,
  827. /* [in] */ LCID lcid,
  828. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  829. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  830. IClusterDomain __RPC_FAR * This,
  831. /* [in] */ REFIID riid,
  832. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  833. /* [in] */ UINT cNames,
  834. /* [in] */ LCID lcid,
  835. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  836. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  837. IClusterDomain __RPC_FAR * This,
  838. /* [in] */ DISPID dispIdMember,
  839. /* [in] */ REFIID riid,
  840. /* [in] */ LCID lcid,
  841. /* [in] */ WORD wFlags,
  842. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  843. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  844. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  845. /* [out] */ UINT __RPC_FAR *puArgErr);
  846. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_DomainName )(
  847. IClusterDomain __RPC_FAR * This,
  848. /* [retval][out] */ BSTR __RPC_FAR *pbstrDomainName);
  849. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Clusters )(
  850. IClusterDomain __RPC_FAR * This,
  851. /* [retval][out] */ Clusters __RPC_FAR *__RPC_FAR *ppClusters);
  852. END_INTERFACE
  853. } IClusterDomainVtbl;
  854. interface IClusterDomain
  855. {
  856. CONST_VTBL struct IClusterDomainVtbl __RPC_FAR *lpVtbl;
  857. };
  858. #ifdef COBJMACROS
  859. #define IClusterDomain_QueryInterface(This,riid,ppvObject) \
  860. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  861. #define IClusterDomain_AddRef(This) \
  862. (This)->lpVtbl -> AddRef(This)
  863. #define IClusterDomain_Release(This) \
  864. (This)->lpVtbl -> Release(This)
  865. #define IClusterDomain_GetTypeInfoCount(This,pctinfo) \
  866. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  867. #define IClusterDomain_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  868. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  869. #define IClusterDomain_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  870. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  871. #define IClusterDomain_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  872. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  873. #define IClusterDomain_get_DomainName(This,pbstrDomainName) \
  874. (This)->lpVtbl -> get_DomainName(This,pbstrDomainName)
  875. #define IClusterDomain_get_Clusters(This,ppClusters) \
  876. (This)->lpVtbl -> get_Clusters(This,ppClusters)
  877. #endif /* COBJMACROS */
  878. #endif /* C style interface */
  879. /* [propget] */ HRESULT STDMETHODCALLTYPE IClusterDomain_get_DomainName_Proxy(
  880. IClusterDomain __RPC_FAR * This,
  881. /* [retval][out] */ BSTR __RPC_FAR *pbstrDomainName);
  882. void __RPC_STUB IClusterDomain_get_DomainName_Stub(
  883. IRpcStubBuffer *This,
  884. IRpcChannelBuffer *_pRpcChannelBuffer,
  885. PRPC_MESSAGE _pRpcMessage,
  886. DWORD *_pdwStubPhase);
  887. /* [propget] */ HRESULT STDMETHODCALLTYPE IClusterDomain_get_Clusters_Proxy(
  888. IClusterDomain __RPC_FAR * This,
  889. /* [retval][out] */ Clusters __RPC_FAR *__RPC_FAR *ppClusters);
  890. void __RPC_STUB IClusterDomain_get_Clusters_Stub(
  891. IRpcStubBuffer *This,
  892. IRpcChannelBuffer *_pRpcChannelBuffer,
  893. PRPC_MESSAGE _pRpcMessage,
  894. DWORD *_pdwStubPhase);
  895. #endif /* __IClusterDomain_INTERFACE_DEFINED__ */
  896. #ifndef __Clusters_INTERFACE_DEFINED__
  897. #define __Clusters_INTERFACE_DEFINED__
  898. /****************************************
  899. * Generated header for interface: Clusters
  900. * at Fri Aug 08 11:36:24 1997
  901. * using MIDL 3.00.44
  902. ****************************************/
  903. /* [unique][helpstring][dual][uuid][object] */
  904. EXTERN_C const IID IID_Clusters;
  905. #if defined(__cplusplus) && !defined(CINTERFACE)
  906. interface Clusters : public IDispatch
  907. {
  908. public:
  909. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_DomainName(
  910. /* [retval][out] */ BSTR __RPC_FAR *pbstrDomainName) = 0;
  911. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Count(
  912. /* [retval][out] */ long __RPC_FAR *pnCount) = 0;
  913. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Item(
  914. /* [in] */ LONG nIndex,
  915. /* [retval][out] */ BSTR __RPC_FAR *bstrClusterName) = 0;
  916. };
  917. #else /* C style interface */
  918. typedef struct ClustersVtbl
  919. {
  920. BEGIN_INTERFACE
  921. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  922. Clusters __RPC_FAR * This,
  923. /* [in] */ REFIID riid,
  924. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  925. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  926. Clusters __RPC_FAR * This);
  927. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  928. Clusters __RPC_FAR * This);
  929. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  930. Clusters __RPC_FAR * This,
  931. /* [out] */ UINT __RPC_FAR *pctinfo);
  932. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  933. Clusters __RPC_FAR * This,
  934. /* [in] */ UINT iTInfo,
  935. /* [in] */ LCID lcid,
  936. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  937. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  938. Clusters __RPC_FAR * This,
  939. /* [in] */ REFIID riid,
  940. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  941. /* [in] */ UINT cNames,
  942. /* [in] */ LCID lcid,
  943. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  944. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  945. Clusters __RPC_FAR * This,
  946. /* [in] */ DISPID dispIdMember,
  947. /* [in] */ REFIID riid,
  948. /* [in] */ LCID lcid,
  949. /* [in] */ WORD wFlags,
  950. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  951. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  952. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  953. /* [out] */ UINT __RPC_FAR *puArgErr);
  954. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_DomainName )(
  955. Clusters __RPC_FAR * This,
  956. /* [retval][out] */ BSTR __RPC_FAR *pbstrDomainName);
  957. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Count )(
  958. Clusters __RPC_FAR * This,
  959. /* [retval][out] */ long __RPC_FAR *pnCount);
  960. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Item )(
  961. Clusters __RPC_FAR * This,
  962. /* [in] */ LONG nIndex,
  963. /* [retval][out] */ BSTR __RPC_FAR *bstrClusterName);
  964. END_INTERFACE
  965. } ClustersVtbl;
  966. interface Clusters
  967. {
  968. CONST_VTBL struct ClustersVtbl __RPC_FAR *lpVtbl;
  969. };
  970. #ifdef COBJMACROS
  971. #define Clusters_QueryInterface(This,riid,ppvObject) \
  972. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  973. #define Clusters_AddRef(This) \
  974. (This)->lpVtbl -> AddRef(This)
  975. #define Clusters_Release(This) \
  976. (This)->lpVtbl -> Release(This)
  977. #define Clusters_GetTypeInfoCount(This,pctinfo) \
  978. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  979. #define Clusters_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  980. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  981. #define Clusters_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  982. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  983. #define Clusters_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  984. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  985. #define Clusters_get_DomainName(This,pbstrDomainName) \
  986. (This)->lpVtbl -> get_DomainName(This,pbstrDomainName)
  987. #define Clusters_get_Count(This,pnCount) \
  988. (This)->lpVtbl -> get_Count(This,pnCount)
  989. #define Clusters_get_Item(This,nIndex,bstrClusterName) \
  990. (This)->lpVtbl -> get_Item(This,nIndex,bstrClusterName)
  991. #endif /* COBJMACROS */
  992. #endif /* C style interface */
  993. /* [propget] */ HRESULT STDMETHODCALLTYPE Clusters_get_DomainName_Proxy(
  994. Clusters __RPC_FAR * This,
  995. /* [retval][out] */ BSTR __RPC_FAR *pbstrDomainName);
  996. void __RPC_STUB Clusters_get_DomainName_Stub(
  997. IRpcStubBuffer *This,
  998. IRpcChannelBuffer *_pRpcChannelBuffer,
  999. PRPC_MESSAGE _pRpcMessage,
  1000. DWORD *_pdwStubPhase);
  1001. /* [propget] */ HRESULT STDMETHODCALLTYPE Clusters_get_Count_Proxy(
  1002. Clusters __RPC_FAR * This,
  1003. /* [retval][out] */ long __RPC_FAR *pnCount);
  1004. void __RPC_STUB Clusters_get_Count_Stub(
  1005. IRpcStubBuffer *This,
  1006. IRpcChannelBuffer *_pRpcChannelBuffer,
  1007. PRPC_MESSAGE _pRpcMessage,
  1008. DWORD *_pdwStubPhase);
  1009. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE Clusters_get_Item_Proxy(
  1010. Clusters __RPC_FAR * This,
  1011. /* [in] */ LONG nIndex,
  1012. /* [retval][out] */ BSTR __RPC_FAR *bstrClusterName);
  1013. void __RPC_STUB Clusters_get_Item_Stub(
  1014. IRpcStubBuffer *This,
  1015. IRpcChannelBuffer *_pRpcChannelBuffer,
  1016. PRPC_MESSAGE _pRpcMessage,
  1017. DWORD *_pdwStubPhase);
  1018. #endif /* __Clusters_INTERFACE_DEFINED__ */
  1019. #ifndef __ICluster_INTERFACE_DEFINED__
  1020. #define __ICluster_INTERFACE_DEFINED__
  1021. /****************************************
  1022. * Generated header for interface: ICluster
  1023. * at Fri Aug 08 11:36:24 1997
  1024. * using MIDL 3.00.44
  1025. ****************************************/
  1026. /* [unique][hidden][helpstring][dual][uuid][object] */
  1027. EXTERN_C const IID IID_ICluster;
  1028. #if defined(__cplusplus) && !defined(CINTERFACE)
  1029. interface ICluster : public IDispatch
  1030. {
  1031. public:
  1032. virtual /* [hidden][propget] */ HRESULT STDMETHODCALLTYPE get_Handle(
  1033. /* [retval][out] */ LONG __RPC_FAR *phandle) = 0;
  1034. virtual HRESULT STDMETHODCALLTYPE Open(
  1035. /* [in] */ BSTR bstrClusterName) = 0;
  1036. virtual HRESULT STDMETHODCALLTYPE Close( void) = 0;
  1037. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_Name(
  1038. /* [in] */ BSTR bstrClusterName) = 0;
  1039. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Name(
  1040. /* [retval][out] */ BSTR __RPC_FAR *pbstrClusterName) = 0;
  1041. virtual HRESULT STDMETHODCALLTYPE GetVersion(
  1042. /* [out] */ BSTR __RPC_FAR *pbstrClusterName,
  1043. /* [out] */ SHORT __RPC_FAR *MajorVersion,
  1044. /* [out] */ SHORT __RPC_FAR *MinorVersion,
  1045. /* [out] */ SHORT __RPC_FAR *BuildNumber,
  1046. /* [out] */ BSTR __RPC_FAR *pbstrVendorId,
  1047. /* [out] */ BSTR __RPC_FAR *pbstrCSDVersion) = 0;
  1048. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_QuorumResource(
  1049. /* [in] */ ClusResource __RPC_FAR *pClusterResource) = 0;
  1050. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_QuorumResource(
  1051. /* [retval][out] */ ClusResource __RPC_FAR *__RPC_FAR *pClusterResource) = 0;
  1052. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Nodes(
  1053. /* [retval][out] */ ClusNodes __RPC_FAR *__RPC_FAR *ppClusterNodes) = 0;
  1054. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_ResourceGroups(
  1055. /* [retval][out] */ ClusResGroups __RPC_FAR *__RPC_FAR *ppClusterResourceGroups) = 0;
  1056. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Resources(
  1057. /* [retval][out] */ ClusResources __RPC_FAR *__RPC_FAR *ppClusterResources) = 0;
  1058. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_ResourceTypes(
  1059. /* [retval][out] */ ClusResTypes __RPC_FAR *__RPC_FAR *ppResourceTypes) = 0;
  1060. };
  1061. #else /* C style interface */
  1062. typedef struct IClusterVtbl
  1063. {
  1064. BEGIN_INTERFACE
  1065. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  1066. ICluster __RPC_FAR * This,
  1067. /* [in] */ REFIID riid,
  1068. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1069. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  1070. ICluster __RPC_FAR * This);
  1071. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  1072. ICluster __RPC_FAR * This);
  1073. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  1074. ICluster __RPC_FAR * This,
  1075. /* [out] */ UINT __RPC_FAR *pctinfo);
  1076. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  1077. ICluster __RPC_FAR * This,
  1078. /* [in] */ UINT iTInfo,
  1079. /* [in] */ LCID lcid,
  1080. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  1081. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  1082. ICluster __RPC_FAR * This,
  1083. /* [in] */ REFIID riid,
  1084. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  1085. /* [in] */ UINT cNames,
  1086. /* [in] */ LCID lcid,
  1087. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  1088. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  1089. ICluster __RPC_FAR * This,
  1090. /* [in] */ DISPID dispIdMember,
  1091. /* [in] */ REFIID riid,
  1092. /* [in] */ LCID lcid,
  1093. /* [in] */ WORD wFlags,
  1094. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  1095. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  1096. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  1097. /* [out] */ UINT __RPC_FAR *puArgErr);
  1098. /* [hidden][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Handle )(
  1099. ICluster __RPC_FAR * This,
  1100. /* [retval][out] */ LONG __RPC_FAR *phandle);
  1101. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Open )(
  1102. ICluster __RPC_FAR * This,
  1103. /* [in] */ BSTR bstrClusterName);
  1104. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Close )(
  1105. ICluster __RPC_FAR * This);
  1106. /* [propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Name )(
  1107. ICluster __RPC_FAR * This,
  1108. /* [in] */ BSTR bstrClusterName);
  1109. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Name )(
  1110. ICluster __RPC_FAR * This,
  1111. /* [retval][out] */ BSTR __RPC_FAR *pbstrClusterName);
  1112. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVersion )(
  1113. ICluster __RPC_FAR * This,
  1114. /* [out] */ BSTR __RPC_FAR *pbstrClusterName,
  1115. /* [out] */ SHORT __RPC_FAR *MajorVersion,
  1116. /* [out] */ SHORT __RPC_FAR *MinorVersion,
  1117. /* [out] */ SHORT __RPC_FAR *BuildNumber,
  1118. /* [out] */ BSTR __RPC_FAR *pbstrVendorId,
  1119. /* [out] */ BSTR __RPC_FAR *pbstrCSDVersion);
  1120. /* [propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_QuorumResource )(
  1121. ICluster __RPC_FAR * This,
  1122. /* [in] */ ClusResource __RPC_FAR *pClusterResource);
  1123. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_QuorumResource )(
  1124. ICluster __RPC_FAR * This,
  1125. /* [retval][out] */ ClusResource __RPC_FAR *__RPC_FAR *pClusterResource);
  1126. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Nodes )(
  1127. ICluster __RPC_FAR * This,
  1128. /* [retval][out] */ ClusNodes __RPC_FAR *__RPC_FAR *ppClusterNodes);
  1129. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_ResourceGroups )(
  1130. ICluster __RPC_FAR * This,
  1131. /* [retval][out] */ ClusResGroups __RPC_FAR *__RPC_FAR *ppClusterResourceGroups);
  1132. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Resources )(
  1133. ICluster __RPC_FAR * This,
  1134. /* [retval][out] */ ClusResources __RPC_FAR *__RPC_FAR *ppClusterResources);
  1135. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_ResourceTypes )(
  1136. ICluster __RPC_FAR * This,
  1137. /* [retval][out] */ ClusResTypes __RPC_FAR *__RPC_FAR *ppResourceTypes);
  1138. END_INTERFACE
  1139. } IClusterVtbl;
  1140. interface ICluster
  1141. {
  1142. CONST_VTBL struct IClusterVtbl __RPC_FAR *lpVtbl;
  1143. };
  1144. #ifdef COBJMACROS
  1145. #define ICluster_QueryInterface(This,riid,ppvObject) \
  1146. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1147. #define ICluster_AddRef(This) \
  1148. (This)->lpVtbl -> AddRef(This)
  1149. #define ICluster_Release(This) \
  1150. (This)->lpVtbl -> Release(This)
  1151. #define ICluster_GetTypeInfoCount(This,pctinfo) \
  1152. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1153. #define ICluster_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1154. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1155. #define ICluster_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1156. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1157. #define ICluster_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1158. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1159. #define ICluster_get_Handle(This,phandle) \
  1160. (This)->lpVtbl -> get_Handle(This,phandle)
  1161. #define ICluster_Open(This,bstrClusterName) \
  1162. (This)->lpVtbl -> Open(This,bstrClusterName)
  1163. #define ICluster_Close(This) \
  1164. (This)->lpVtbl -> Close(This)
  1165. #define ICluster_put_Name(This,bstrClusterName) \
  1166. (This)->lpVtbl -> put_Name(This,bstrClusterName)
  1167. #define ICluster_get_Name(This,pbstrClusterName) \
  1168. (This)->lpVtbl -> get_Name(This,pbstrClusterName)
  1169. #define ICluster_GetVersion(This,pbstrClusterName,MajorVersion,MinorVersion,BuildNumber,pbstrVendorId,pbstrCSDVersion) \
  1170. (This)->lpVtbl -> GetVersion(This,pbstrClusterName,MajorVersion,MinorVersion,BuildNumber,pbstrVendorId,pbstrCSDVersion)
  1171. #define ICluster_put_QuorumResource(This,pClusterResource) \
  1172. (This)->lpVtbl -> put_QuorumResource(This,pClusterResource)
  1173. #define ICluster_get_QuorumResource(This,pClusterResource) \
  1174. (This)->lpVtbl -> get_QuorumResource(This,pClusterResource)
  1175. #define ICluster_get_Nodes(This,ppClusterNodes) \
  1176. (This)->lpVtbl -> get_Nodes(This,ppClusterNodes)
  1177. #define ICluster_get_ResourceGroups(This,ppClusterResourceGroups) \
  1178. (This)->lpVtbl -> get_ResourceGroups(This,ppClusterResourceGroups)
  1179. #define ICluster_get_Resources(This,ppClusterResources) \
  1180. (This)->lpVtbl -> get_Resources(This,ppClusterResources)
  1181. #define ICluster_get_ResourceTypes(This,ppResourceTypes) \
  1182. (This)->lpVtbl -> get_ResourceTypes(This,ppResourceTypes)
  1183. #endif /* COBJMACROS */
  1184. #endif /* C style interface */
  1185. /* [hidden][propget] */ HRESULT STDMETHODCALLTYPE ICluster_get_Handle_Proxy(
  1186. ICluster __RPC_FAR * This,
  1187. /* [retval][out] */ LONG __RPC_FAR *phandle);
  1188. void __RPC_STUB ICluster_get_Handle_Stub(
  1189. IRpcStubBuffer *This,
  1190. IRpcChannelBuffer *_pRpcChannelBuffer,
  1191. PRPC_MESSAGE _pRpcMessage,
  1192. DWORD *_pdwStubPhase);
  1193. HRESULT STDMETHODCALLTYPE ICluster_Open_Proxy(
  1194. ICluster __RPC_FAR * This,
  1195. /* [in] */ BSTR bstrClusterName);
  1196. void __RPC_STUB ICluster_Open_Stub(
  1197. IRpcStubBuffer *This,
  1198. IRpcChannelBuffer *_pRpcChannelBuffer,
  1199. PRPC_MESSAGE _pRpcMessage,
  1200. DWORD *_pdwStubPhase);
  1201. HRESULT STDMETHODCALLTYPE ICluster_Close_Proxy(
  1202. ICluster __RPC_FAR * This);
  1203. void __RPC_STUB ICluster_Close_Stub(
  1204. IRpcStubBuffer *This,
  1205. IRpcChannelBuffer *_pRpcChannelBuffer,
  1206. PRPC_MESSAGE _pRpcMessage,
  1207. DWORD *_pdwStubPhase);
  1208. /* [propput] */ HRESULT STDMETHODCALLTYPE ICluster_put_Name_Proxy(
  1209. ICluster __RPC_FAR * This,
  1210. /* [in] */ BSTR bstrClusterName);
  1211. void __RPC_STUB ICluster_put_Name_Stub(
  1212. IRpcStubBuffer *This,
  1213. IRpcChannelBuffer *_pRpcChannelBuffer,
  1214. PRPC_MESSAGE _pRpcMessage,
  1215. DWORD *_pdwStubPhase);
  1216. /* [propget] */ HRESULT STDMETHODCALLTYPE ICluster_get_Name_Proxy(
  1217. ICluster __RPC_FAR * This,
  1218. /* [retval][out] */ BSTR __RPC_FAR *pbstrClusterName);
  1219. void __RPC_STUB ICluster_get_Name_Stub(
  1220. IRpcStubBuffer *This,
  1221. IRpcChannelBuffer *_pRpcChannelBuffer,
  1222. PRPC_MESSAGE _pRpcMessage,
  1223. DWORD *_pdwStubPhase);
  1224. HRESULT STDMETHODCALLTYPE ICluster_GetVersion_Proxy(
  1225. ICluster __RPC_FAR * This,
  1226. /* [out] */ BSTR __RPC_FAR *pbstrClusterName,
  1227. /* [out] */ SHORT __RPC_FAR *MajorVersion,
  1228. /* [out] */ SHORT __RPC_FAR *MinorVersion,
  1229. /* [out] */ SHORT __RPC_FAR *BuildNumber,
  1230. /* [out] */ BSTR __RPC_FAR *pbstrVendorId,
  1231. /* [out] */ BSTR __RPC_FAR *pbstrCSDVersion);
  1232. void __RPC_STUB ICluster_GetVersion_Stub(
  1233. IRpcStubBuffer *This,
  1234. IRpcChannelBuffer *_pRpcChannelBuffer,
  1235. PRPC_MESSAGE _pRpcMessage,
  1236. DWORD *_pdwStubPhase);
  1237. /* [propput] */ HRESULT STDMETHODCALLTYPE ICluster_put_QuorumResource_Proxy(
  1238. ICluster __RPC_FAR * This,
  1239. /* [in] */ ClusResource __RPC_FAR *pClusterResource);
  1240. void __RPC_STUB ICluster_put_QuorumResource_Stub(
  1241. IRpcStubBuffer *This,
  1242. IRpcChannelBuffer *_pRpcChannelBuffer,
  1243. PRPC_MESSAGE _pRpcMessage,
  1244. DWORD *_pdwStubPhase);
  1245. /* [propget] */ HRESULT STDMETHODCALLTYPE ICluster_get_QuorumResource_Proxy(
  1246. ICluster __RPC_FAR * This,
  1247. /* [retval][out] */ ClusResource __RPC_FAR *__RPC_FAR *pClusterResource);
  1248. void __RPC_STUB ICluster_get_QuorumResource_Stub(
  1249. IRpcStubBuffer *This,
  1250. IRpcChannelBuffer *_pRpcChannelBuffer,
  1251. PRPC_MESSAGE _pRpcMessage,
  1252. DWORD *_pdwStubPhase);
  1253. /* [propget] */ HRESULT STDMETHODCALLTYPE ICluster_get_Nodes_Proxy(
  1254. ICluster __RPC_FAR * This,
  1255. /* [retval][out] */ ClusNodes __RPC_FAR *__RPC_FAR *ppClusterNodes);
  1256. void __RPC_STUB ICluster_get_Nodes_Stub(
  1257. IRpcStubBuffer *This,
  1258. IRpcChannelBuffer *_pRpcChannelBuffer,
  1259. PRPC_MESSAGE _pRpcMessage,
  1260. DWORD *_pdwStubPhase);
  1261. /* [propget] */ HRESULT STDMETHODCALLTYPE ICluster_get_ResourceGroups_Proxy(
  1262. ICluster __RPC_FAR * This,
  1263. /* [retval][out] */ ClusResGroups __RPC_FAR *__RPC_FAR *ppClusterResourceGroups);
  1264. void __RPC_STUB ICluster_get_ResourceGroups_Stub(
  1265. IRpcStubBuffer *This,
  1266. IRpcChannelBuffer *_pRpcChannelBuffer,
  1267. PRPC_MESSAGE _pRpcMessage,
  1268. DWORD *_pdwStubPhase);
  1269. /* [propget] */ HRESULT STDMETHODCALLTYPE ICluster_get_Resources_Proxy(
  1270. ICluster __RPC_FAR * This,
  1271. /* [retval][out] */ ClusResources __RPC_FAR *__RPC_FAR *ppClusterResources);
  1272. void __RPC_STUB ICluster_get_Resources_Stub(
  1273. IRpcStubBuffer *This,
  1274. IRpcChannelBuffer *_pRpcChannelBuffer,
  1275. PRPC_MESSAGE _pRpcMessage,
  1276. DWORD *_pdwStubPhase);
  1277. /* [propget] */ HRESULT STDMETHODCALLTYPE ICluster_get_ResourceTypes_Proxy(
  1278. ICluster __RPC_FAR * This,
  1279. /* [retval][out] */ ClusResTypes __RPC_FAR *__RPC_FAR *ppResourceTypes);
  1280. void __RPC_STUB ICluster_get_ResourceTypes_Stub(
  1281. IRpcStubBuffer *This,
  1282. IRpcChannelBuffer *_pRpcChannelBuffer,
  1283. PRPC_MESSAGE _pRpcMessage,
  1284. DWORD *_pdwStubPhase);
  1285. #endif /* __ICluster_INTERFACE_DEFINED__ */
  1286. #ifndef __ClusNode_INTERFACE_DEFINED__
  1287. #define __ClusNode_INTERFACE_DEFINED__
  1288. /****************************************
  1289. * Generated header for interface: ClusNode
  1290. * at Fri Aug 08 11:36:24 1997
  1291. * using MIDL 3.00.44
  1292. ****************************************/
  1293. /* [unique][helpstring][dual][uuid][object] */
  1294. EXTERN_C const IID IID_ClusNode;
  1295. #if defined(__cplusplus) && !defined(CINTERFACE)
  1296. interface ClusNode : public IDispatch
  1297. {
  1298. public:
  1299. virtual /* [hidden][propget] */ HRESULT STDMETHODCALLTYPE get_Handle(
  1300. /* [retval][out] */ LONG __RPC_FAR *phandle) = 0;
  1301. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Name(
  1302. /* [retval][out] */ BSTR __RPC_FAR *pbstrNodeName) = 0;
  1303. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_NodeID(
  1304. /* [retval][out] */ BSTR __RPC_FAR *pbstrNodeID) = 0;
  1305. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_State(
  1306. /* [retval][out] */ LONG __RPC_FAR *dwState) = 0;
  1307. virtual HRESULT STDMETHODCALLTYPE Pause( void) = 0;
  1308. virtual HRESULT STDMETHODCALLTYPE Resume( void) = 0;
  1309. virtual HRESULT STDMETHODCALLTYPE Evict( void) = 0;
  1310. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_ResourceGroups(
  1311. /* [retval][out] */ ClusResGroups __RPC_FAR *__RPC_FAR *ppResourceGroups) = 0;
  1312. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_CommonProperties(
  1313. /* [retval][out] */ ClusProperties __RPC_FAR *__RPC_FAR *ppProperties) = 0;
  1314. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_PrivateProperties(
  1315. /* [retval][out] */ ClusProperties __RPC_FAR *__RPC_FAR *ppProperties) = 0;
  1316. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_CommonROProperties(
  1317. /* [retval][out] */ ClusProperties __RPC_FAR *__RPC_FAR *ppProperties) = 0;
  1318. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_PrivateROProperties(
  1319. /* [retval][out] */ ClusProperties __RPC_FAR *__RPC_FAR *ppProperties) = 0;
  1320. };
  1321. #else /* C style interface */
  1322. typedef struct ClusNodeVtbl
  1323. {
  1324. BEGIN_INTERFACE
  1325. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  1326. ClusNode __RPC_FAR * This,
  1327. /* [in] */ REFIID riid,
  1328. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1329. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  1330. ClusNode __RPC_FAR * This);
  1331. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  1332. ClusNode __RPC_FAR * This);
  1333. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  1334. ClusNode __RPC_FAR * This,
  1335. /* [out] */ UINT __RPC_FAR *pctinfo);
  1336. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  1337. ClusNode __RPC_FAR * This,
  1338. /* [in] */ UINT iTInfo,
  1339. /* [in] */ LCID lcid,
  1340. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  1341. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  1342. ClusNode __RPC_FAR * This,
  1343. /* [in] */ REFIID riid,
  1344. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  1345. /* [in] */ UINT cNames,
  1346. /* [in] */ LCID lcid,
  1347. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  1348. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  1349. ClusNode __RPC_FAR * This,
  1350. /* [in] */ DISPID dispIdMember,
  1351. /* [in] */ REFIID riid,
  1352. /* [in] */ LCID lcid,
  1353. /* [in] */ WORD wFlags,
  1354. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  1355. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  1356. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  1357. /* [out] */ UINT __RPC_FAR *puArgErr);
  1358. /* [hidden][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Handle )(
  1359. ClusNode __RPC_FAR * This,
  1360. /* [retval][out] */ LONG __RPC_FAR *phandle);
  1361. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Name )(
  1362. ClusNode __RPC_FAR * This,
  1363. /* [retval][out] */ BSTR __RPC_FAR *pbstrNodeName);
  1364. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_NodeID )(
  1365. ClusNode __RPC_FAR * This,
  1366. /* [retval][out] */ BSTR __RPC_FAR *pbstrNodeID);
  1367. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_State )(
  1368. ClusNode __RPC_FAR * This,
  1369. /* [retval][out] */ LONG __RPC_FAR *dwState);
  1370. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Pause )(
  1371. ClusNode __RPC_FAR * This);
  1372. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Resume )(
  1373. ClusNode __RPC_FAR * This);
  1374. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Evict )(
  1375. ClusNode __RPC_FAR * This);
  1376. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_ResourceGroups )(
  1377. ClusNode __RPC_FAR * This,
  1378. /* [retval][out] */ ClusResGroups __RPC_FAR *__RPC_FAR *ppResourceGroups);
  1379. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_CommonProperties )(
  1380. ClusNode __RPC_FAR * This,
  1381. /* [retval][out] */ ClusProperties __RPC_FAR *__RPC_FAR *ppProperties);
  1382. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_PrivateProperties )(
  1383. ClusNode __RPC_FAR * This,
  1384. /* [retval][out] */ ClusProperties __RPC_FAR *__RPC_FAR *ppProperties);
  1385. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_CommonROProperties )(
  1386. ClusNode __RPC_FAR * This,
  1387. /* [retval][out] */ ClusProperties __RPC_FAR *__RPC_FAR *ppProperties);
  1388. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_PrivateROProperties )(
  1389. ClusNode __RPC_FAR * This,
  1390. /* [retval][out] */ ClusProperties __RPC_FAR *__RPC_FAR *ppProperties);
  1391. END_INTERFACE
  1392. } ClusNodeVtbl;
  1393. interface ClusNode
  1394. {
  1395. CONST_VTBL struct ClusNodeVtbl __RPC_FAR *lpVtbl;
  1396. };
  1397. #ifdef COBJMACROS
  1398. #define ClusNode_QueryInterface(This,riid,ppvObject) \
  1399. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1400. #define ClusNode_AddRef(This) \
  1401. (This)->lpVtbl -> AddRef(This)
  1402. #define ClusNode_Release(This) \
  1403. (This)->lpVtbl -> Release(This)
  1404. #define ClusNode_GetTypeInfoCount(This,pctinfo) \
  1405. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1406. #define ClusNode_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1407. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1408. #define ClusNode_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1409. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1410. #define ClusNode_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1411. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1412. #define ClusNode_get_Handle(This,phandle) \
  1413. (This)->lpVtbl -> get_Handle(This,phandle)
  1414. #define ClusNode_get_Name(This,pbstrNodeName) \
  1415. (This)->lpVtbl -> get_Name(This,pbstrNodeName)
  1416. #define ClusNode_get_NodeID(This,pbstrNodeID) \
  1417. (This)->lpVtbl -> get_NodeID(This,pbstrNodeID)
  1418. #define ClusNode_get_State(This,dwState) \
  1419. (This)->lpVtbl -> get_State(This,dwState)
  1420. #define ClusNode_Pause(This) \
  1421. (This)->lpVtbl -> Pause(This)
  1422. #define ClusNode_Resume(This) \
  1423. (This)->lpVtbl -> Resume(This)
  1424. #define ClusNode_Evict(This) \
  1425. (This)->lpVtbl -> Evict(This)
  1426. #define ClusNode_get_ResourceGroups(This,ppResourceGroups) \
  1427. (This)->lpVtbl -> get_ResourceGroups(This,ppResourceGroups)
  1428. #define ClusNode_get_CommonProperties(This,ppProperties) \
  1429. (This)->lpVtbl -> get_CommonProperties(This,ppProperties)
  1430. #define ClusNode_get_PrivateProperties(This,ppProperties) \
  1431. (This)->lpVtbl -> get_PrivateProperties(This,ppProperties)
  1432. #define ClusNode_get_CommonROProperties(This,ppProperties) \
  1433. (This)->lpVtbl -> get_CommonROProperties(This,ppProperties)
  1434. #define ClusNode_get_PrivateROProperties(This,ppProperties) \
  1435. (This)->lpVtbl -> get_PrivateROProperties(This,ppProperties)
  1436. #endif /* COBJMACROS */
  1437. #endif /* C style interface */
  1438. /* [hidden][propget] */ HRESULT STDMETHODCALLTYPE ClusNode_get_Handle_Proxy(
  1439. ClusNode __RPC_FAR * This,
  1440. /* [retval][out] */ LONG __RPC_FAR *phandle);
  1441. void __RPC_STUB ClusNode_get_Handle_Stub(
  1442. IRpcStubBuffer *This,
  1443. IRpcChannelBuffer *_pRpcChannelBuffer,
  1444. PRPC_MESSAGE _pRpcMessage,
  1445. DWORD *_pdwStubPhase);
  1446. /* [propget] */ HRESULT STDMETHODCALLTYPE ClusNode_get_Name_Proxy(
  1447. ClusNode __RPC_FAR * This,
  1448. /* [retval][out] */ BSTR __RPC_FAR *pbstrNodeName);
  1449. void __RPC_STUB ClusNode_get_Name_Stub(
  1450. IRpcStubBuffer *This,
  1451. IRpcChannelBuffer *_pRpcChannelBuffer,
  1452. PRPC_MESSAGE _pRpcMessage,
  1453. DWORD *_pdwStubPhase);
  1454. /* [propget] */ HRESULT STDMETHODCALLTYPE ClusNode_get_NodeID_Proxy(
  1455. ClusNode __RPC_FAR * This,
  1456. /* [retval][out] */ BSTR __RPC_FAR *pbstrNodeID);
  1457. void __RPC_STUB ClusNode_get_NodeID_Stub(
  1458. IRpcStubBuffer *This,
  1459. IRpcChannelBuffer *_pRpcChannelBuffer,
  1460. PRPC_MESSAGE _pRpcMessage,
  1461. DWORD *_pdwStubPhase);
  1462. /* [propget] */ HRESULT STDMETHODCALLTYPE ClusNode_get_State_Proxy(
  1463. ClusNode __RPC_FAR * This,
  1464. /* [retval][out] */ LONG __RPC_FAR *dwState);
  1465. void __RPC_STUB ClusNode_get_State_Stub(
  1466. IRpcStubBuffer *This,
  1467. IRpcChannelBuffer *_pRpcChannelBuffer,
  1468. PRPC_MESSAGE _pRpcMessage,
  1469. DWORD *_pdwStubPhase);
  1470. HRESULT STDMETHODCALLTYPE ClusNode_Pause_Proxy(
  1471. ClusNode __RPC_FAR * This);
  1472. void __RPC_STUB ClusNode_Pause_Stub(
  1473. IRpcStubBuffer *This,
  1474. IRpcChannelBuffer *_pRpcChannelBuffer,
  1475. PRPC_MESSAGE _pRpcMessage,
  1476. DWORD *_pdwStubPhase);
  1477. HRESULT STDMETHODCALLTYPE ClusNode_Resume_Proxy(
  1478. ClusNode __RPC_FAR * This);
  1479. void __RPC_STUB ClusNode_Resume_Stub(
  1480. IRpcStubBuffer *This,
  1481. IRpcChannelBuffer *_pRpcChannelBuffer,
  1482. PRPC_MESSAGE _pRpcMessage,
  1483. DWORD *_pdwStubPhase);
  1484. HRESULT STDMETHODCALLTYPE ClusNode_Evict_Proxy(
  1485. ClusNode __RPC_FAR * This);
  1486. void __RPC_STUB ClusNode_Evict_Stub(
  1487. IRpcStubBuffer *This,
  1488. IRpcChannelBuffer *_pRpcChannelBuffer,
  1489. PRPC_MESSAGE _pRpcMessage,
  1490. DWORD *_pdwStubPhase);
  1491. /* [propget] */ HRESULT STDMETHODCALLTYPE ClusNode_get_ResourceGroups_Proxy(
  1492. ClusNode __RPC_FAR * This,
  1493. /* [retval][out] */ ClusResGroups __RPC_FAR *__RPC_FAR *ppResourceGroups);
  1494. void __RPC_STUB ClusNode_get_ResourceGroups_Stub(
  1495. IRpcStubBuffer *This,
  1496. IRpcChannelBuffer *_pRpcChannelBuffer,
  1497. PRPC_MESSAGE _pRpcMessage,
  1498. DWORD *_pdwStubPhase);
  1499. /* [propget] */ HRESULT STDMETHODCALLTYPE ClusNode_get_CommonProperties_Proxy(
  1500. ClusNode __RPC_FAR * This,
  1501. /* [retval][out] */ ClusProperties __RPC_FAR *__RPC_FAR *ppProperties);
  1502. void __RPC_STUB ClusNode_get_CommonProperties_Stub(
  1503. IRpcStubBuffer *This,
  1504. IRpcChannelBuffer *_pRpcChannelBuffer,
  1505. PRPC_MESSAGE _pRpcMessage,
  1506. DWORD *_pdwStubPhase);
  1507. /* [propget] */ HRESULT STDMETHODCALLTYPE ClusNode_get_PrivateProperties_Proxy(
  1508. ClusNode __RPC_FAR * This,
  1509. /* [retval][out] */ ClusProperties __RPC_FAR *__RPC_FAR *ppProperties);
  1510. void __RPC_STUB ClusNode_get_PrivateProperties_Stub(
  1511. IRpcStubBuffer *This,
  1512. IRpcChannelBuffer *_pRpcChannelBuffer,
  1513. PRPC_MESSAGE _pRpcMessage,
  1514. DWORD *_pdwStubPhase);
  1515. /* [propget] */ HRESULT STDMETHODCALLTYPE ClusNode_get_CommonROProperties_Proxy(
  1516. ClusNode __RPC_FAR * This,
  1517. /* [retval][out] */ ClusProperties __RPC_FAR *__RPC_FAR *ppProperties);
  1518. void __RPC_STUB ClusNode_get_CommonROProperties_Stub(
  1519. IRpcStubBuffer *This,
  1520. IRpcChannelBuffer *_pRpcChannelBuffer,
  1521. PRPC_MESSAGE _pRpcMessage,
  1522. DWORD *_pdwStubPhase);
  1523. /* [propget] */ HRESULT STDMETHODCALLTYPE ClusNode_get_PrivateROProperties_Proxy(
  1524. ClusNode __RPC_FAR * This,
  1525. /* [retval][out] */ ClusProperties __RPC_FAR *__RPC_FAR *ppProperties);
  1526. void __RPC_STUB ClusNode_get_PrivateROProperties_Stub(
  1527. IRpcStubBuffer *This,
  1528. IRpcChannelBuffer *_pRpcChannelBuffer,
  1529. PRPC_MESSAGE _pRpcMessage,
  1530. DWORD *_pdwStubPhase);
  1531. #endif /* __ClusNode_INTERFACE_DEFINED__ */
  1532. #ifndef __ClusNodes_INTERFACE_DEFINED__
  1533. #define __ClusNodes_INTERFACE_DEFINED__
  1534. /****************************************
  1535. * Generated header for interface: ClusNodes
  1536. * at Fri Aug 08 11:36:24 1997
  1537. * using MIDL 3.00.44
  1538. ****************************************/
  1539. /* [unique][helpstring][dual][uuid][object] */
  1540. EXTERN_C const IID IID_ClusNodes;
  1541. #if defined(__cplusplus) && !defined(CINTERFACE)
  1542. interface ClusNodes : public IDispatch
  1543. {
  1544. public:
  1545. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Count(
  1546. /* [retval][out] */ long __RPC_FAR *pnCount) = 0;
  1547. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Item(
  1548. /* [in] */ VARIANT varIndex,
  1549. /* [retval][out] */ ClusNode __RPC_FAR *__RPC_FAR *ppClusterNode) = 0;
  1550. virtual /* [id][restricted][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
  1551. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppEnum) = 0;
  1552. };
  1553. #else /* C style interface */
  1554. typedef struct ClusNodesVtbl
  1555. {
  1556. BEGIN_INTERFACE
  1557. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  1558. ClusNodes __RPC_FAR * This,
  1559. /* [in] */ REFIID riid,
  1560. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1561. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  1562. ClusNodes __RPC_FAR * This);
  1563. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  1564. ClusNodes __RPC_FAR * This);
  1565. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  1566. ClusNodes __RPC_FAR * This,
  1567. /* [out] */ UINT __RPC_FAR *pctinfo);
  1568. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  1569. ClusNodes __RPC_FAR * This,
  1570. /* [in] */ UINT iTInfo,
  1571. /* [in] */ LCID lcid,
  1572. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  1573. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  1574. ClusNodes __RPC_FAR * This,
  1575. /* [in] */ REFIID riid,
  1576. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  1577. /* [in] */ UINT cNames,
  1578. /* [in] */ LCID lcid,
  1579. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  1580. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  1581. ClusNodes __RPC_FAR * This,
  1582. /* [in] */ DISPID dispIdMember,
  1583. /* [in] */ REFIID riid,
  1584. /* [in] */ LCID lcid,
  1585. /* [in] */ WORD wFlags,
  1586. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  1587. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  1588. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  1589. /* [out] */ UINT __RPC_FAR *puArgErr);
  1590. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Count )(
  1591. ClusNodes __RPC_FAR * This,
  1592. /* [retval][out] */ long __RPC_FAR *pnCount);
  1593. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Item )(
  1594. ClusNodes __RPC_FAR * This,
  1595. /* [in] */ VARIANT varIndex,
  1596. /* [retval][out] */ ClusNode __RPC_FAR *__RPC_FAR *ppClusterNode);
  1597. /* [id][restricted][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get__NewEnum )(
  1598. ClusNodes __RPC_FAR * This,
  1599. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppEnum);
  1600. END_INTERFACE
  1601. } ClusNodesVtbl;
  1602. interface ClusNodes
  1603. {
  1604. CONST_VTBL struct ClusNodesVtbl __RPC_FAR *lpVtbl;
  1605. };
  1606. #ifdef COBJMACROS
  1607. #define ClusNodes_QueryInterface(This,riid,ppvObject) \
  1608. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1609. #define ClusNodes_AddRef(This) \
  1610. (This)->lpVtbl -> AddRef(This)
  1611. #define ClusNodes_Release(This) \
  1612. (This)->lpVtbl -> Release(This)
  1613. #define ClusNodes_GetTypeInfoCount(This,pctinfo) \
  1614. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1615. #define ClusNodes_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1616. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1617. #define ClusNodes_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1618. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1619. #define ClusNodes_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1620. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1621. #define ClusNodes_get_Count(This,pnCount) \
  1622. (This)->lpVtbl -> get_Count(This,pnCount)
  1623. #define ClusNodes_get_Item(This,varIndex,ppClusterNode) \
  1624. (This)->lpVtbl -> get_Item(This,varIndex,ppClusterNode)
  1625. #define ClusNodes_get__NewEnum(This,ppEnum) \
  1626. (This)->lpVtbl -> get__NewEnum(This,ppEnum)
  1627. #endif /* COBJMACROS */
  1628. #endif /* C style interface */
  1629. /* [propget] */ HRESULT STDMETHODCALLTYPE ClusNodes_get_Count_Proxy(
  1630. ClusNodes __RPC_FAR * This,
  1631. /* [retval][out] */ long __RPC_FAR *pnCount);
  1632. void __RPC_STUB ClusNodes_get_Count_Stub(
  1633. IRpcStubBuffer *This,
  1634. IRpcChannelBuffer *_pRpcChannelBuffer,
  1635. PRPC_MESSAGE _pRpcMessage,
  1636. DWORD *_pdwStubPhase);
  1637. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ClusNodes_get_Item_Proxy(
  1638. ClusNodes __RPC_FAR * This,
  1639. /* [in] */ VARIANT varIndex,
  1640. /* [retval][out] */ ClusNode __RPC_FAR *__RPC_FAR *ppClusterNode);
  1641. void __RPC_STUB ClusNodes_get_Item_Stub(
  1642. IRpcStubBuffer *This,
  1643. IRpcChannelBuffer *_pRpcChannelBuffer,
  1644. PRPC_MESSAGE _pRpcMessage,
  1645. DWORD *_pdwStubPhase);
  1646. /* [id][restricted][propget] */ HRESULT STDMETHODCALLTYPE ClusNodes_get__NewEnum_Proxy(
  1647. ClusNodes __RPC_FAR * This,
  1648. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppEnum);
  1649. void __RPC_STUB ClusNodes_get__NewEnum_Stub(
  1650. IRpcStubBuffer *This,
  1651. IRpcChannelBuffer *_pRpcChannelBuffer,
  1652. PRPC_MESSAGE _pRpcMessage,
  1653. DWORD *_pdwStubPhase);
  1654. #endif /* __ClusNodes_INTERFACE_DEFINED__ */
  1655. #ifndef __ClusResGroup_INTERFACE_DEFINED__
  1656. #define __ClusResGroup_INTERFACE_DEFINED__
  1657. /****************************************
  1658. * Generated header for interface: ClusResGroup
  1659. * at Fri Aug 08 11:36:24 1997
  1660. * using MIDL 3.00.44
  1661. ****************************************/
  1662. /* [unique][helpstring][dual][uuid][object] */
  1663. EXTERN_C const IID IID_ClusResGroup;
  1664. #if defined(__cplusplus) && !defined(CINTERFACE)
  1665. interface ClusResGroup : public IDispatch
  1666. {
  1667. public:
  1668. virtual /* [hidden][propget] */ HRESULT STDMETHODCALLTYPE get_Handle(
  1669. /* [retval][out] */ LONG __RPC_FAR *phandle) = 0;
  1670. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_Name(
  1671. /* [in] */ BSTR bstrGroupName) = 0;
  1672. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Name(
  1673. /* [retval][out] */ BSTR __RPC_FAR *pbstrGroupName) = 0;
  1674. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_State(
  1675. /* [retval][out] */ LONG __RPC_FAR *dwState) = 0;
  1676. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_OwnerNode(
  1677. /* [retval][out] */ ClusNode __RPC_FAR *__RPC_FAR *ppOwnerNode) = 0;
  1678. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Resources(
  1679. /* [retval][out] */ ClusResources __RPC_FAR *__RPC_FAR *ppClusterResources) = 0;
  1680. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_PreferredOwnerNodes(
  1681. /* [retval][out] */ ClusNodes __RPC_FAR *__RPC_FAR *ppOwnerNodes) = 0;
  1682. virtual HRESULT STDMETHODCALLTYPE Delete( void) = 0;
  1683. virtual HRESULT STDMETHODCALLTYPE Online(
  1684. /* [optional][in] */ ClusNode __RPC_FAR *pDestinationNode) = 0;
  1685. virtual HRESULT STDMETHODCALLTYPE Move(
  1686. /* [optional][in] */ ClusNode __RPC_FAR *pDestinationNode) = 0;
  1687. virtual HRESULT STDMETHODCALLTYPE Offline( void) = 0;
  1688. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_CommonProperties(
  1689. /* [retval][out] */ ClusProperties __RPC_FAR *__RPC_FAR *ppProperties) = 0;
  1690. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_PrivateProperties(
  1691. /* [retval][out] */ ClusProperties __RPC_FAR *__RPC_FAR *ppProperties) = 0;
  1692. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_CommonROProperties(
  1693. /* [retval][out] */ ClusProperties __RPC_FAR *__RPC_FAR *ppProperties) = 0;
  1694. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_PrivateROProperties(
  1695. /* [retval][out] */ ClusProperties __RPC_FAR *__RPC_FAR *ppProperties) = 0;
  1696. };
  1697. #else /* C style interface */
  1698. typedef struct ClusResGroupVtbl
  1699. {
  1700. BEGIN_INTERFACE
  1701. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  1702. ClusResGroup __RPC_FAR * This,
  1703. /* [in] */ REFIID riid,
  1704. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1705. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  1706. ClusResGroup __RPC_FAR * This);
  1707. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  1708. ClusResGroup __RPC_FAR * This);
  1709. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  1710. ClusResGroup __RPC_FAR * This,
  1711. /* [out] */ UINT __RPC_FAR *pctinfo);
  1712. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  1713. ClusResGroup __RPC_FAR * This,
  1714. /* [in] */ UINT iTInfo,
  1715. /* [in] */ LCID lcid,
  1716. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  1717. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  1718. ClusResGroup __RPC_FAR * This,
  1719. /* [in] */ REFIID riid,
  1720. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  1721. /* [in] */ UINT cNames,
  1722. /* [in] */ LCID lcid,
  1723. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  1724. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  1725. ClusResGroup __RPC_FAR * This,
  1726. /* [in] */ DISPID dispIdMember,
  1727. /* [in] */ REFIID riid,
  1728. /* [in] */ LCID lcid,
  1729. /* [in] */ WORD wFlags,
  1730. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  1731. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  1732. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  1733. /* [out] */ UINT __RPC_FAR *puArgErr);
  1734. /* [hidden][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Handle )(
  1735. ClusResGroup __RPC_FAR * This,
  1736. /* [retval][out] */ LONG __RPC_FAR *phandle);
  1737. /* [propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Name )(
  1738. ClusResGroup __RPC_FAR * This,
  1739. /* [in] */ BSTR bstrGroupName);
  1740. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Name )(
  1741. ClusResGroup __RPC_FAR * This,
  1742. /* [retval][out] */ BSTR __RPC_FAR *pbstrGroupName);
  1743. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_State )(
  1744. ClusResGroup __RPC_FAR * This,
  1745. /* [retval][out] */ LONG __RPC_FAR *dwState);
  1746. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_OwnerNode )(
  1747. ClusResGroup __RPC_FAR * This,
  1748. /* [retval][out] */ ClusNode __RPC_FAR *__RPC_FAR *ppOwnerNode);
  1749. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Resources )(
  1750. ClusResGroup __RPC_FAR * This,
  1751. /* [retval][out] */ ClusResources __RPC_FAR *__RPC_FAR *ppClusterResources);
  1752. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_PreferredOwnerNodes )(
  1753. ClusResGroup __RPC_FAR * This,
  1754. /* [retval][out] */ ClusNodes __RPC_FAR *__RPC_FAR *ppOwnerNodes);
  1755. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Delete )(
  1756. ClusResGroup __RPC_FAR * This);
  1757. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Online )(
  1758. ClusResGroup __RPC_FAR * This,
  1759. /* [optional][in] */ ClusNode __RPC_FAR *pDestinationNode);
  1760. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Move )(
  1761. ClusResGroup __RPC_FAR * This,
  1762. /* [optional][in] */ ClusNode __RPC_FAR *pDestinationNode);
  1763. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Offline )(
  1764. ClusResGroup __RPC_FAR * This);
  1765. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_CommonProperties )(
  1766. ClusResGroup __RPC_FAR * This,
  1767. /* [retval][out] */ ClusProperties __RPC_FAR *__RPC_FAR *ppProperties);
  1768. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_PrivateProperties )(
  1769. ClusResGroup __RPC_FAR * This,
  1770. /* [retval][out] */ ClusProperties __RPC_FAR *__RPC_FAR *ppProperties);
  1771. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_CommonROProperties )(
  1772. ClusResGroup __RPC_FAR * This,
  1773. /* [retval][out] */ ClusProperties __RPC_FAR *__RPC_FAR *ppProperties);
  1774. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_PrivateROProperties )(
  1775. ClusResGroup __RPC_FAR * This,
  1776. /* [retval][out] */ ClusProperties __RPC_FAR *__RPC_FAR *ppProperties);
  1777. END_INTERFACE
  1778. } ClusResGroupVtbl;
  1779. interface ClusResGroup
  1780. {
  1781. CONST_VTBL struct ClusResGroupVtbl __RPC_FAR *lpVtbl;
  1782. };
  1783. #ifdef COBJMACROS
  1784. #define ClusResGroup_QueryInterface(This,riid,ppvObject) \
  1785. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1786. #define ClusResGroup_AddRef(This) \
  1787. (This)->lpVtbl -> AddRef(This)
  1788. #define ClusResGroup_Release(This) \
  1789. (This)->lpVtbl -> Release(This)
  1790. #define ClusResGroup_GetTypeInfoCount(This,pctinfo) \
  1791. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1792. #define ClusResGroup_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1793. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1794. #define ClusResGroup_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1795. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1796. #define ClusResGroup_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1797. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1798. #define ClusResGroup_get_Handle(This,phandle) \
  1799. (This)->lpVtbl -> get_Handle(This,phandle)
  1800. #define ClusResGroup_put_Name(This,bstrGroupName) \
  1801. (This)->lpVtbl -> put_Name(This,bstrGroupName)
  1802. #define ClusResGroup_get_Name(This,pbstrGroupName) \
  1803. (This)->lpVtbl -> get_Name(This,pbstrGroupName)
  1804. #define ClusResGroup_get_State(This,dwState) \
  1805. (This)->lpVtbl -> get_State(This,dwState)
  1806. #define ClusResGroup_get_OwnerNode(This,ppOwnerNode) \
  1807. (This)->lpVtbl -> get_OwnerNode(This,ppOwnerNode)
  1808. #define ClusResGroup_get_Resources(This,ppClusterResources) \
  1809. (This)->lpVtbl -> get_Resources(This,ppClusterResources)
  1810. #define ClusResGroup_get_PreferredOwnerNodes(This,ppOwnerNodes) \
  1811. (This)->lpVtbl -> get_PreferredOwnerNodes(This,ppOwnerNodes)
  1812. #define ClusResGroup_Delete(This) \
  1813. (This)->lpVtbl -> Delete(This)
  1814. #define ClusResGroup_Online(This,pDestinationNode) \
  1815. (This)->lpVtbl -> Online(This,pDestinationNode)
  1816. #define ClusResGroup_Move(This,pDestinationNode) \
  1817. (This)->lpVtbl -> Move(This,pDestinationNode)
  1818. #define ClusResGroup_Offline(This) \
  1819. (This)->lpVtbl -> Offline(This)
  1820. #define ClusResGroup_get_CommonProperties(This,ppProperties) \
  1821. (This)->lpVtbl -> get_CommonProperties(This,ppProperties)
  1822. #define ClusResGroup_get_PrivateProperties(This,ppProperties) \
  1823. (This)->lpVtbl -> get_PrivateProperties(This,ppProperties)
  1824. #define ClusResGroup_get_CommonROProperties(This,ppProperties) \
  1825. (This)->lpVtbl -> get_CommonROProperties(This,ppProperties)
  1826. #define ClusResGroup_get_PrivateROProperties(This,ppProperties) \
  1827. (This)->lpVtbl -> get_PrivateROProperties(This,ppProperties)
  1828. #endif /* COBJMACROS */
  1829. #endif /* C style interface */
  1830. /* [hidden][propget] */ HRESULT STDMETHODCALLTYPE ClusResGroup_get_Handle_Proxy(
  1831. ClusResGroup __RPC_FAR * This,
  1832. /* [retval][out] */ LONG __RPC_FAR *phandle);
  1833. void __RPC_STUB ClusResGroup_get_Handle_Stub(
  1834. IRpcStubBuffer *This,
  1835. IRpcChannelBuffer *_pRpcChannelBuffer,
  1836. PRPC_MESSAGE _pRpcMessage,
  1837. DWORD *_pdwStubPhase);
  1838. /* [propput] */ HRESULT STDMETHODCALLTYPE ClusResGroup_put_Name_Proxy(
  1839. ClusResGroup __RPC_FAR * This,
  1840. /* [in] */ BSTR bstrGroupName);
  1841. void __RPC_STUB ClusResGroup_put_Name_Stub(
  1842. IRpcStubBuffer *This,
  1843. IRpcChannelBuffer *_pRpcChannelBuffer,
  1844. PRPC_MESSAGE _pRpcMessage,
  1845. DWORD *_pdwStubPhase);
  1846. /* [propget] */ HRESULT STDMETHODCALLTYPE ClusResGroup_get_Name_Proxy(
  1847. ClusResGroup __RPC_FAR * This,
  1848. /* [retval][out] */ BSTR __RPC_FAR *pbstrGroupName);
  1849. void __RPC_STUB ClusResGroup_get_Name_Stub(
  1850. IRpcStubBuffer *This,
  1851. IRpcChannelBuffer *_pRpcChannelBuffer,
  1852. PRPC_MESSAGE _pRpcMessage,
  1853. DWORD *_pdwStubPhase);
  1854. /* [propget] */ HRESULT STDMETHODCALLTYPE ClusResGroup_get_State_Proxy(
  1855. ClusResGroup __RPC_FAR * This,
  1856. /* [retval][out] */ LONG __RPC_FAR *dwState);
  1857. void __RPC_STUB ClusResGroup_get_State_Stub(
  1858. IRpcStubBuffer *This,
  1859. IRpcChannelBuffer *_pRpcChannelBuffer,
  1860. PRPC_MESSAGE _pRpcMessage,
  1861. DWORD *_pdwStubPhase);
  1862. /* [propget] */ HRESULT STDMETHODCALLTYPE ClusResGroup_get_OwnerNode_Proxy(
  1863. ClusResGroup __RPC_FAR * This,
  1864. /* [retval][out] */ ClusNode __RPC_FAR *__RPC_FAR *ppOwnerNode);
  1865. void __RPC_STUB ClusResGroup_get_OwnerNode_Stub(
  1866. IRpcStubBuffer *This,
  1867. IRpcChannelBuffer *_pRpcChannelBuffer,
  1868. PRPC_MESSAGE _pRpcMessage,
  1869. DWORD *_pdwStubPhase);
  1870. /* [propget] */ HRESULT STDMETHODCALLTYPE ClusResGroup_get_Resources_Proxy(
  1871. ClusResGroup __RPC_FAR * This,
  1872. /* [retval][out] */ ClusResources __RPC_FAR *__RPC_FAR *ppClusterResources);
  1873. void __RPC_STUB ClusResGroup_get_Resources_Stub(
  1874. IRpcStubBuffer *This,
  1875. IRpcChannelBuffer *_pRpcChannelBuffer,
  1876. PRPC_MESSAGE _pRpcMessage,
  1877. DWORD *_pdwStubPhase);
  1878. /* [propget] */ HRESULT STDMETHODCALLTYPE ClusResGroup_get_PreferredOwnerNodes_Proxy(
  1879. ClusResGroup __RPC_FAR * This,
  1880. /* [retval][out] */ ClusNodes __RPC_FAR *__RPC_FAR *ppOwnerNodes);
  1881. void __RPC_STUB ClusResGroup_get_PreferredOwnerNodes_Stub(
  1882. IRpcStubBuffer *This,
  1883. IRpcChannelBuffer *_pRpcChannelBuffer,
  1884. PRPC_MESSAGE _pRpcMessage,
  1885. DWORD *_pdwStubPhase);
  1886. HRESULT STDMETHODCALLTYPE ClusResGroup_Delete_Proxy(
  1887. ClusResGroup __RPC_FAR * This);
  1888. void __RPC_STUB ClusResGroup_Delete_Stub(
  1889. IRpcStubBuffer *This,
  1890. IRpcChannelBuffer *_pRpcChannelBuffer,
  1891. PRPC_MESSAGE _pRpcMessage,
  1892. DWORD *_pdwStubPhase);
  1893. HRESULT STDMETHODCALLTYPE ClusResGroup_Online_Proxy(
  1894. ClusResGroup __RPC_FAR * This,
  1895. /* [optional][in] */ ClusNode __RPC_FAR *pDestinationNode);
  1896. void __RPC_STUB ClusResGroup_Online_Stub(
  1897. IRpcStubBuffer *This,
  1898. IRpcChannelBuffer *_pRpcChannelBuffer,
  1899. PRPC_MESSAGE _pRpcMessage,
  1900. DWORD *_pdwStubPhase);
  1901. HRESULT STDMETHODCALLTYPE ClusResGroup_Move_Proxy(
  1902. ClusResGroup __RPC_FAR * This,
  1903. /* [optional][in] */ ClusNode __RPC_FAR *pDestinationNode);
  1904. void __RPC_STUB ClusResGroup_Move_Stub(
  1905. IRpcStubBuffer *This,
  1906. IRpcChannelBuffer *_pRpcChannelBuffer,
  1907. PRPC_MESSAGE _pRpcMessage,
  1908. DWORD *_pdwStubPhase);
  1909. HRESULT STDMETHODCALLTYPE ClusResGroup_Offline_Proxy(
  1910. ClusResGroup __RPC_FAR * This);
  1911. void __RPC_STUB ClusResGroup_Offline_Stub(
  1912. IRpcStubBuffer *This,
  1913. IRpcChannelBuffer *_pRpcChannelBuffer,
  1914. PRPC_MESSAGE _pRpcMessage,
  1915. DWORD *_pdwStubPhase);
  1916. /* [propget] */ HRESULT STDMETHODCALLTYPE ClusResGroup_get_CommonProperties_Proxy(
  1917. ClusResGroup __RPC_FAR * This,
  1918. /* [retval][out] */ ClusProperties __RPC_FAR *__RPC_FAR *ppProperties);
  1919. void __RPC_STUB ClusResGroup_get_CommonProperties_Stub(
  1920. IRpcStubBuffer *This,
  1921. IRpcChannelBuffer *_pRpcChannelBuffer,
  1922. PRPC_MESSAGE _pRpcMessage,
  1923. DWORD *_pdwStubPhase);
  1924. /* [propget] */ HRESULT STDMETHODCALLTYPE ClusResGroup_get_PrivateProperties_Proxy(
  1925. ClusResGroup __RPC_FAR * This,
  1926. /* [retval][out] */ ClusProperties __RPC_FAR *__RPC_FAR *ppProperties);
  1927. void __RPC_STUB ClusResGroup_get_PrivateProperties_Stub(
  1928. IRpcStubBuffer *This,
  1929. IRpcChannelBuffer *_pRpcChannelBuffer,
  1930. PRPC_MESSAGE _pRpcMessage,
  1931. DWORD *_pdwStubPhase);
  1932. /* [propget] */ HRESULT STDMETHODCALLTYPE ClusResGroup_get_CommonROProperties_Proxy(
  1933. ClusResGroup __RPC_FAR * This,
  1934. /* [retval][out] */ ClusProperties __RPC_FAR *__RPC_FAR *ppProperties);
  1935. void __RPC_STUB ClusResGroup_get_CommonROProperties_Stub(
  1936. IRpcStubBuffer *This,
  1937. IRpcChannelBuffer *_pRpcChannelBuffer,
  1938. PRPC_MESSAGE _pRpcMessage,
  1939. DWORD *_pdwStubPhase);
  1940. /* [propget] */ HRESULT STDMETHODCALLTYPE ClusResGroup_get_PrivateROProperties_Proxy(
  1941. ClusResGroup __RPC_FAR * This,
  1942. /* [retval][out] */ ClusProperties __RPC_FAR *__RPC_FAR *ppProperties);
  1943. void __RPC_STUB ClusResGroup_get_PrivateROProperties_Stub(
  1944. IRpcStubBuffer *This,
  1945. IRpcChannelBuffer *_pRpcChannelBuffer,
  1946. PRPC_MESSAGE _pRpcMessage,
  1947. DWORD *_pdwStubPhase);
  1948. #endif /* __ClusResGroup_INTERFACE_DEFINED__ */
  1949. #ifndef __ClusResGroups_INTERFACE_DEFINED__
  1950. #define __ClusResGroups_INTERFACE_DEFINED__
  1951. /****************************************
  1952. * Generated header for interface: ClusResGroups
  1953. * at Fri Aug 08 11:36:24 1997
  1954. * using MIDL 3.00.44
  1955. ****************************************/
  1956. /* [unique][helpstring][dual][uuid][object] */
  1957. EXTERN_C const IID IID_ClusResGroups;
  1958. #if defined(__cplusplus) && !defined(CINTERFACE)
  1959. interface ClusResGroups : public IDispatch
  1960. {
  1961. public:
  1962. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Count(
  1963. /* [retval][out] */ long __RPC_FAR *pnCount) = 0;
  1964. virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_Item(
  1965. /* [in] */ VARIANT varIndex,
  1966. /* [retval][out] */ ClusResGroup __RPC_FAR *__RPC_FAR *ppResourceGroup) = 0;
  1967. virtual /* [id][restricted][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
  1968. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppEnum) = 0;
  1969. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE CreateItem(
  1970. /* [in] */ BSTR bstrResourceGroupName,
  1971. /* [retval][out] */ ClusResGroup __RPC_FAR *__RPC_FAR *ppResourceGroup) = 0;
  1972. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE DeleteItem(
  1973. /* [in] */ VARIANT varIndex) = 0;
  1974. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddItem(
  1975. /* [in] */ ClusResGroup __RPC_FAR *pResourceGroup) = 0;
  1976. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE RemoveItem(
  1977. /* [in] */ VARIANT varIndex) = 0;
  1978. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Refresh( void) = 0;
  1979. };
  1980. #else /* C style interface */
  1981. typedef struct ClusResGroupsVtbl
  1982. {
  1983. BEGIN_INTERFACE
  1984. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  1985. ClusResGroups __RPC_FAR * This,
  1986. /* [in] */ REFIID riid,
  1987. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1988. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  1989. ClusResGroups __RPC_FAR * This);
  1990. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  1991. ClusResGroups __RPC_FAR * This);
  1992. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  1993. ClusResGroups __RPC_FAR * This,
  1994. /* [out] */ UINT __RPC_FAR *pctinfo);
  1995. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  1996. ClusResGroups __RPC_FAR * This,
  1997. /* [in] */ UINT iTInfo,
  1998. /* [in] */ LCID lcid,
  1999. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  2000. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  2001. ClusResGroups __RPC_FAR * This,
  2002. /* [in] */ REFIID riid,
  2003. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  2004. /* [in] */ UINT cNames,
  2005. /* [in] */ LCID lcid,
  2006. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  2007. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  2008. ClusResGroups __RPC_FAR * This,
  2009. /* [in] */ DISPID dispIdMember,
  2010. /* [in] */ REFIID riid,
  2011. /* [in] */ LCID lcid,
  2012. /* [in] */ WORD wFlags,
  2013. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  2014. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  2015. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  2016. /* [out] */ UINT __RPC_FAR *puArgErr);
  2017. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Count )(
  2018. ClusResGroups __RPC_FAR * This,
  2019. /* [retval][out] */ long __RPC_FAR *pnCount);
  2020. /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Item )(
  2021. ClusResGroups __RPC_FAR * This,
  2022. /* [in] */ VARIANT varIndex,
  2023. /* [retval][out] */ ClusResGroup __RPC_FAR *__RPC_FAR *ppResourceGroup);
  2024. /* [id][restricted][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get__NewEnum )(
  2025. ClusResGroups __RPC_FAR * This,
  2026. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppEnum);
  2027. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CreateItem )(
  2028. ClusResGroups __RPC_FAR * This,
  2029. /* [in] */ BSTR bstrResourceGroupName,
  2030. /* [retval][out] */ ClusResGroup __RPC_FAR *__RPC_FAR *ppResourceGroup);
  2031. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DeleteItem )(
  2032. ClusResGroups __RPC_FAR * This,
  2033. /* [in] */ VARIANT varIndex);
  2034. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AddItem )(
  2035. ClusResGroups __RPC_FAR * This,
  2036. /* [in] */ ClusResGroup __RPC_FAR *pResourceGroup);
  2037. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RemoveItem )(
  2038. ClusResGroups __RPC_FAR * This,
  2039. /* [in] */ VARIANT varIndex);
  2040. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Refresh )(
  2041. ClusResGroups __RPC_FAR * This);
  2042. END_INTERFACE
  2043. } ClusResGroupsVtbl;
  2044. interface ClusResGroups
  2045. {
  2046. CONST_VTBL struct ClusResGroupsVtbl __RPC_FAR *lpVtbl;
  2047. };
  2048. #ifdef COBJMACROS
  2049. #define ClusResGroups_QueryInterface(This,riid,ppvObject) \
  2050. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2051. #define ClusResGroups_AddRef(This) \
  2052. (This)->lpVtbl -> AddRef(This)
  2053. #define ClusResGroups_Release(This) \
  2054. (This)->lpVtbl -> Release(This)
  2055. #define ClusResGroups_GetTypeInfoCount(This,pctinfo) \
  2056. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2057. #define ClusResGroups_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2058. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2059. #define ClusResGroups_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2060. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2061. #define ClusResGroups_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2062. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2063. #define ClusResGroups_get_Count(This,pnCount) \
  2064. (This)->lpVtbl -> get_Count(This,pnCount)
  2065. #define ClusResGroups_get_Item(This,varIndex,ppResourceGroup) \
  2066. (This)->lpVtbl -> get_Item(This,varIndex,ppResourceGroup)
  2067. #define ClusResGroups_get__NewEnum(This,ppEnum) \
  2068. (This)->lpVtbl -> get__NewEnum(This,ppEnum)
  2069. #define ClusResGroups_CreateItem(This,bstrResourceGroupName,ppResourceGroup) \
  2070. (This)->lpVtbl -> CreateItem(This,bstrResourceGroupName,ppResourceGroup)
  2071. #define ClusResGroups_DeleteItem(This,varIndex) \
  2072. (This)->lpVtbl -> DeleteItem(This,varIndex)
  2073. #define ClusResGroups_AddItem(This,pResourceGroup) \
  2074. (This)->lpVtbl -> AddItem(This,pResourceGroup)
  2075. #define ClusResGroups_RemoveItem(This,varIndex) \
  2076. (This)->lpVtbl -> RemoveItem(This,varIndex)
  2077. #define ClusResGroups_Refresh(This) \
  2078. (This)->lpVtbl -> Refresh(This)
  2079. #endif /* COBJMACROS */
  2080. #endif /* C style interface */
  2081. /* [propget] */ HRESULT STDMETHODCALLTYPE ClusResGroups_get_Count_Proxy(
  2082. ClusResGroups __RPC_FAR * This,
  2083. /* [retval][out] */ long __RPC_FAR *pnCount);
  2084. void __RPC_STUB ClusResGroups_get_Count_Stub(
  2085. IRpcStubBuffer *This,
  2086. IRpcChannelBuffer *_pRpcChannelBuffer,
  2087. PRPC_MESSAGE _pRpcMessage,
  2088. DWORD *_pdwStubPhase);
  2089. /* [id][propget] */ HRESULT STDMETHODCALLTYPE ClusResGroups_get_Item_Proxy(
  2090. ClusResGroups __RPC_FAR * This,
  2091. /* [in] */ VARIANT varIndex,
  2092. /* [retval][out] */ ClusResGroup __RPC_FAR *__RPC_FAR *ppResourceGroup);
  2093. void __RPC_STUB ClusResGroups_get_Item_Stub(
  2094. IRpcStubBuffer *This,
  2095. IRpcChannelBuffer *_pRpcChannelBuffer,
  2096. PRPC_MESSAGE _pRpcMessage,
  2097. DWORD *_pdwStubPhase);
  2098. /* [id][restricted][propget] */ HRESULT STDMETHODCALLTYPE ClusResGroups_get__NewEnum_Proxy(
  2099. ClusResGroups __RPC_FAR * This,
  2100. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppEnum);
  2101. void __RPC_STUB ClusResGroups_get__NewEnum_Stub(
  2102. IRpcStubBuffer *This,
  2103. IRpcChannelBuffer *_pRpcChannelBuffer,
  2104. PRPC_MESSAGE _pRpcMessage,
  2105. DWORD *_pdwStubPhase);
  2106. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ClusResGroups_CreateItem_Proxy(
  2107. ClusResGroups __RPC_FAR * This,
  2108. /* [in] */ BSTR bstrResourceGroupName,
  2109. /* [retval][out] */ ClusResGroup __RPC_FAR *__RPC_FAR *ppResourceGroup);
  2110. void __RPC_STUB ClusResGroups_CreateItem_Stub(
  2111. IRpcStubBuffer *This,
  2112. IRpcChannelBuffer *_pRpcChannelBuffer,
  2113. PRPC_MESSAGE _pRpcMessage,
  2114. DWORD *_pdwStubPhase);
  2115. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ClusResGroups_DeleteItem_Proxy(
  2116. ClusResGroups __RPC_FAR * This,
  2117. /* [in] */ VARIANT varIndex);
  2118. void __RPC_STUB ClusResGroups_DeleteItem_Stub(
  2119. IRpcStubBuffer *This,
  2120. IRpcChannelBuffer *_pRpcChannelBuffer,
  2121. PRPC_MESSAGE _pRpcMessage,
  2122. DWORD *_pdwStubPhase);
  2123. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ClusResGroups_AddItem_Proxy(
  2124. ClusResGroups __RPC_FAR * This,
  2125. /* [in] */ ClusResGroup __RPC_FAR *pResourceGroup);
  2126. void __RPC_STUB ClusResGroups_AddItem_Stub(
  2127. IRpcStubBuffer *This,
  2128. IRpcChannelBuffer *_pRpcChannelBuffer,
  2129. PRPC_MESSAGE _pRpcMessage,
  2130. DWORD *_pdwStubPhase);
  2131. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ClusResGroups_RemoveItem_Proxy(
  2132. ClusResGroups __RPC_FAR * This,
  2133. /* [in] */ VARIANT varIndex);
  2134. void __RPC_STUB ClusResGroups_RemoveItem_Stub(
  2135. IRpcStubBuffer *This,
  2136. IRpcChannelBuffer *_pRpcChannelBuffer,
  2137. PRPC_MESSAGE _pRpcMessage,
  2138. DWORD *_pdwStubPhase);
  2139. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ClusResGroups_Refresh_Proxy(
  2140. ClusResGroups __RPC_FAR * This);
  2141. void __RPC_STUB ClusResGroups_Refresh_Stub(
  2142. IRpcStubBuffer *This,
  2143. IRpcChannelBuffer *_pRpcChannelBuffer,
  2144. PRPC_MESSAGE _pRpcMessage,
  2145. DWORD *_pdwStubPhase);
  2146. #endif /* __ClusResGroups_INTERFACE_DEFINED__ */
  2147. #ifndef __ClusResource_INTERFACE_DEFINED__
  2148. #define __ClusResource_INTERFACE_DEFINED__
  2149. /****************************************
  2150. * Generated header for interface: ClusResource
  2151. * at Fri Aug 08 11:36:24 1997
  2152. * using MIDL 3.00.44
  2153. ****************************************/
  2154. /* [unique][helpstring][dual][uuid][object] */
  2155. EXTERN_C const IID IID_ClusResource;
  2156. #if defined(__cplusplus) && !defined(CINTERFACE)
  2157. interface ClusResource : public IDispatch
  2158. {
  2159. public:
  2160. virtual /* [hidden][propget] */ HRESULT STDMETHODCALLTYPE get_Handle(
  2161. /* [retval][out] */ LONG __RPC_FAR *phandle) = 0;
  2162. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_Name(
  2163. /* [in] */ BSTR bstrResourceName) = 0;
  2164. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Name(
  2165. /* [retval][out] */ BSTR __RPC_FAR *pbstrResourceName) = 0;
  2166. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_State(
  2167. /* [retval][out] */ LONG __RPC_FAR *dwState) = 0;
  2168. virtual HRESULT STDMETHODCALLTYPE BecomeQuorumResource(
  2169. /* [in] */ BSTR bstrDevicePath,
  2170. /* [in] */ long lMaxLogSize) = 0;
  2171. virtual HRESULT STDMETHODCALLTYPE Delete( void) = 0;
  2172. virtual HRESULT STDMETHODCALLTYPE Fail( void) = 0;
  2173. virtual HRESULT STDMETHODCALLTYPE Online( void) = 0;
  2174. virtual HRESULT STDMETHODCALLTYPE Offline( void) = 0;
  2175. virtual HRESULT STDMETHODCALLTYPE ChangeResourceGroup(
  2176. /* [in] */ ClusResGroup __RPC_FAR *pResourceGroup) = 0;
  2177. virtual HRESULT STDMETHODCALLTYPE AddResourceNode(
  2178. /* [in] */ ClusNode __RPC_FAR *pNode) = 0;
  2179. virtual HRESULT STDMETHODCALLTYPE RemoveResourceNode(
  2180. /* [in] */ ClusNode __RPC_FAR *pNode) = 0;
  2181. virtual HRESULT STDMETHODCALLTYPE AddResourceDependency(
  2182. /* [in] */ ClusResource __RPC_FAR *pResource) = 0;
  2183. virtual HRESULT STDMETHODCALLTYPE RemoveResourceDependency(
  2184. /* [in] */ ClusResource __RPC_FAR *pResource) = 0;
  2185. virtual HRESULT STDMETHODCALLTYPE CanResourceBeDependent(
  2186. /* [in] */ ClusResource __RPC_FAR *pResource,
  2187. /* [retval][out] */ BOOL __RPC_FAR *bDependent) = 0;
  2188. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_AllowedNodes(
  2189. /* [retval][out] */ ClusNodes __RPC_FAR *__RPC_FAR *ppNodes) = 0;
  2190. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Dependencies(
  2191. /* [retval][out] */ ClusResources __RPC_FAR *__RPC_FAR *ppResources) = 0;
  2192. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_CommonProperties(
  2193. /* [retval][out] */ ClusProperties __RPC_FAR *__RPC_FAR *ppProperties) = 0;
  2194. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_PrivateProperties(
  2195. /* [retval][out] */ ClusProperties __RPC_FAR *__RPC_FAR *ppProperties) = 0;
  2196. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_CommonROProperties(
  2197. /* [retval][out] */ ClusProperties __RPC_FAR *__RPC_FAR *ppProperties) = 0;
  2198. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_PrivateROProperties(
  2199. /* [retval][out] */ ClusProperties __RPC_FAR *__RPC_FAR *ppProperties) = 0;
  2200. };
  2201. #else /* C style interface */
  2202. typedef struct ClusResourceVtbl
  2203. {
  2204. BEGIN_INTERFACE
  2205. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  2206. ClusResource __RPC_FAR * This,
  2207. /* [in] */ REFIID riid,
  2208. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2209. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  2210. ClusResource __RPC_FAR * This);
  2211. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  2212. ClusResource __RPC_FAR * This);
  2213. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  2214. ClusResource __RPC_FAR * This,
  2215. /* [out] */ UINT __RPC_FAR *pctinfo);
  2216. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  2217. ClusResource __RPC_FAR * This,
  2218. /* [in] */ UINT iTInfo,
  2219. /* [in] */ LCID lcid,
  2220. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  2221. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  2222. ClusResource __RPC_FAR * This,
  2223. /* [in] */ REFIID riid,
  2224. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  2225. /* [in] */ UINT cNames,
  2226. /* [in] */ LCID lcid,
  2227. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  2228. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  2229. ClusResource __RPC_FAR * This,
  2230. /* [in] */ DISPID dispIdMember,
  2231. /* [in] */ REFIID riid,
  2232. /* [in] */ LCID lcid,
  2233. /* [in] */ WORD wFlags,
  2234. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  2235. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  2236. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  2237. /* [out] */ UINT __RPC_FAR *puArgErr);
  2238. /* [hidden][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Handle )(
  2239. ClusResource __RPC_FAR * This,
  2240. /* [retval][out] */ LONG __RPC_FAR *phandle);
  2241. /* [propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Name )(
  2242. ClusResource __RPC_FAR * This,
  2243. /* [in] */ BSTR bstrResourceName);
  2244. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Name )(
  2245. ClusResource __RPC_FAR * This,
  2246. /* [retval][out] */ BSTR __RPC_FAR *pbstrResourceName);
  2247. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_State )(
  2248. ClusResource __RPC_FAR * This,
  2249. /* [retval][out] */ LONG __RPC_FAR *dwState);
  2250. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *BecomeQuorumResource )(
  2251. ClusResource __RPC_FAR * This,
  2252. /* [in] */ BSTR bstrDevicePath,
  2253. /* [in] */ long lMaxLogSize);
  2254. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Delete )(
  2255. ClusResource __RPC_FAR * This);
  2256. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Fail )(
  2257. ClusResource __RPC_FAR * This);
  2258. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Online )(
  2259. ClusResource __RPC_FAR * This);
  2260. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Offline )(
  2261. ClusResource __RPC_FAR * This);
  2262. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ChangeResourceGroup )(
  2263. ClusResource __RPC_FAR * This,
  2264. /* [in] */ ClusResGroup __RPC_FAR *pResourceGroup);
  2265. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AddResourceNode )(
  2266. ClusResource __RPC_FAR * This,
  2267. /* [in] */ ClusNode __RPC_FAR *pNode);
  2268. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RemoveResourceNode )(
  2269. ClusResource __RPC_FAR * This,
  2270. /* [in] */ ClusNode __RPC_FAR *pNode);
  2271. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AddResourceDependency )(
  2272. ClusResource __RPC_FAR * This,
  2273. /* [in] */ ClusResource __RPC_FAR *pResource);
  2274. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RemoveResourceDependency )(
  2275. ClusResource __RPC_FAR * This,
  2276. /* [in] */ ClusResource __RPC_FAR *pResource);
  2277. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CanResourceBeDependent )(
  2278. ClusResource __RPC_FAR * This,
  2279. /* [in] */ ClusResource __RPC_FAR *pResource,
  2280. /* [retval][out] */ BOOL __RPC_FAR *bDependent);
  2281. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_AllowedNodes )(
  2282. ClusResource __RPC_FAR * This,
  2283. /* [retval][out] */ ClusNodes __RPC_FAR *__RPC_FAR *ppNodes);
  2284. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Dependencies )(
  2285. ClusResource __RPC_FAR * This,
  2286. /* [retval][out] */ ClusResources __RPC_FAR *__RPC_FAR *ppResources);
  2287. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_CommonProperties )(
  2288. ClusResource __RPC_FAR * This,
  2289. /* [retval][out] */ ClusProperties __RPC_FAR *__RPC_FAR *ppProperties);
  2290. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_PrivateProperties )(
  2291. ClusResource __RPC_FAR * This,
  2292. /* [retval][out] */ ClusProperties __RPC_FAR *__RPC_FAR *ppProperties);
  2293. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_CommonROProperties )(
  2294. ClusResource __RPC_FAR * This,
  2295. /* [retval][out] */ ClusProperties __RPC_FAR *__RPC_FAR *ppProperties);
  2296. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_PrivateROProperties )(
  2297. ClusResource __RPC_FAR * This,
  2298. /* [retval][out] */ ClusProperties __RPC_FAR *__RPC_FAR *ppProperties);
  2299. END_INTERFACE
  2300. } ClusResourceVtbl;
  2301. interface ClusResource
  2302. {
  2303. CONST_VTBL struct ClusResourceVtbl __RPC_FAR *lpVtbl;
  2304. };
  2305. #ifdef COBJMACROS
  2306. #define ClusResource_QueryInterface(This,riid,ppvObject) \
  2307. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2308. #define ClusResource_AddRef(This) \
  2309. (This)->lpVtbl -> AddRef(This)
  2310. #define ClusResource_Release(This) \
  2311. (This)->lpVtbl -> Release(This)
  2312. #define ClusResource_GetTypeInfoCount(This,pctinfo) \
  2313. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2314. #define ClusResource_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2315. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2316. #define ClusResource_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2317. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2318. #define ClusResource_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2319. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2320. #define ClusResource_get_Handle(This,phandle) \
  2321. (This)->lpVtbl -> get_Handle(This,phandle)
  2322. #define ClusResource_put_Name(This,bstrResourceName) \
  2323. (This)->lpVtbl -> put_Name(This,bstrResourceName)
  2324. #define ClusResource_get_Name(This,pbstrResourceName) \
  2325. (This)->lpVtbl -> get_Name(This,pbstrResourceName)
  2326. #define ClusResource_get_State(This,dwState) \
  2327. (This)->lpVtbl -> get_State(This,dwState)
  2328. #define ClusResource_BecomeQuorumResource(This,bstrDevicePath,lMaxLogSize) \
  2329. (This)->lpVtbl -> BecomeQuorumResource(This,bstrDevicePath,lMaxLogSize)
  2330. #define ClusResource_Delete(This) \
  2331. (This)->lpVtbl -> Delete(This)
  2332. #define ClusResource_Fail(This) \
  2333. (This)->lpVtbl -> Fail(This)
  2334. #define ClusResource_Online(This) \
  2335. (This)->lpVtbl -> Online(This)
  2336. #define ClusResource_Offline(This) \
  2337. (This)->lpVtbl -> Offline(This)
  2338. #define ClusResource_ChangeResourceGroup(This,pResourceGroup) \
  2339. (This)->lpVtbl -> ChangeResourceGroup(This,pResourceGroup)
  2340. #define ClusResource_AddResourceNode(This,pNode) \
  2341. (This)->lpVtbl -> AddResourceNode(This,pNode)
  2342. #define ClusResource_RemoveResourceNode(This,pNode) \
  2343. (This)->lpVtbl -> RemoveResourceNode(This,pNode)
  2344. #define ClusResource_AddResourceDependency(This,pResource) \
  2345. (This)->lpVtbl -> AddResourceDependency(This,pResource)
  2346. #define ClusResource_RemoveResourceDependency(This,pResource) \
  2347. (This)->lpVtbl -> RemoveResourceDependency(This,pResource)
  2348. #define ClusResource_CanResourceBeDependent(This,pResource,bDependent) \
  2349. (This)->lpVtbl -> CanResourceBeDependent(This,pResource,bDependent)
  2350. #define ClusResource_get_AllowedNodes(This,ppNodes) \
  2351. (This)->lpVtbl -> get_AllowedNodes(This,ppNodes)
  2352. #define ClusResource_get_Dependencies(This,ppResources) \
  2353. (This)->lpVtbl -> get_Dependencies(This,ppResources)
  2354. #define ClusResource_get_CommonProperties(This,ppProperties) \
  2355. (This)->lpVtbl -> get_CommonProperties(This,ppProperties)
  2356. #define ClusResource_get_PrivateProperties(This,ppProperties) \
  2357. (This)->lpVtbl -> get_PrivateProperties(This,ppProperties)
  2358. #define ClusResource_get_CommonROProperties(This,ppProperties) \
  2359. (This)->lpVtbl -> get_CommonROProperties(This,ppProperties)
  2360. #define ClusResource_get_PrivateROProperties(This,ppProperties) \
  2361. (This)->lpVtbl -> get_PrivateROProperties(This,ppProperties)
  2362. #endif /* COBJMACROS */
  2363. #endif /* C style interface */
  2364. /* [hidden][propget] */ HRESULT STDMETHODCALLTYPE ClusResource_get_Handle_Proxy(
  2365. ClusResource __RPC_FAR * This,
  2366. /* [retval][out] */ LONG __RPC_FAR *phandle);
  2367. void __RPC_STUB ClusResource_get_Handle_Stub(
  2368. IRpcStubBuffer *This,
  2369. IRpcChannelBuffer *_pRpcChannelBuffer,
  2370. PRPC_MESSAGE _pRpcMessage,
  2371. DWORD *_pdwStubPhase);
  2372. /* [propput] */ HRESULT STDMETHODCALLTYPE ClusResource_put_Name_Proxy(
  2373. ClusResource __RPC_FAR * This,
  2374. /* [in] */ BSTR bstrResourceName);
  2375. void __RPC_STUB ClusResource_put_Name_Stub(
  2376. IRpcStubBuffer *This,
  2377. IRpcChannelBuffer *_pRpcChannelBuffer,
  2378. PRPC_MESSAGE _pRpcMessage,
  2379. DWORD *_pdwStubPhase);
  2380. /* [propget] */ HRESULT STDMETHODCALLTYPE ClusResource_get_Name_Proxy(
  2381. ClusResource __RPC_FAR * This,
  2382. /* [retval][out] */ BSTR __RPC_FAR *pbstrResourceName);
  2383. void __RPC_STUB ClusResource_get_Name_Stub(
  2384. IRpcStubBuffer *This,
  2385. IRpcChannelBuffer *_pRpcChannelBuffer,
  2386. PRPC_MESSAGE _pRpcMessage,
  2387. DWORD *_pdwStubPhase);
  2388. /* [propget] */ HRESULT STDMETHODCALLTYPE ClusResource_get_State_Proxy(
  2389. ClusResource __RPC_FAR * This,
  2390. /* [retval][out] */ LONG __RPC_FAR *dwState);
  2391. void __RPC_STUB ClusResource_get_State_Stub(
  2392. IRpcStubBuffer *This,
  2393. IRpcChannelBuffer *_pRpcChannelBuffer,
  2394. PRPC_MESSAGE _pRpcMessage,
  2395. DWORD *_pdwStubPhase);
  2396. HRESULT STDMETHODCALLTYPE ClusResource_BecomeQuorumResource_Proxy(
  2397. ClusResource __RPC_FAR * This,
  2398. /* [in] */ BSTR bstrDevicePath,
  2399. /* [in] */ long lMaxLogSize);
  2400. void __RPC_STUB ClusResource_BecomeQuorumResource_Stub(
  2401. IRpcStubBuffer *This,
  2402. IRpcChannelBuffer *_pRpcChannelBuffer,
  2403. PRPC_MESSAGE _pRpcMessage,
  2404. DWORD *_pdwStubPhase);
  2405. HRESULT STDMETHODCALLTYPE ClusResource_Delete_Proxy(
  2406. ClusResource __RPC_FAR * This);
  2407. void __RPC_STUB ClusResource_Delete_Stub(
  2408. IRpcStubBuffer *This,
  2409. IRpcChannelBuffer *_pRpcChannelBuffer,
  2410. PRPC_MESSAGE _pRpcMessage,
  2411. DWORD *_pdwStubPhase);
  2412. HRESULT STDMETHODCALLTYPE ClusResource_Fail_Proxy(
  2413. ClusResource __RPC_FAR * This);
  2414. void __RPC_STUB ClusResource_Fail_Stub(
  2415. IRpcStubBuffer *This,
  2416. IRpcChannelBuffer *_pRpcChannelBuffer,
  2417. PRPC_MESSAGE _pRpcMessage,
  2418. DWORD *_pdwStubPhase);
  2419. HRESULT STDMETHODCALLTYPE ClusResource_Online_Proxy(
  2420. ClusResource __RPC_FAR * This);
  2421. void __RPC_STUB ClusResource_Online_Stub(
  2422. IRpcStubBuffer *This,
  2423. IRpcChannelBuffer *_pRpcChannelBuffer,
  2424. PRPC_MESSAGE _pRpcMessage,
  2425. DWORD *_pdwStubPhase);
  2426. HRESULT STDMETHODCALLTYPE ClusResource_Offline_Proxy(
  2427. ClusResource __RPC_FAR * This);
  2428. void __RPC_STUB ClusResource_Offline_Stub(
  2429. IRpcStubBuffer *This,
  2430. IRpcChannelBuffer *_pRpcChannelBuffer,
  2431. PRPC_MESSAGE _pRpcMessage,
  2432. DWORD *_pdwStubPhase);
  2433. HRESULT STDMETHODCALLTYPE ClusResource_ChangeResourceGroup_Proxy(
  2434. ClusResource __RPC_FAR * This,
  2435. /* [in] */ ClusResGroup __RPC_FAR *pResourceGroup);
  2436. void __RPC_STUB ClusResource_ChangeResourceGroup_Stub(
  2437. IRpcStubBuffer *This,
  2438. IRpcChannelBuffer *_pRpcChannelBuffer,
  2439. PRPC_MESSAGE _pRpcMessage,
  2440. DWORD *_pdwStubPhase);
  2441. HRESULT STDMETHODCALLTYPE ClusResource_AddResourceNode_Proxy(
  2442. ClusResource __RPC_FAR * This,
  2443. /* [in] */ ClusNode __RPC_FAR *pNode);
  2444. void __RPC_STUB ClusResource_AddResourceNode_Stub(
  2445. IRpcStubBuffer *This,
  2446. IRpcChannelBuffer *_pRpcChannelBuffer,
  2447. PRPC_MESSAGE _pRpcMessage,
  2448. DWORD *_pdwStubPhase);
  2449. HRESULT STDMETHODCALLTYPE ClusResource_RemoveResourceNode_Proxy(
  2450. ClusResource __RPC_FAR * This,
  2451. /* [in] */ ClusNode __RPC_FAR *pNode);
  2452. void __RPC_STUB ClusResource_RemoveResourceNode_Stub(
  2453. IRpcStubBuffer *This,
  2454. IRpcChannelBuffer *_pRpcChannelBuffer,
  2455. PRPC_MESSAGE _pRpcMessage,
  2456. DWORD *_pdwStubPhase);
  2457. HRESULT STDMETHODCALLTYPE ClusResource_AddResourceDependency_Proxy(
  2458. ClusResource __RPC_FAR * This,
  2459. /* [in] */ ClusResource __RPC_FAR *pResource);
  2460. void __RPC_STUB ClusResource_AddResourceDependency_Stub(
  2461. IRpcStubBuffer *This,
  2462. IRpcChannelBuffer *_pRpcChannelBuffer,
  2463. PRPC_MESSAGE _pRpcMessage,
  2464. DWORD *_pdwStubPhase);
  2465. HRESULT STDMETHODCALLTYPE ClusResource_RemoveResourceDependency_Proxy(
  2466. ClusResource __RPC_FAR * This,
  2467. /* [in] */ ClusResource __RPC_FAR *pResource);
  2468. void __RPC_STUB ClusResource_RemoveResourceDependency_Stub(
  2469. IRpcStubBuffer *This,
  2470. IRpcChannelBuffer *_pRpcChannelBuffer,
  2471. PRPC_MESSAGE _pRpcMessage,
  2472. DWORD *_pdwStubPhase);
  2473. HRESULT STDMETHODCALLTYPE ClusResource_CanResourceBeDependent_Proxy(
  2474. ClusResource __RPC_FAR * This,
  2475. /* [in] */ ClusResource __RPC_FAR *pResource,
  2476. /* [retval][out] */ BOOL __RPC_FAR *bDependent);
  2477. void __RPC_STUB ClusResource_CanResourceBeDependent_Stub(
  2478. IRpcStubBuffer *This,
  2479. IRpcChannelBuffer *_pRpcChannelBuffer,
  2480. PRPC_MESSAGE _pRpcMessage,
  2481. DWORD *_pdwStubPhase);
  2482. /* [propget] */ HRESULT STDMETHODCALLTYPE ClusResource_get_AllowedNodes_Proxy(
  2483. ClusResource __RPC_FAR * This,
  2484. /* [retval][out] */ ClusNodes __RPC_FAR *__RPC_FAR *ppNodes);
  2485. void __RPC_STUB ClusResource_get_AllowedNodes_Stub(
  2486. IRpcStubBuffer *This,
  2487. IRpcChannelBuffer *_pRpcChannelBuffer,
  2488. PRPC_MESSAGE _pRpcMessage,
  2489. DWORD *_pdwStubPhase);
  2490. /* [propget] */ HRESULT STDMETHODCALLTYPE ClusResource_get_Dependencies_Proxy(
  2491. ClusResource __RPC_FAR * This,
  2492. /* [retval][out] */ ClusResources __RPC_FAR *__RPC_FAR *ppResources);
  2493. void __RPC_STUB ClusResource_get_Dependencies_Stub(
  2494. IRpcStubBuffer *This,
  2495. IRpcChannelBuffer *_pRpcChannelBuffer,
  2496. PRPC_MESSAGE _pRpcMessage,
  2497. DWORD *_pdwStubPhase);
  2498. /* [propget] */ HRESULT STDMETHODCALLTYPE ClusResource_get_CommonProperties_Proxy(
  2499. ClusResource __RPC_FAR * This,
  2500. /* [retval][out] */ ClusProperties __RPC_FAR *__RPC_FAR *ppProperties);
  2501. void __RPC_STUB ClusResource_get_CommonProperties_Stub(
  2502. IRpcStubBuffer *This,
  2503. IRpcChannelBuffer *_pRpcChannelBuffer,
  2504. PRPC_MESSAGE _pRpcMessage,
  2505. DWORD *_pdwStubPhase);
  2506. /* [propget] */ HRESULT STDMETHODCALLTYPE ClusResource_get_PrivateProperties_Proxy(
  2507. ClusResource __RPC_FAR * This,
  2508. /* [retval][out] */ ClusProperties __RPC_FAR *__RPC_FAR *ppProperties);
  2509. void __RPC_STUB ClusResource_get_PrivateProperties_Stub(
  2510. IRpcStubBuffer *This,
  2511. IRpcChannelBuffer *_pRpcChannelBuffer,
  2512. PRPC_MESSAGE _pRpcMessage,
  2513. DWORD *_pdwStubPhase);
  2514. /* [propget] */ HRESULT STDMETHODCALLTYPE ClusResource_get_CommonROProperties_Proxy(
  2515. ClusResource __RPC_FAR * This,
  2516. /* [retval][out] */ ClusProperties __RPC_FAR *__RPC_FAR *ppProperties);
  2517. void __RPC_STUB ClusResource_get_CommonROProperties_Stub(
  2518. IRpcStubBuffer *This,
  2519. IRpcChannelBuffer *_pRpcChannelBuffer,
  2520. PRPC_MESSAGE _pRpcMessage,
  2521. DWORD *_pdwStubPhase);
  2522. /* [propget] */ HRESULT STDMETHODCALLTYPE ClusResource_get_PrivateROProperties_Proxy(
  2523. ClusResource __RPC_FAR * This,
  2524. /* [retval][out] */ ClusProperties __RPC_FAR *__RPC_FAR *ppProperties);
  2525. void __RPC_STUB ClusResource_get_PrivateROProperties_Stub(
  2526. IRpcStubBuffer *This,
  2527. IRpcChannelBuffer *_pRpcChannelBuffer,
  2528. PRPC_MESSAGE _pRpcMessage,
  2529. DWORD *_pdwStubPhase);
  2530. #endif /* __ClusResource_INTERFACE_DEFINED__ */
  2531. #ifndef __ClusResources_INTERFACE_DEFINED__
  2532. #define __ClusResources_INTERFACE_DEFINED__
  2533. /****************************************
  2534. * Generated header for interface: ClusResources
  2535. * at Fri Aug 08 11:36:24 1997
  2536. * using MIDL 3.00.44
  2537. ****************************************/
  2538. /* [unique][helpstring][dual][uuid][object] */
  2539. EXTERN_C const IID IID_ClusResources;
  2540. #if defined(__cplusplus) && !defined(CINTERFACE)
  2541. interface ClusResources : public IDispatch
  2542. {
  2543. public:
  2544. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Count(
  2545. /* [retval][out] */ long __RPC_FAR *pnCount) = 0;
  2546. virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_Item(
  2547. /* [in] */ VARIANT varIndex,
  2548. /* [retval][out] */ ClusResource __RPC_FAR *__RPC_FAR *ppClusterResource) = 0;
  2549. virtual /* [id][restricted][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
  2550. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppEnum) = 0;
  2551. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE CreateItem(
  2552. /* [in] */ BSTR bstrResourceName,
  2553. /* [in] */ BSTR bstrResourceType,
  2554. /* [in] */ long dwFlags,
  2555. /* [retval][out] */ ClusResource __RPC_FAR *__RPC_FAR *ppClusterResource) = 0;
  2556. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE DeleteItem(
  2557. /* [in] */ VARIANT varIndex) = 0;
  2558. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddItem(
  2559. /* [in] */ ClusResource __RPC_FAR *pResource) = 0;
  2560. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE RemoveItem(
  2561. /* [in] */ VARIANT varIndex) = 0;
  2562. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Refresh( void) = 0;
  2563. };
  2564. #else /* C style interface */
  2565. typedef struct ClusResourcesVtbl
  2566. {
  2567. BEGIN_INTERFACE
  2568. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  2569. ClusResources __RPC_FAR * This,
  2570. /* [in] */ REFIID riid,
  2571. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2572. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  2573. ClusResources __RPC_FAR * This);
  2574. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  2575. ClusResources __RPC_FAR * This);
  2576. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  2577. ClusResources __RPC_FAR * This,
  2578. /* [out] */ UINT __RPC_FAR *pctinfo);
  2579. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  2580. ClusResources __RPC_FAR * This,
  2581. /* [in] */ UINT iTInfo,
  2582. /* [in] */ LCID lcid,
  2583. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  2584. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  2585. ClusResources __RPC_FAR * This,
  2586. /* [in] */ REFIID riid,
  2587. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  2588. /* [in] */ UINT cNames,
  2589. /* [in] */ LCID lcid,
  2590. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  2591. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  2592. ClusResources __RPC_FAR * This,
  2593. /* [in] */ DISPID dispIdMember,
  2594. /* [in] */ REFIID riid,
  2595. /* [in] */ LCID lcid,
  2596. /* [in] */ WORD wFlags,
  2597. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  2598. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  2599. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  2600. /* [out] */ UINT __RPC_FAR *puArgErr);
  2601. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Count )(
  2602. ClusResources __RPC_FAR * This,
  2603. /* [retval][out] */ long __RPC_FAR *pnCount);
  2604. /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Item )(
  2605. ClusResources __RPC_FAR * This,
  2606. /* [in] */ VARIANT varIndex,
  2607. /* [retval][out] */ ClusResource __RPC_FAR *__RPC_FAR *ppClusterResource);
  2608. /* [id][restricted][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get__NewEnum )(
  2609. ClusResources __RPC_FAR * This,
  2610. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppEnum);
  2611. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CreateItem )(
  2612. ClusResources __RPC_FAR * This,
  2613. /* [in] */ BSTR bstrResourceName,
  2614. /* [in] */ BSTR bstrResourceType,
  2615. /* [in] */ long dwFlags,
  2616. /* [retval][out] */ ClusResource __RPC_FAR *__RPC_FAR *ppClusterResource);
  2617. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DeleteItem )(
  2618. ClusResources __RPC_FAR * This,
  2619. /* [in] */ VARIANT varIndex);
  2620. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AddItem )(
  2621. ClusResources __RPC_FAR * This,
  2622. /* [in] */ ClusResource __RPC_FAR *pResource);
  2623. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RemoveItem )(
  2624. ClusResources __RPC_FAR * This,
  2625. /* [in] */ VARIANT varIndex);
  2626. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Refresh )(
  2627. ClusResources __RPC_FAR * This);
  2628. END_INTERFACE
  2629. } ClusResourcesVtbl;
  2630. interface ClusResources
  2631. {
  2632. CONST_VTBL struct ClusResourcesVtbl __RPC_FAR *lpVtbl;
  2633. };
  2634. #ifdef COBJMACROS
  2635. #define ClusResources_QueryInterface(This,riid,ppvObject) \
  2636. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2637. #define ClusResources_AddRef(This) \
  2638. (This)->lpVtbl -> AddRef(This)
  2639. #define ClusResources_Release(This) \
  2640. (This)->lpVtbl -> Release(This)
  2641. #define ClusResources_GetTypeInfoCount(This,pctinfo) \
  2642. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2643. #define ClusResources_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2644. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2645. #define ClusResources_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2646. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2647. #define ClusResources_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2648. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2649. #define ClusResources_get_Count(This,pnCount) \
  2650. (This)->lpVtbl -> get_Count(This,pnCount)
  2651. #define ClusResources_get_Item(This,varIndex,ppClusterResource) \
  2652. (This)->lpVtbl -> get_Item(This,varIndex,ppClusterResource)
  2653. #define ClusResources_get__NewEnum(This,ppEnum) \
  2654. (This)->lpVtbl -> get__NewEnum(This,ppEnum)
  2655. #define ClusResources_CreateItem(This,bstrResourceName,bstrResourceType,dwFlags,ppClusterResource) \
  2656. (This)->lpVtbl -> CreateItem(This,bstrResourceName,bstrResourceType,dwFlags,ppClusterResource)
  2657. #define ClusResources_DeleteItem(This,varIndex) \
  2658. (This)->lpVtbl -> DeleteItem(This,varIndex)
  2659. #define ClusResources_AddItem(This,pResource) \
  2660. (This)->lpVtbl -> AddItem(This,pResource)
  2661. #define ClusResources_RemoveItem(This,varIndex) \
  2662. (This)->lpVtbl -> RemoveItem(This,varIndex)
  2663. #define ClusResources_Refresh(This) \
  2664. (This)->lpVtbl -> Refresh(This)
  2665. #endif /* COBJMACROS */
  2666. #endif /* C style interface */
  2667. /* [propget] */ HRESULT STDMETHODCALLTYPE ClusResources_get_Count_Proxy(
  2668. ClusResources __RPC_FAR * This,
  2669. /* [retval][out] */ long __RPC_FAR *pnCount);
  2670. void __RPC_STUB ClusResources_get_Count_Stub(
  2671. IRpcStubBuffer *This,
  2672. IRpcChannelBuffer *_pRpcChannelBuffer,
  2673. PRPC_MESSAGE _pRpcMessage,
  2674. DWORD *_pdwStubPhase);
  2675. /* [id][propget] */ HRESULT STDMETHODCALLTYPE ClusResources_get_Item_Proxy(
  2676. ClusResources __RPC_FAR * This,
  2677. /* [in] */ VARIANT varIndex,
  2678. /* [retval][out] */ ClusResource __RPC_FAR *__RPC_FAR *ppClusterResource);
  2679. void __RPC_STUB ClusResources_get_Item_Stub(
  2680. IRpcStubBuffer *This,
  2681. IRpcChannelBuffer *_pRpcChannelBuffer,
  2682. PRPC_MESSAGE _pRpcMessage,
  2683. DWORD *_pdwStubPhase);
  2684. /* [id][restricted][propget] */ HRESULT STDMETHODCALLTYPE ClusResources_get__NewEnum_Proxy(
  2685. ClusResources __RPC_FAR * This,
  2686. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppEnum);
  2687. void __RPC_STUB ClusResources_get__NewEnum_Stub(
  2688. IRpcStubBuffer *This,
  2689. IRpcChannelBuffer *_pRpcChannelBuffer,
  2690. PRPC_MESSAGE _pRpcMessage,
  2691. DWORD *_pdwStubPhase);
  2692. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ClusResources_CreateItem_Proxy(
  2693. ClusResources __RPC_FAR * This,
  2694. /* [in] */ BSTR bstrResourceName,
  2695. /* [in] */ BSTR bstrResourceType,
  2696. /* [in] */ long dwFlags,
  2697. /* [retval][out] */ ClusResource __RPC_FAR *__RPC_FAR *ppClusterResource);
  2698. void __RPC_STUB ClusResources_CreateItem_Stub(
  2699. IRpcStubBuffer *This,
  2700. IRpcChannelBuffer *_pRpcChannelBuffer,
  2701. PRPC_MESSAGE _pRpcMessage,
  2702. DWORD *_pdwStubPhase);
  2703. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ClusResources_DeleteItem_Proxy(
  2704. ClusResources __RPC_FAR * This,
  2705. /* [in] */ VARIANT varIndex);
  2706. void __RPC_STUB ClusResources_DeleteItem_Stub(
  2707. IRpcStubBuffer *This,
  2708. IRpcChannelBuffer *_pRpcChannelBuffer,
  2709. PRPC_MESSAGE _pRpcMessage,
  2710. DWORD *_pdwStubPhase);
  2711. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ClusResources_AddItem_Proxy(
  2712. ClusResources __RPC_FAR * This,
  2713. /* [in] */ ClusResource __RPC_FAR *pResource);
  2714. void __RPC_STUB ClusResources_AddItem_Stub(
  2715. IRpcStubBuffer *This,
  2716. IRpcChannelBuffer *_pRpcChannelBuffer,
  2717. PRPC_MESSAGE _pRpcMessage,
  2718. DWORD *_pdwStubPhase);
  2719. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ClusResources_RemoveItem_Proxy(
  2720. ClusResources __RPC_FAR * This,
  2721. /* [in] */ VARIANT varIndex);
  2722. void __RPC_STUB ClusResources_RemoveItem_Stub(
  2723. IRpcStubBuffer *This,
  2724. IRpcChannelBuffer *_pRpcChannelBuffer,
  2725. PRPC_MESSAGE _pRpcMessage,
  2726. DWORD *_pdwStubPhase);
  2727. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ClusResources_Refresh_Proxy(
  2728. ClusResources __RPC_FAR * This);
  2729. void __RPC_STUB ClusResources_Refresh_Stub(
  2730. IRpcStubBuffer *This,
  2731. IRpcChannelBuffer *_pRpcChannelBuffer,
  2732. PRPC_MESSAGE _pRpcMessage,
  2733. DWORD *_pdwStubPhase);
  2734. #endif /* __ClusResources_INTERFACE_DEFINED__ */
  2735. #ifndef __ClusResType_INTERFACE_DEFINED__
  2736. #define __ClusResType_INTERFACE_DEFINED__
  2737. /****************************************
  2738. * Generated header for interface: ClusResType
  2739. * at Fri Aug 08 11:36:24 1997
  2740. * using MIDL 3.00.44
  2741. ****************************************/
  2742. /* [unique][helpstring][dual][uuid][object] */
  2743. EXTERN_C const IID IID_ClusResType;
  2744. #if defined(__cplusplus) && !defined(CINTERFACE)
  2745. interface ClusResType : public IDispatch
  2746. {
  2747. public:
  2748. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Name(
  2749. /* [retval][out] */ BSTR __RPC_FAR *strTypeName) = 0;
  2750. virtual HRESULT STDMETHODCALLTYPE Delete( void) = 0;
  2751. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_CommonProperties(
  2752. /* [retval][out] */ ClusProperties __RPC_FAR *__RPC_FAR *ppProperties) = 0;
  2753. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_PrivateProperties(
  2754. /* [retval][out] */ ClusProperties __RPC_FAR *__RPC_FAR *ppProperties) = 0;
  2755. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_CommonROProperties(
  2756. /* [retval][out] */ ClusProperties __RPC_FAR *__RPC_FAR *ppProperties) = 0;
  2757. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_PrivateROProperties(
  2758. /* [retval][out] */ ClusProperties __RPC_FAR *__RPC_FAR *ppProperties) = 0;
  2759. };
  2760. #else /* C style interface */
  2761. typedef struct ClusResTypeVtbl
  2762. {
  2763. BEGIN_INTERFACE
  2764. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  2765. ClusResType __RPC_FAR * This,
  2766. /* [in] */ REFIID riid,
  2767. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2768. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  2769. ClusResType __RPC_FAR * This);
  2770. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  2771. ClusResType __RPC_FAR * This);
  2772. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  2773. ClusResType __RPC_FAR * This,
  2774. /* [out] */ UINT __RPC_FAR *pctinfo);
  2775. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  2776. ClusResType __RPC_FAR * This,
  2777. /* [in] */ UINT iTInfo,
  2778. /* [in] */ LCID lcid,
  2779. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  2780. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  2781. ClusResType __RPC_FAR * This,
  2782. /* [in] */ REFIID riid,
  2783. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  2784. /* [in] */ UINT cNames,
  2785. /* [in] */ LCID lcid,
  2786. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  2787. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  2788. ClusResType __RPC_FAR * This,
  2789. /* [in] */ DISPID dispIdMember,
  2790. /* [in] */ REFIID riid,
  2791. /* [in] */ LCID lcid,
  2792. /* [in] */ WORD wFlags,
  2793. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  2794. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  2795. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  2796. /* [out] */ UINT __RPC_FAR *puArgErr);
  2797. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Name )(
  2798. ClusResType __RPC_FAR * This,
  2799. /* [retval][out] */ BSTR __RPC_FAR *strTypeName);
  2800. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Delete )(
  2801. ClusResType __RPC_FAR * This);
  2802. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_CommonProperties )(
  2803. ClusResType __RPC_FAR * This,
  2804. /* [retval][out] */ ClusProperties __RPC_FAR *__RPC_FAR *ppProperties);
  2805. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_PrivateProperties )(
  2806. ClusResType __RPC_FAR * This,
  2807. /* [retval][out] */ ClusProperties __RPC_FAR *__RPC_FAR *ppProperties);
  2808. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_CommonROProperties )(
  2809. ClusResType __RPC_FAR * This,
  2810. /* [retval][out] */ ClusProperties __RPC_FAR *__RPC_FAR *ppProperties);
  2811. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_PrivateROProperties )(
  2812. ClusResType __RPC_FAR * This,
  2813. /* [retval][out] */ ClusProperties __RPC_FAR *__RPC_FAR *ppProperties);
  2814. END_INTERFACE
  2815. } ClusResTypeVtbl;
  2816. interface ClusResType
  2817. {
  2818. CONST_VTBL struct ClusResTypeVtbl __RPC_FAR *lpVtbl;
  2819. };
  2820. #ifdef COBJMACROS
  2821. #define ClusResType_QueryInterface(This,riid,ppvObject) \
  2822. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2823. #define ClusResType_AddRef(This) \
  2824. (This)->lpVtbl -> AddRef(This)
  2825. #define ClusResType_Release(This) \
  2826. (This)->lpVtbl -> Release(This)
  2827. #define ClusResType_GetTypeInfoCount(This,pctinfo) \
  2828. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2829. #define ClusResType_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2830. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2831. #define ClusResType_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2832. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2833. #define ClusResType_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2834. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2835. #define ClusResType_get_Name(This,strTypeName) \
  2836. (This)->lpVtbl -> get_Name(This,strTypeName)
  2837. #define ClusResType_Delete(This) \
  2838. (This)->lpVtbl -> Delete(This)
  2839. #define ClusResType_get_CommonProperties(This,ppProperties) \
  2840. (This)->lpVtbl -> get_CommonProperties(This,ppProperties)
  2841. #define ClusResType_get_PrivateProperties(This,ppProperties) \
  2842. (This)->lpVtbl -> get_PrivateProperties(This,ppProperties)
  2843. #define ClusResType_get_CommonROProperties(This,ppProperties) \
  2844. (This)->lpVtbl -> get_CommonROProperties(This,ppProperties)
  2845. #define ClusResType_get_PrivateROProperties(This,ppProperties) \
  2846. (This)->lpVtbl -> get_PrivateROProperties(This,ppProperties)
  2847. #endif /* COBJMACROS */
  2848. #endif /* C style interface */
  2849. /* [propget] */ HRESULT STDMETHODCALLTYPE ClusResType_get_Name_Proxy(
  2850. ClusResType __RPC_FAR * This,
  2851. /* [retval][out] */ BSTR __RPC_FAR *strTypeName);
  2852. void __RPC_STUB ClusResType_get_Name_Stub(
  2853. IRpcStubBuffer *This,
  2854. IRpcChannelBuffer *_pRpcChannelBuffer,
  2855. PRPC_MESSAGE _pRpcMessage,
  2856. DWORD *_pdwStubPhase);
  2857. HRESULT STDMETHODCALLTYPE ClusResType_Delete_Proxy(
  2858. ClusResType __RPC_FAR * This);
  2859. void __RPC_STUB ClusResType_Delete_Stub(
  2860. IRpcStubBuffer *This,
  2861. IRpcChannelBuffer *_pRpcChannelBuffer,
  2862. PRPC_MESSAGE _pRpcMessage,
  2863. DWORD *_pdwStubPhase);
  2864. /* [propget] */ HRESULT STDMETHODCALLTYPE ClusResType_get_CommonProperties_Proxy(
  2865. ClusResType __RPC_FAR * This,
  2866. /* [retval][out] */ ClusProperties __RPC_FAR *__RPC_FAR *ppProperties);
  2867. void __RPC_STUB ClusResType_get_CommonProperties_Stub(
  2868. IRpcStubBuffer *This,
  2869. IRpcChannelBuffer *_pRpcChannelBuffer,
  2870. PRPC_MESSAGE _pRpcMessage,
  2871. DWORD *_pdwStubPhase);
  2872. /* [propget] */ HRESULT STDMETHODCALLTYPE ClusResType_get_PrivateProperties_Proxy(
  2873. ClusResType __RPC_FAR * This,
  2874. /* [retval][out] */ ClusProperties __RPC_FAR *__RPC_FAR *ppProperties);
  2875. void __RPC_STUB ClusResType_get_PrivateProperties_Stub(
  2876. IRpcStubBuffer *This,
  2877. IRpcChannelBuffer *_pRpcChannelBuffer,
  2878. PRPC_MESSAGE _pRpcMessage,
  2879. DWORD *_pdwStubPhase);
  2880. /* [propget] */ HRESULT STDMETHODCALLTYPE ClusResType_get_CommonROProperties_Proxy(
  2881. ClusResType __RPC_FAR * This,
  2882. /* [retval][out] */ ClusProperties __RPC_FAR *__RPC_FAR *ppProperties);
  2883. void __RPC_STUB ClusResType_get_CommonROProperties_Stub(
  2884. IRpcStubBuffer *This,
  2885. IRpcChannelBuffer *_pRpcChannelBuffer,
  2886. PRPC_MESSAGE _pRpcMessage,
  2887. DWORD *_pdwStubPhase);
  2888. /* [propget] */ HRESULT STDMETHODCALLTYPE ClusResType_get_PrivateROProperties_Proxy(
  2889. ClusResType __RPC_FAR * This,
  2890. /* [retval][out] */ ClusProperties __RPC_FAR *__RPC_FAR *ppProperties);
  2891. void __RPC_STUB ClusResType_get_PrivateROProperties_Stub(
  2892. IRpcStubBuffer *This,
  2893. IRpcChannelBuffer *_pRpcChannelBuffer,
  2894. PRPC_MESSAGE _pRpcMessage,
  2895. DWORD *_pdwStubPhase);
  2896. #endif /* __ClusResType_INTERFACE_DEFINED__ */
  2897. #ifndef __ClusResTypes_INTERFACE_DEFINED__
  2898. #define __ClusResTypes_INTERFACE_DEFINED__
  2899. /****************************************
  2900. * Generated header for interface: ClusResTypes
  2901. * at Fri Aug 08 11:36:24 1997
  2902. * using MIDL 3.00.44
  2903. ****************************************/
  2904. /* [unique][helpstring][dual][uuid][object] */
  2905. EXTERN_C const IID IID_ClusResTypes;
  2906. #if defined(__cplusplus) && !defined(CINTERFACE)
  2907. interface ClusResTypes : public IDispatch
  2908. {
  2909. public:
  2910. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Count(
  2911. /* [retval][out] */ long __RPC_FAR *pnCount) = 0;
  2912. virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_Item(
  2913. /* [in] */ VARIANT varIndex,
  2914. /* [retval][out] */ ClusResType __RPC_FAR *__RPC_FAR *ppResourceType) = 0;
  2915. virtual /* [id][restricted][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
  2916. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppEnum) = 0;
  2917. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE CreateItem(
  2918. /* [in] */ BSTR bstrResourceTypeName,
  2919. /* [in] */ BSTR bstrDisplayName,
  2920. /* [in] */ BSTR bstrResourceTypeDll,
  2921. /* [in] */ LONG dwLooksAlivePollInterval,
  2922. /* [in] */ LONG dwIsAlivePollInterval,
  2923. /* [retval][out] */ ClusResType __RPC_FAR *__RPC_FAR *ppResourceType) = 0;
  2924. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE DeleteItem(
  2925. /* [in] */ VARIANT varIndex) = 0;
  2926. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddItem(
  2927. /* [in] */ ClusResType __RPC_FAR *pResourceType) = 0;
  2928. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE RemoveItem(
  2929. /* [in] */ VARIANT varIndex) = 0;
  2930. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Refresh( void) = 0;
  2931. };
  2932. #else /* C style interface */
  2933. typedef struct ClusResTypesVtbl
  2934. {
  2935. BEGIN_INTERFACE
  2936. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  2937. ClusResTypes __RPC_FAR * This,
  2938. /* [in] */ REFIID riid,
  2939. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2940. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  2941. ClusResTypes __RPC_FAR * This);
  2942. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  2943. ClusResTypes __RPC_FAR * This);
  2944. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  2945. ClusResTypes __RPC_FAR * This,
  2946. /* [out] */ UINT __RPC_FAR *pctinfo);
  2947. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  2948. ClusResTypes __RPC_FAR * This,
  2949. /* [in] */ UINT iTInfo,
  2950. /* [in] */ LCID lcid,
  2951. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  2952. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  2953. ClusResTypes __RPC_FAR * This,
  2954. /* [in] */ REFIID riid,
  2955. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  2956. /* [in] */ UINT cNames,
  2957. /* [in] */ LCID lcid,
  2958. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  2959. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  2960. ClusResTypes __RPC_FAR * This,
  2961. /* [in] */ DISPID dispIdMember,
  2962. /* [in] */ REFIID riid,
  2963. /* [in] */ LCID lcid,
  2964. /* [in] */ WORD wFlags,
  2965. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  2966. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  2967. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  2968. /* [out] */ UINT __RPC_FAR *puArgErr);
  2969. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Count )(
  2970. ClusResTypes __RPC_FAR * This,
  2971. /* [retval][out] */ long __RPC_FAR *pnCount);
  2972. /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Item )(
  2973. ClusResTypes __RPC_FAR * This,
  2974. /* [in] */ VARIANT varIndex,
  2975. /* [retval][out] */ ClusResType __RPC_FAR *__RPC_FAR *ppResourceType);
  2976. /* [id][restricted][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get__NewEnum )(
  2977. ClusResTypes __RPC_FAR * This,
  2978. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppEnum);
  2979. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CreateItem )(
  2980. ClusResTypes __RPC_FAR * This,
  2981. /* [in] */ BSTR bstrResourceTypeName,
  2982. /* [in] */ BSTR bstrDisplayName,
  2983. /* [in] */ BSTR bstrResourceTypeDll,
  2984. /* [in] */ LONG dwLooksAlivePollInterval,
  2985. /* [in] */ LONG dwIsAlivePollInterval,
  2986. /* [retval][out] */ ClusResType __RPC_FAR *__RPC_FAR *ppResourceType);
  2987. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DeleteItem )(
  2988. ClusResTypes __RPC_FAR * This,
  2989. /* [in] */ VARIANT varIndex);
  2990. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AddItem )(
  2991. ClusResTypes __RPC_FAR * This,
  2992. /* [in] */ ClusResType __RPC_FAR *pResourceType);
  2993. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RemoveItem )(
  2994. ClusResTypes __RPC_FAR * This,
  2995. /* [in] */ VARIANT varIndex);
  2996. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Refresh )(
  2997. ClusResTypes __RPC_FAR * This);
  2998. END_INTERFACE
  2999. } ClusResTypesVtbl;
  3000. interface ClusResTypes
  3001. {
  3002. CONST_VTBL struct ClusResTypesVtbl __RPC_FAR *lpVtbl;
  3003. };
  3004. #ifdef COBJMACROS
  3005. #define ClusResTypes_QueryInterface(This,riid,ppvObject) \
  3006. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3007. #define ClusResTypes_AddRef(This) \
  3008. (This)->lpVtbl -> AddRef(This)
  3009. #define ClusResTypes_Release(This) \
  3010. (This)->lpVtbl -> Release(This)
  3011. #define ClusResTypes_GetTypeInfoCount(This,pctinfo) \
  3012. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3013. #define ClusResTypes_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3014. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3015. #define ClusResTypes_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3016. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3017. #define ClusResTypes_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3018. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3019. #define ClusResTypes_get_Count(This,pnCount) \
  3020. (This)->lpVtbl -> get_Count(This,pnCount)
  3021. #define ClusResTypes_get_Item(This,varIndex,ppResourceType) \
  3022. (This)->lpVtbl -> get_Item(This,varIndex,ppResourceType)
  3023. #define ClusResTypes_get__NewEnum(This,ppEnum) \
  3024. (This)->lpVtbl -> get__NewEnum(This,ppEnum)
  3025. #define ClusResTypes_CreateItem(This,bstrResourceTypeName,bstrDisplayName,bstrResourceTypeDll,dwLooksAlivePollInterval,dwIsAlivePollInterval,ppResourceType) \
  3026. (This)->lpVtbl -> CreateItem(This,bstrResourceTypeName,bstrDisplayName,bstrResourceTypeDll,dwLooksAlivePollInterval,dwIsAlivePollInterval,ppResourceType)
  3027. #define ClusResTypes_DeleteItem(This,varIndex) \
  3028. (This)->lpVtbl -> DeleteItem(This,varIndex)
  3029. #define ClusResTypes_AddItem(This,pResourceType) \
  3030. (This)->lpVtbl -> AddItem(This,pResourceType)
  3031. #define ClusResTypes_RemoveItem(This,varIndex) \
  3032. (This)->lpVtbl -> RemoveItem(This,varIndex)
  3033. #define ClusResTypes_Refresh(This) \
  3034. (This)->lpVtbl -> Refresh(This)
  3035. #endif /* COBJMACROS */
  3036. #endif /* C style interface */
  3037. /* [propget] */ HRESULT STDMETHODCALLTYPE ClusResTypes_get_Count_Proxy(
  3038. ClusResTypes __RPC_FAR * This,
  3039. /* [retval][out] */ long __RPC_FAR *pnCount);
  3040. void __RPC_STUB ClusResTypes_get_Count_Stub(
  3041. IRpcStubBuffer *This,
  3042. IRpcChannelBuffer *_pRpcChannelBuffer,
  3043. PRPC_MESSAGE _pRpcMessage,
  3044. DWORD *_pdwStubPhase);
  3045. /* [id][propget] */ HRESULT STDMETHODCALLTYPE ClusResTypes_get_Item_Proxy(
  3046. ClusResTypes __RPC_FAR * This,
  3047. /* [in] */ VARIANT varIndex,
  3048. /* [retval][out] */ ClusResType __RPC_FAR *__RPC_FAR *ppResourceType);
  3049. void __RPC_STUB ClusResTypes_get_Item_Stub(
  3050. IRpcStubBuffer *This,
  3051. IRpcChannelBuffer *_pRpcChannelBuffer,
  3052. PRPC_MESSAGE _pRpcMessage,
  3053. DWORD *_pdwStubPhase);
  3054. /* [id][restricted][propget] */ HRESULT STDMETHODCALLTYPE ClusResTypes_get__NewEnum_Proxy(
  3055. ClusResTypes __RPC_FAR * This,
  3056. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppEnum);
  3057. void __RPC_STUB ClusResTypes_get__NewEnum_Stub(
  3058. IRpcStubBuffer *This,
  3059. IRpcChannelBuffer *_pRpcChannelBuffer,
  3060. PRPC_MESSAGE _pRpcMessage,
  3061. DWORD *_pdwStubPhase);
  3062. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ClusResTypes_CreateItem_Proxy(
  3063. ClusResTypes __RPC_FAR * This,
  3064. /* [in] */ BSTR bstrResourceTypeName,
  3065. /* [in] */ BSTR bstrDisplayName,
  3066. /* [in] */ BSTR bstrResourceTypeDll,
  3067. /* [in] */ LONG dwLooksAlivePollInterval,
  3068. /* [in] */ LONG dwIsAlivePollInterval,
  3069. /* [retval][out] */ ClusResType __RPC_FAR *__RPC_FAR *ppResourceType);
  3070. void __RPC_STUB ClusResTypes_CreateItem_Stub(
  3071. IRpcStubBuffer *This,
  3072. IRpcChannelBuffer *_pRpcChannelBuffer,
  3073. PRPC_MESSAGE _pRpcMessage,
  3074. DWORD *_pdwStubPhase);
  3075. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ClusResTypes_DeleteItem_Proxy(
  3076. ClusResTypes __RPC_FAR * This,
  3077. /* [in] */ VARIANT varIndex);
  3078. void __RPC_STUB ClusResTypes_DeleteItem_Stub(
  3079. IRpcStubBuffer *This,
  3080. IRpcChannelBuffer *_pRpcChannelBuffer,
  3081. PRPC_MESSAGE _pRpcMessage,
  3082. DWORD *_pdwStubPhase);
  3083. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ClusResTypes_AddItem_Proxy(
  3084. ClusResTypes __RPC_FAR * This,
  3085. /* [in] */ ClusResType __RPC_FAR *pResourceType);
  3086. void __RPC_STUB ClusResTypes_AddItem_Stub(
  3087. IRpcStubBuffer *This,
  3088. IRpcChannelBuffer *_pRpcChannelBuffer,
  3089. PRPC_MESSAGE _pRpcMessage,
  3090. DWORD *_pdwStubPhase);
  3091. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ClusResTypes_RemoveItem_Proxy(
  3092. ClusResTypes __RPC_FAR * This,
  3093. /* [in] */ VARIANT varIndex);
  3094. void __RPC_STUB ClusResTypes_RemoveItem_Stub(
  3095. IRpcStubBuffer *This,
  3096. IRpcChannelBuffer *_pRpcChannelBuffer,
  3097. PRPC_MESSAGE _pRpcMessage,
  3098. DWORD *_pdwStubPhase);
  3099. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ClusResTypes_Refresh_Proxy(
  3100. ClusResTypes __RPC_FAR * This);
  3101. void __RPC_STUB ClusResTypes_Refresh_Stub(
  3102. IRpcStubBuffer *This,
  3103. IRpcChannelBuffer *_pRpcChannelBuffer,
  3104. PRPC_MESSAGE _pRpcMessage,
  3105. DWORD *_pdwStubPhase);
  3106. #endif /* __ClusResTypes_INTERFACE_DEFINED__ */
  3107. #ifndef __ClusProperty_INTERFACE_DEFINED__
  3108. #define __ClusProperty_INTERFACE_DEFINED__
  3109. /****************************************
  3110. * Generated header for interface: ClusProperty
  3111. * at Fri Aug 08 11:36:24 1997
  3112. * using MIDL 3.00.44
  3113. ****************************************/
  3114. /* [unique][helpstring][dual][uuid][object] */
  3115. EXTERN_C const IID IID_ClusProperty;
  3116. #if defined(__cplusplus) && !defined(CINTERFACE)
  3117. interface ClusProperty : public IDispatch
  3118. {
  3119. public:
  3120. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Name(
  3121. /* [retval][out] */ BSTR __RPC_FAR *pbstrName) = 0;
  3122. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Value(
  3123. /* [retval][out] */ VARIANT __RPC_FAR *pvarValue) = 0;
  3124. virtual /* [id][propput] */ HRESULT STDMETHODCALLTYPE put_Value(
  3125. /* [in] */ VARIANT varValue) = 0;
  3126. };
  3127. #else /* C style interface */
  3128. typedef struct ClusPropertyVtbl
  3129. {
  3130. BEGIN_INTERFACE
  3131. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  3132. ClusProperty __RPC_FAR * This,
  3133. /* [in] */ REFIID riid,
  3134. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  3135. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  3136. ClusProperty __RPC_FAR * This);
  3137. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  3138. ClusProperty __RPC_FAR * This);
  3139. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  3140. ClusProperty __RPC_FAR * This,
  3141. /* [out] */ UINT __RPC_FAR *pctinfo);
  3142. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  3143. ClusProperty __RPC_FAR * This,
  3144. /* [in] */ UINT iTInfo,
  3145. /* [in] */ LCID lcid,
  3146. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  3147. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  3148. ClusProperty __RPC_FAR * This,
  3149. /* [in] */ REFIID riid,
  3150. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  3151. /* [in] */ UINT cNames,
  3152. /* [in] */ LCID lcid,
  3153. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  3154. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  3155. ClusProperty __RPC_FAR * This,
  3156. /* [in] */ DISPID dispIdMember,
  3157. /* [in] */ REFIID riid,
  3158. /* [in] */ LCID lcid,
  3159. /* [in] */ WORD wFlags,
  3160. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  3161. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  3162. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  3163. /* [out] */ UINT __RPC_FAR *puArgErr);
  3164. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Name )(
  3165. ClusProperty __RPC_FAR * This,
  3166. /* [retval][out] */ BSTR __RPC_FAR *pbstrName);
  3167. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Value )(
  3168. ClusProperty __RPC_FAR * This,
  3169. /* [retval][out] */ VARIANT __RPC_FAR *pvarValue);
  3170. /* [id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Value )(
  3171. ClusProperty __RPC_FAR * This,
  3172. /* [in] */ VARIANT varValue);
  3173. END_INTERFACE
  3174. } ClusPropertyVtbl;
  3175. interface ClusProperty
  3176. {
  3177. CONST_VTBL struct ClusPropertyVtbl __RPC_FAR *lpVtbl;
  3178. };
  3179. #ifdef COBJMACROS
  3180. #define ClusProperty_QueryInterface(This,riid,ppvObject) \
  3181. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3182. #define ClusProperty_AddRef(This) \
  3183. (This)->lpVtbl -> AddRef(This)
  3184. #define ClusProperty_Release(This) \
  3185. (This)->lpVtbl -> Release(This)
  3186. #define ClusProperty_GetTypeInfoCount(This,pctinfo) \
  3187. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3188. #define ClusProperty_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3189. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3190. #define ClusProperty_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3191. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3192. #define ClusProperty_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3193. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3194. #define ClusProperty_get_Name(This,pbstrName) \
  3195. (This)->lpVtbl -> get_Name(This,pbstrName)
  3196. #define ClusProperty_get_Value(This,pvarValue) \
  3197. (This)->lpVtbl -> get_Value(This,pvarValue)
  3198. #define ClusProperty_put_Value(This,varValue) \
  3199. (This)->lpVtbl -> put_Value(This,varValue)
  3200. #endif /* COBJMACROS */
  3201. #endif /* C style interface */
  3202. /* [propget] */ HRESULT STDMETHODCALLTYPE ClusProperty_get_Name_Proxy(
  3203. ClusProperty __RPC_FAR * This,
  3204. /* [retval][out] */ BSTR __RPC_FAR *pbstrName);
  3205. void __RPC_STUB ClusProperty_get_Name_Stub(
  3206. IRpcStubBuffer *This,
  3207. IRpcChannelBuffer *_pRpcChannelBuffer,
  3208. PRPC_MESSAGE _pRpcMessage,
  3209. DWORD *_pdwStubPhase);
  3210. /* [propget] */ HRESULT STDMETHODCALLTYPE ClusProperty_get_Value_Proxy(
  3211. ClusProperty __RPC_FAR * This,
  3212. /* [retval][out] */ VARIANT __RPC_FAR *pvarValue);
  3213. void __RPC_STUB ClusProperty_get_Value_Stub(
  3214. IRpcStubBuffer *This,
  3215. IRpcChannelBuffer *_pRpcChannelBuffer,
  3216. PRPC_MESSAGE _pRpcMessage,
  3217. DWORD *_pdwStubPhase);
  3218. /* [id][propput] */ HRESULT STDMETHODCALLTYPE ClusProperty_put_Value_Proxy(
  3219. ClusProperty __RPC_FAR * This,
  3220. /* [in] */ VARIANT varValue);
  3221. void __RPC_STUB ClusProperty_put_Value_Stub(
  3222. IRpcStubBuffer *This,
  3223. IRpcChannelBuffer *_pRpcChannelBuffer,
  3224. PRPC_MESSAGE _pRpcMessage,
  3225. DWORD *_pdwStubPhase);
  3226. #endif /* __ClusProperty_INTERFACE_DEFINED__ */
  3227. #ifndef __ClusProperties_INTERFACE_DEFINED__
  3228. #define __ClusProperties_INTERFACE_DEFINED__
  3229. /****************************************
  3230. * Generated header for interface: ClusProperties
  3231. * at Fri Aug 08 11:36:24 1997
  3232. * using MIDL 3.00.44
  3233. ****************************************/
  3234. /* [unique][helpstring][dual][uuid][object] */
  3235. EXTERN_C const IID IID_ClusProperties;
  3236. #if defined(__cplusplus) && !defined(CINTERFACE)
  3237. interface ClusProperties : public IDispatch
  3238. {
  3239. public:
  3240. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Count(
  3241. /* [retval][out] */ long __RPC_FAR *pnCount) = 0;
  3242. virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_Item(
  3243. /* [in] */ VARIANT varIndex,
  3244. /* [retval][out] */ ClusProperty __RPC_FAR *__RPC_FAR *ppProperty) = 0;
  3245. virtual /* [id][restricted][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
  3246. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppEnum) = 0;
  3247. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Add(
  3248. /* [in] */ BSTR bstrName,
  3249. /* [in] */ VARIANT varValue,
  3250. /* [retval][out] */ ClusProperty __RPC_FAR *__RPC_FAR *pProperty) = 0;
  3251. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Remove(
  3252. /* [in] */ VARIANT varIndex) = 0;
  3253. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Refresh( void) = 0;
  3254. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SaveChanges( void) = 0;
  3255. };
  3256. #else /* C style interface */
  3257. typedef struct ClusPropertiesVtbl
  3258. {
  3259. BEGIN_INTERFACE
  3260. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  3261. ClusProperties __RPC_FAR * This,
  3262. /* [in] */ REFIID riid,
  3263. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  3264. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  3265. ClusProperties __RPC_FAR * This);
  3266. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  3267. ClusProperties __RPC_FAR * This);
  3268. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  3269. ClusProperties __RPC_FAR * This,
  3270. /* [out] */ UINT __RPC_FAR *pctinfo);
  3271. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  3272. ClusProperties __RPC_FAR * This,
  3273. /* [in] */ UINT iTInfo,
  3274. /* [in] */ LCID lcid,
  3275. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  3276. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  3277. ClusProperties __RPC_FAR * This,
  3278. /* [in] */ REFIID riid,
  3279. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  3280. /* [in] */ UINT cNames,
  3281. /* [in] */ LCID lcid,
  3282. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  3283. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  3284. ClusProperties __RPC_FAR * This,
  3285. /* [in] */ DISPID dispIdMember,
  3286. /* [in] */ REFIID riid,
  3287. /* [in] */ LCID lcid,
  3288. /* [in] */ WORD wFlags,
  3289. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  3290. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  3291. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  3292. /* [out] */ UINT __RPC_FAR *puArgErr);
  3293. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Count )(
  3294. ClusProperties __RPC_FAR * This,
  3295. /* [retval][out] */ long __RPC_FAR *pnCount);
  3296. /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Item )(
  3297. ClusProperties __RPC_FAR * This,
  3298. /* [in] */ VARIANT varIndex,
  3299. /* [retval][out] */ ClusProperty __RPC_FAR *__RPC_FAR *ppProperty);
  3300. /* [id][restricted][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get__NewEnum )(
  3301. ClusProperties __RPC_FAR * This,
  3302. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppEnum);
  3303. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Add )(
  3304. ClusProperties __RPC_FAR * This,
  3305. /* [in] */ BSTR bstrName,
  3306. /* [in] */ VARIANT varValue,
  3307. /* [retval][out] */ ClusProperty __RPC_FAR *__RPC_FAR *pProperty);
  3308. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Remove )(
  3309. ClusProperties __RPC_FAR * This,
  3310. /* [in] */ VARIANT varIndex);
  3311. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Refresh )(
  3312. ClusProperties __RPC_FAR * This);
  3313. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SaveChanges )(
  3314. ClusProperties __RPC_FAR * This);
  3315. END_INTERFACE
  3316. } ClusPropertiesVtbl;
  3317. interface ClusProperties
  3318. {
  3319. CONST_VTBL struct ClusPropertiesVtbl __RPC_FAR *lpVtbl;
  3320. };
  3321. #ifdef COBJMACROS
  3322. #define ClusProperties_QueryInterface(This,riid,ppvObject) \
  3323. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3324. #define ClusProperties_AddRef(This) \
  3325. (This)->lpVtbl -> AddRef(This)
  3326. #define ClusProperties_Release(This) \
  3327. (This)->lpVtbl -> Release(This)
  3328. #define ClusProperties_GetTypeInfoCount(This,pctinfo) \
  3329. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3330. #define ClusProperties_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3331. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3332. #define ClusProperties_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3333. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3334. #define ClusProperties_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3335. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3336. #define ClusProperties_get_Count(This,pnCount) \
  3337. (This)->lpVtbl -> get_Count(This,pnCount)
  3338. #define ClusProperties_get_Item(This,varIndex,ppProperty) \
  3339. (This)->lpVtbl -> get_Item(This,varIndex,ppProperty)
  3340. #define ClusProperties_get__NewEnum(This,ppEnum) \
  3341. (This)->lpVtbl -> get__NewEnum(This,ppEnum)
  3342. #define ClusProperties_Add(This,bstrName,varValue,pProperty) \
  3343. (This)->lpVtbl -> Add(This,bstrName,varValue,pProperty)
  3344. #define ClusProperties_Remove(This,varIndex) \
  3345. (This)->lpVtbl -> Remove(This,varIndex)
  3346. #define ClusProperties_Refresh(This) \
  3347. (This)->lpVtbl -> Refresh(This)
  3348. #define ClusProperties_SaveChanges(This) \
  3349. (This)->lpVtbl -> SaveChanges(This)
  3350. #endif /* COBJMACROS */
  3351. #endif /* C style interface */
  3352. /* [propget] */ HRESULT STDMETHODCALLTYPE ClusProperties_get_Count_Proxy(
  3353. ClusProperties __RPC_FAR * This,
  3354. /* [retval][out] */ long __RPC_FAR *pnCount);
  3355. void __RPC_STUB ClusProperties_get_Count_Stub(
  3356. IRpcStubBuffer *This,
  3357. IRpcChannelBuffer *_pRpcChannelBuffer,
  3358. PRPC_MESSAGE _pRpcMessage,
  3359. DWORD *_pdwStubPhase);
  3360. /* [id][propget] */ HRESULT STDMETHODCALLTYPE ClusProperties_get_Item_Proxy(
  3361. ClusProperties __RPC_FAR * This,
  3362. /* [in] */ VARIANT varIndex,
  3363. /* [retval][out] */ ClusProperty __RPC_FAR *__RPC_FAR *ppProperty);
  3364. void __RPC_STUB ClusProperties_get_Item_Stub(
  3365. IRpcStubBuffer *This,
  3366. IRpcChannelBuffer *_pRpcChannelBuffer,
  3367. PRPC_MESSAGE _pRpcMessage,
  3368. DWORD *_pdwStubPhase);
  3369. /* [id][restricted][propget] */ HRESULT STDMETHODCALLTYPE ClusProperties_get__NewEnum_Proxy(
  3370. ClusProperties __RPC_FAR * This,
  3371. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppEnum);
  3372. void __RPC_STUB ClusProperties_get__NewEnum_Stub(
  3373. IRpcStubBuffer *This,
  3374. IRpcChannelBuffer *_pRpcChannelBuffer,
  3375. PRPC_MESSAGE _pRpcMessage,
  3376. DWORD *_pdwStubPhase);
  3377. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ClusProperties_Add_Proxy(
  3378. ClusProperties __RPC_FAR * This,
  3379. /* [in] */ BSTR bstrName,
  3380. /* [in] */ VARIANT varValue,
  3381. /* [retval][out] */ ClusProperty __RPC_FAR *__RPC_FAR *pProperty);
  3382. void __RPC_STUB ClusProperties_Add_Stub(
  3383. IRpcStubBuffer *This,
  3384. IRpcChannelBuffer *_pRpcChannelBuffer,
  3385. PRPC_MESSAGE _pRpcMessage,
  3386. DWORD *_pdwStubPhase);
  3387. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ClusProperties_Remove_Proxy(
  3388. ClusProperties __RPC_FAR * This,
  3389. /* [in] */ VARIANT varIndex);
  3390. void __RPC_STUB ClusProperties_Remove_Stub(
  3391. IRpcStubBuffer *This,
  3392. IRpcChannelBuffer *_pRpcChannelBuffer,
  3393. PRPC_MESSAGE _pRpcMessage,
  3394. DWORD *_pdwStubPhase);
  3395. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ClusProperties_Refresh_Proxy(
  3396. ClusProperties __RPC_FAR * This);
  3397. void __RPC_STUB ClusProperties_Refresh_Stub(
  3398. IRpcStubBuffer *This,
  3399. IRpcChannelBuffer *_pRpcChannelBuffer,
  3400. PRPC_MESSAGE _pRpcMessage,
  3401. DWORD *_pdwStubPhase);
  3402. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ClusProperties_SaveChanges_Proxy(
  3403. ClusProperties __RPC_FAR * This);
  3404. void __RPC_STUB ClusProperties_SaveChanges_Stub(
  3405. IRpcStubBuffer *This,
  3406. IRpcChannelBuffer *_pRpcChannelBuffer,
  3407. PRPC_MESSAGE _pRpcMessage,
  3408. DWORD *_pdwStubPhase);
  3409. #endif /* __ClusProperties_INTERFACE_DEFINED__ */
  3410. #ifndef __MSClusterLib_LIBRARY_DEFINED__
  3411. #define __MSClusterLib_LIBRARY_DEFINED__
  3412. /****************************************
  3413. * Generated header for library: MSClusterLib
  3414. * at Fri Aug 08 11:36:24 1997
  3415. * using MIDL 3.00.44
  3416. ****************************************/
  3417. /* [helpstring][version][uuid] */
  3418. EXTERN_C const IID LIBID_MSClusterLib;
  3419. #ifdef __cplusplus
  3420. EXTERN_C const CLSID CLSID_Application;
  3421. class Application;
  3422. #endif
  3423. #ifdef __cplusplus
  3424. EXTERN_C const CLSID CLSID_Cluster;
  3425. class Cluster;
  3426. #endif
  3427. #ifdef __cplusplus
  3428. EXTERN_C const CLSID CLSID_ClusterDomain;
  3429. class ClusterDomain;
  3430. #endif
  3431. #endif /* __MSClusterLib_LIBRARY_DEFINED__ */
  3432. /* Additional Prototypes for ALL interfaces */
  3433. unsigned long __RPC_USER BSTR_UserSize( unsigned long __RPC_FAR *, unsigned long , BSTR __RPC_FAR * );
  3434. unsigned char __RPC_FAR * __RPC_USER BSTR_UserMarshal( unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * );
  3435. unsigned char __RPC_FAR * __RPC_USER BSTR_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * );
  3436. void __RPC_USER BSTR_UserFree( unsigned long __RPC_FAR *, BSTR __RPC_FAR * );
  3437. unsigned long __RPC_USER VARIANT_UserSize( unsigned long __RPC_FAR *, unsigned long , VARIANT __RPC_FAR * );
  3438. unsigned char __RPC_FAR * __RPC_USER VARIANT_UserMarshal( unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, VARIANT __RPC_FAR * );
  3439. unsigned char __RPC_FAR * __RPC_USER VARIANT_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, VARIANT __RPC_FAR * );
  3440. void __RPC_USER VARIANT_UserFree( unsigned long __RPC_FAR *, VARIANT __RPC_FAR * );
  3441. /* end of Additional Prototypes */
  3442. #ifdef __cplusplus
  3443. }
  3444. #endif
  3445. #endif