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.

647 lines
21 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 3.00.44 */
  3. /* at Tue Mar 04 14:21:58 1997
  4. */
  5. /* Compiler settings for clusrpc.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 __clusrpc_h__
  13. #define __clusrpc_h__
  14. #ifdef __cplusplus
  15. extern "C"{
  16. #endif
  17. /* Forward Declarations */
  18. /* header files for imported files */
  19. #include "wtypes.h"
  20. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  21. void __RPC_USER MIDL_user_free( void __RPC_FAR * );
  22. #ifndef __IntraCluster_INTERFACE_DEFINED__
  23. #define __IntraCluster_INTERFACE_DEFINED__
  24. /****************************************
  25. * Generated header for interface: IntraCluster
  26. * at Tue Mar 04 14:21:58 1997
  27. * using MIDL 3.00.44
  28. ****************************************/
  29. /* [explicit_handle][version][uuid] */
  30. typedef WCHAR __RPC_FAR CLUSTER_ID[ 37 ];
  31. typedef /* [context_handle] */ void __RPC_FAR *HGROUP_ENUM_RPC;
  32. typedef
  33. enum _GROUP_STATE
  34. { GroupOnline = 0,
  35. GroupOffline = GroupOnline + 1,
  36. GroupFailed = GroupOffline + 1,
  37. GroupPartialOnline = GroupFailed + 1
  38. } GROUP_STATE;
  39. typedef struct _GROUP_ENUM_ENTRY
  40. {
  41. /* [string] */ LPWSTR Id;
  42. DWORD State;
  43. } GROUP_ENUM_ENTRY;
  44. typedef struct _GROUP_ENUM_ENTRY __RPC_FAR *PGROUP_ENUM_ENTRY;
  45. typedef struct _GROUP_ENUM
  46. {
  47. DWORD EntryCount;
  48. /* [size_is] */ GROUP_ENUM_ENTRY Entry[ 1 ];
  49. } GROUP_ENUM;
  50. typedef struct _GROUP_ENUM __RPC_FAR *PGROUP_ENUM;
  51. typedef struct _RESOURCE_ENUM_ENTRY
  52. {
  53. /* [string] */ LPWSTR Id;
  54. DWORD State;
  55. } RESOURCE_ENUM_ENTRY;
  56. typedef struct _RESOURCE_ENUM_ENTRY __RPC_FAR *PRESOURCE_ENUM_ENTRY;
  57. typedef struct _RESOURCE_ENUM
  58. {
  59. DWORD EntryCount;
  60. /* [size_is] */ RESOURCE_ENUM_ENTRY Entry[ 1 ];
  61. } RESOURCE_ENUM;
  62. typedef struct _RESOURCE_ENUM __RPC_FAR *PRESOURCE_ENUM;
  63. /* client prototype */
  64. /* [fault_status][comm_status] */ error_status_t FmsQueryOwnedGroups(
  65. /* [in] */ handle_t IDL_handle,
  66. /* [out] */ PGROUP_ENUM __RPC_FAR *OwnedGroups,
  67. /* [out] */ PRESOURCE_ENUM __RPC_FAR *OwnedResources);
  68. /* server prototype */
  69. /* [fault_status][comm_status] */ error_status_t s_FmsQueryOwnedGroups(
  70. /* [in] */ handle_t IDL_handle,
  71. /* [out] */ PGROUP_ENUM __RPC_FAR *OwnedGroups,
  72. /* [out] */ PRESOURCE_ENUM __RPC_FAR *OwnedResources);
  73. /* client prototype */
  74. /* [fault_status][comm_status] */ error_status_t FmsOnlineGroupRequest(
  75. /* [in] */ handle_t IDL_handle,
  76. /* [in] */ LPCWSTR GroupId);
  77. /* server prototype */
  78. /* [fault_status][comm_status] */ error_status_t s_FmsOnlineGroupRequest(
  79. /* [in] */ handle_t IDL_handle,
  80. /* [in] */ LPCWSTR GroupId);
  81. /* client prototype */
  82. /* [fault_status][comm_status] */ error_status_t FmsOfflineGroupRequest(
  83. /* [in] */ handle_t IDL_handle,
  84. /* [in] */ LPCWSTR GroupId);
  85. /* server prototype */
  86. /* [fault_status][comm_status] */ error_status_t s_FmsOfflineGroupRequest(
  87. /* [in] */ handle_t IDL_handle,
  88. /* [in] */ LPCWSTR GroupId);
  89. /* client prototype */
  90. /* [fault_status][comm_status] */ error_status_t FmsMoveGroupRequest(
  91. /* [in] */ handle_t IDL_handle,
  92. /* [in] */ LPCWSTR GroupId,
  93. /* [unique][in] */ LPCWSTR DestinationNode);
  94. /* server prototype */
  95. /* [fault_status][comm_status] */ error_status_t s_FmsMoveGroupRequest(
  96. /* [in] */ handle_t IDL_handle,
  97. /* [in] */ LPCWSTR GroupId,
  98. /* [unique][in] */ LPCWSTR DestinationNode);
  99. /* client prototype */
  100. /* [fault_status][comm_status] */ error_status_t FmsTakeGroupRequest(
  101. /* [in] */ handle_t IDL_handle,
  102. /* [in] */ LPCWSTR GroupId,
  103. /* [in] */ DWORD State);
  104. /* server prototype */
  105. /* [fault_status][comm_status] */ error_status_t s_FmsTakeGroupRequest(
  106. /* [in] */ handle_t IDL_handle,
  107. /* [in] */ LPCWSTR GroupId,
  108. /* [in] */ DWORD State);
  109. /* client prototype */
  110. /* [fault_status][comm_status] */ error_status_t FmsOnlineResourceRequest(
  111. /* [in] */ handle_t IDL_handle,
  112. /* [in] */ LPCWSTR ResourceId);
  113. /* server prototype */
  114. /* [fault_status][comm_status] */ error_status_t s_FmsOnlineResourceRequest(
  115. /* [in] */ handle_t IDL_handle,
  116. /* [in] */ LPCWSTR ResourceId);
  117. /* client prototype */
  118. /* [fault_status][comm_status] */ error_status_t FmsOfflineResourceRequest(
  119. /* [in] */ handle_t IDL_handle,
  120. /* [in] */ LPCWSTR ResourceId);
  121. /* server prototype */
  122. /* [fault_status][comm_status] */ error_status_t s_FmsOfflineResourceRequest(
  123. /* [in] */ handle_t IDL_handle,
  124. /* [in] */ LPCWSTR ResourceId);
  125. /* client prototype */
  126. /* [fault_status][comm_status] */ error_status_t FmsChangeResourceNode(
  127. /* [in] */ handle_t IDL_handle,
  128. /* [in] */ LPCWSTR ResourceId,
  129. /* [in] */ LPCWSTR NodeId,
  130. /* [in] */ BOOL Add);
  131. /* server prototype */
  132. /* [fault_status][comm_status] */ error_status_t s_FmsChangeResourceNode(
  133. /* [in] */ handle_t IDL_handle,
  134. /* [in] */ LPCWSTR ResourceId,
  135. /* [in] */ LPCWSTR NodeId,
  136. /* [in] */ BOOL Add);
  137. /* client prototype */
  138. /* [fault_status][comm_status] */ error_status_t FmsArbitrateResource(
  139. /* [in] */ handle_t IDL_handle,
  140. /* [in] */ LPCWSTR ResourceId);
  141. /* server prototype */
  142. /* [fault_status][comm_status] */ error_status_t s_FmsArbitrateResource(
  143. /* [in] */ handle_t IDL_handle,
  144. /* [in] */ LPCWSTR ResourceId);
  145. /* client prototype */
  146. /* [fault_status][comm_status] */ error_status_t FmsFailResource(
  147. /* [in] */ handle_t IDL_handle,
  148. /* [in] */ LPCWSTR ResourceId);
  149. /* server prototype */
  150. /* [fault_status][comm_status] */ error_status_t s_FmsFailResource(
  151. /* [in] */ handle_t IDL_handle,
  152. /* [in] */ LPCWSTR ResourceId);
  153. /* client prototype */
  154. /* [fault_status][comm_status] */ error_status_t FmsCreateResource(
  155. /* [in] */ handle_t IDL_handle,
  156. /* [in] */ LPCWSTR GroupId,
  157. /* [in] */ LPWSTR ResourceId,
  158. /* [in] */ LPCWSTR ResourceName);
  159. /* server prototype */
  160. /* [fault_status][comm_status] */ error_status_t s_FmsCreateResource(
  161. /* [in] */ handle_t IDL_handle,
  162. /* [in] */ LPCWSTR GroupId,
  163. /* [in] */ LPWSTR ResourceId,
  164. /* [in] */ LPCWSTR ResourceName);
  165. /* client prototype */
  166. /* [fault_status][comm_status] */ error_status_t FmsDeleteResource(
  167. /* [in] */ handle_t IDL_handle,
  168. /* [in] */ LPCWSTR ResourceId);
  169. /* server prototype */
  170. /* [fault_status][comm_status] */ error_status_t s_FmsDeleteResource(
  171. /* [in] */ handle_t IDL_handle,
  172. /* [in] */ LPCWSTR ResourceId);
  173. /* client prototype */
  174. /* [fault_status][comm_status] */ error_status_t FmsResourceControl(
  175. /* [in] */ handle_t IDL_handle,
  176. /* [in] */ LPCWSTR ResourceId,
  177. /* [in] */ DWORD ControlCode,
  178. /* [size_is][unique][in] */ UCHAR __RPC_FAR *InBuffer,
  179. /* [in] */ DWORD InBufferSize,
  180. /* [length_is][size_is][out] */ UCHAR __RPC_FAR *OutBuffer,
  181. /* [in] */ DWORD OutBufferSize,
  182. /* [out] */ LPDWORD BytesReturned,
  183. /* [out] */ LPDWORD Required);
  184. /* server prototype */
  185. /* [fault_status][comm_status] */ error_status_t s_FmsResourceControl(
  186. /* [in] */ handle_t IDL_handle,
  187. /* [in] */ LPCWSTR ResourceId,
  188. /* [in] */ DWORD ControlCode,
  189. /* [size_is][unique][in] */ UCHAR __RPC_FAR *InBuffer,
  190. /* [in] */ DWORD InBufferSize,
  191. /* [length_is][size_is][out] */ UCHAR __RPC_FAR *OutBuffer,
  192. /* [in] */ DWORD OutBufferSize,
  193. /* [out] */ LPDWORD BytesReturned,
  194. /* [out] */ LPDWORD Required);
  195. /* client prototype */
  196. /* [fault_status][comm_status] */ error_status_t FmsResourceTypeControl(
  197. /* [in] */ handle_t IDL_handle,
  198. /* [in] */ LPCWSTR ResourceTypeName,
  199. /* [in] */ DWORD ControlCode,
  200. /* [size_is][unique][in] */ UCHAR __RPC_FAR *InBuffer,
  201. /* [in] */ DWORD InBufferSize,
  202. /* [length_is][size_is][out] */ UCHAR __RPC_FAR *OutBuffer,
  203. /* [in] */ DWORD OutBufferSize,
  204. /* [out] */ LPDWORD BytesReturned,
  205. /* [out] */ LPDWORD Required);
  206. /* server prototype */
  207. /* [fault_status][comm_status] */ error_status_t s_FmsResourceTypeControl(
  208. /* [in] */ handle_t IDL_handle,
  209. /* [in] */ LPCWSTR ResourceTypeName,
  210. /* [in] */ DWORD ControlCode,
  211. /* [size_is][unique][in] */ UCHAR __RPC_FAR *InBuffer,
  212. /* [in] */ DWORD InBufferSize,
  213. /* [length_is][size_is][out] */ UCHAR __RPC_FAR *OutBuffer,
  214. /* [in] */ DWORD OutBufferSize,
  215. /* [out] */ LPDWORD BytesReturned,
  216. /* [out] */ LPDWORD Required);
  217. /* client prototype */
  218. /* [fault_status][comm_status] */ error_status_t FmsGroupControl(
  219. /* [in] */ handle_t IDL_handle,
  220. /* [in] */ LPCWSTR GroupId,
  221. /* [in] */ DWORD ControlCode,
  222. /* [size_is][unique][in] */ UCHAR __RPC_FAR *InBuffer,
  223. /* [in] */ DWORD InBufferSize,
  224. /* [length_is][size_is][out] */ UCHAR __RPC_FAR *OutBuffer,
  225. /* [in] */ DWORD OutBufferSize,
  226. /* [out] */ LPDWORD BytesReturned,
  227. /* [out] */ LPDWORD Required);
  228. /* server prototype */
  229. /* [fault_status][comm_status] */ error_status_t s_FmsGroupControl(
  230. /* [in] */ handle_t IDL_handle,
  231. /* [in] */ LPCWSTR GroupId,
  232. /* [in] */ DWORD ControlCode,
  233. /* [size_is][unique][in] */ UCHAR __RPC_FAR *InBuffer,
  234. /* [in] */ DWORD InBufferSize,
  235. /* [length_is][size_is][out] */ UCHAR __RPC_FAR *OutBuffer,
  236. /* [in] */ DWORD OutBufferSize,
  237. /* [out] */ LPDWORD BytesReturned,
  238. /* [out] */ LPDWORD Required);
  239. typedef /* [allocate] */ UCHAR __RPC_FAR *PGUM_DATA;
  240. /* client prototype */
  241. error_status_t GumQueueLockingUpdate(
  242. /* [in] */ handle_t IDL_handle,
  243. /* [in] */ DWORD NodeId,
  244. /* [in] */ DWORD Type,
  245. /* [in] */ DWORD Context,
  246. /* [out] */ LPDWORD Sequence,
  247. /* [in] */ DWORD BufferLength,
  248. /* [size_is][in] */ PGUM_DATA Buffer);
  249. /* server prototype */
  250. error_status_t s_GumQueueLockingUpdate(
  251. /* [in] */ handle_t IDL_handle,
  252. /* [in] */ DWORD NodeId,
  253. /* [in] */ DWORD Type,
  254. /* [in] */ DWORD Context,
  255. /* [out] */ LPDWORD Sequence,
  256. /* [in] */ DWORD BufferLength,
  257. /* [size_is][in] */ PGUM_DATA Buffer);
  258. /* client prototype */
  259. /* [fault_status][comm_status] */ error_status_t GumAttemptJoinUpdate(
  260. /* [in] */ handle_t IDL_handle,
  261. /* [in] */ DWORD JoiningId,
  262. /* [in] */ DWORD Type,
  263. /* [in] */ DWORD Context,
  264. /* [in] */ DWORD Sequence,
  265. /* [in] */ DWORD BufferLength,
  266. /* [size_is][unique][in] */ PGUM_DATA Buffer);
  267. /* server prototype */
  268. /* [fault_status][comm_status] */ error_status_t s_GumAttemptJoinUpdate(
  269. /* [in] */ handle_t IDL_handle,
  270. /* [in] */ DWORD JoiningId,
  271. /* [in] */ DWORD Type,
  272. /* [in] */ DWORD Context,
  273. /* [in] */ DWORD Sequence,
  274. /* [in] */ DWORD BufferLength,
  275. /* [size_is][unique][in] */ PGUM_DATA Buffer);
  276. /* client prototype */
  277. error_status_t GumUnlockUpdate(
  278. /* [in] */ handle_t IDL_handle,
  279. /* [in] */ DWORD Type,
  280. /* [in] */ DWORD Sequence);
  281. /* server prototype */
  282. error_status_t s_GumUnlockUpdate(
  283. /* [in] */ handle_t IDL_handle,
  284. /* [in] */ DWORD Type,
  285. /* [in] */ DWORD Sequence);
  286. /* client prototype */
  287. error_status_t GumUpdateNode(
  288. /* [in] */ handle_t IDL_handle,
  289. /* [in] */ DWORD Type,
  290. /* [in] */ DWORD Context,
  291. /* [in] */ DWORD Sequence,
  292. /* [in] */ DWORD BufferLength,
  293. /* [size_is][in] */ PGUM_DATA Buffer);
  294. /* server prototype */
  295. error_status_t s_GumUpdateNode(
  296. /* [in] */ handle_t IDL_handle,
  297. /* [in] */ DWORD Type,
  298. /* [in] */ DWORD Context,
  299. /* [in] */ DWORD Sequence,
  300. /* [in] */ DWORD BufferLength,
  301. /* [size_is][in] */ PGUM_DATA Buffer);
  302. /* client prototype */
  303. error_status_t GumJoinUpdateNode(
  304. /* [in] */ handle_t IDL_handle,
  305. /* [in] */ DWORD JoiningId,
  306. /* [in] */ DWORD Type,
  307. /* [in] */ DWORD Context,
  308. /* [in] */ DWORD Sequence,
  309. /* [in] */ DWORD BufferLength,
  310. /* [size_is][unique][in] */ PGUM_DATA Buffer);
  311. /* server prototype */
  312. error_status_t s_GumJoinUpdateNode(
  313. /* [in] */ handle_t IDL_handle,
  314. /* [in] */ DWORD JoiningId,
  315. /* [in] */ DWORD Type,
  316. /* [in] */ DWORD Context,
  317. /* [in] */ DWORD Sequence,
  318. /* [in] */ DWORD BufferLength,
  319. /* [size_is][unique][in] */ PGUM_DATA Buffer);
  320. typedef struct _GUM_NODE_LIST
  321. {
  322. DWORD NodeCount;
  323. /* [size_is] */ DWORD NodeId[ 1 ];
  324. } GUM_NODE_LIST;
  325. typedef struct _GUM_NODE_LIST __RPC_FAR *PGUM_NODE_LIST;
  326. /* client prototype */
  327. error_status_t GumGetNodeSequence(
  328. /* [in] */ handle_t IDL_handle,
  329. /* [in] */ DWORD Type,
  330. /* [out] */ LPDWORD Sequence,
  331. /* [out] */ LPDWORD LockerNodeId,
  332. /* [out] */ PGUM_NODE_LIST __RPC_FAR *NodeList);
  333. /* server prototype */
  334. error_status_t s_GumGetNodeSequence(
  335. /* [in] */ handle_t IDL_handle,
  336. /* [in] */ DWORD Type,
  337. /* [out] */ LPDWORD Sequence,
  338. /* [out] */ LPDWORD LockerNodeId,
  339. /* [out] */ PGUM_NODE_LIST __RPC_FAR *NodeList);
  340. /* client prototype */
  341. /* [fault_status][comm_status] */ error_status_t MmMsgSend(
  342. /* [in] */ handle_t IDL_handle,
  343. /* [size_is][in] */ const UCHAR __RPC_FAR *buffer,
  344. /* [in] */ DWORD length);
  345. /* server prototype */
  346. /* [fault_status][comm_status] */ error_status_t s_MmMsgSend(
  347. /* [in] */ handle_t IDL_handle,
  348. /* [size_is][in] */ const UCHAR __RPC_FAR *buffer,
  349. /* [in] */ DWORD length);
  350. /* client prototype */
  351. /* [fault_status][comm_status] */ error_status_t NmRpcDeliverJoinMessage(
  352. /* [in] */ handle_t IDL_handle,
  353. /* [size_is][in] */ UCHAR __RPC_FAR *Message,
  354. /* [in] */ DWORD MessageLength);
  355. /* server prototype */
  356. /* [fault_status][comm_status] */ error_status_t s_NmRpcDeliverJoinMessage(
  357. /* [in] */ handle_t IDL_handle,
  358. /* [size_is][in] */ UCHAR __RPC_FAR *Message,
  359. /* [in] */ DWORD MessageLength);
  360. typedef struct pipe_BYTE_PIPE
  361. {
  362. void (__RPC_FAR * pull) (
  363. char __RPC_FAR * state,
  364. byte __RPC_FAR * buf,
  365. unsigned long esize,
  366. unsigned long __RPC_FAR * ecount );
  367. void (__RPC_FAR * push) (
  368. char __RPC_FAR * state,
  369. byte __RPC_FAR * buf,
  370. unsigned long ecount );
  371. void (__RPC_FAR * alloc) (
  372. char __RPC_FAR * state,
  373. unsigned long bsize,
  374. byte __RPC_FAR * __RPC_FAR * buf,
  375. unsigned long __RPC_FAR * bcount );
  376. char __RPC_FAR * state;
  377. } BYTE_PIPE;
  378. /* client prototype */
  379. /* [fault_status][comm_status] */ error_status_t CpDepositCheckpoint(
  380. /* [in] */ handle_t IDL_handle,
  381. /* [in] */ const CLUSTER_ID ResourceId,
  382. /* [in] */ DWORD dwCheckpointId,
  383. /* [in] */ BYTE_PIPE CheckpointData);
  384. /* server prototype */
  385. /* [fault_status][comm_status] */ error_status_t s_CpDepositCheckpoint(
  386. /* [in] */ handle_t IDL_handle,
  387. /* [in] */ const CLUSTER_ID ResourceId,
  388. /* [in] */ DWORD dwCheckpointId,
  389. /* [in] */ BYTE_PIPE CheckpointData);
  390. /* client prototype */
  391. /* [fault_status][comm_status] */ error_status_t CpRetrieveCheckpoint(
  392. /* [in] */ handle_t IDL_handle,
  393. /* [in] */ const CLUSTER_ID ResourceId,
  394. /* [in] */ DWORD dwCheckpointId,
  395. /* [out] */ BYTE_PIPE CheckpointData);
  396. /* server prototype */
  397. /* [fault_status][comm_status] */ error_status_t s_CpRetrieveCheckpoint(
  398. /* [in] */ handle_t IDL_handle,
  399. /* [in] */ const CLUSTER_ID ResourceId,
  400. /* [in] */ DWORD dwCheckpointId,
  401. /* [out] */ BYTE_PIPE CheckpointData);
  402. /* client prototype */
  403. /* [fault_status][comm_status] */ error_status_t EvPropEvents(
  404. /* [in] */ handle_t IDL_handle,
  405. /* [in] */ DWORD dwEventInfoSize,
  406. /* [size_is][in] */ UCHAR __RPC_FAR *pPackedEventInfo);
  407. /* server prototype */
  408. /* [fault_status][comm_status] */ error_status_t s_EvPropEvents(
  409. /* [in] */ handle_t IDL_handle,
  410. /* [in] */ DWORD dwEventInfoSize,
  411. /* [size_is][in] */ UCHAR __RPC_FAR *pPackedEventInfo);
  412. extern RPC_IF_HANDLE IntraCluster_v1_0_c_ifspec;
  413. extern RPC_IF_HANDLE s_IntraCluster_v1_0_s_ifspec;
  414. #endif /* __IntraCluster_INTERFACE_DEFINED__ */
  415. #ifndef __ExtroCluster_INTERFACE_DEFINED__
  416. #define __ExtroCluster_INTERFACE_DEFINED__
  417. /****************************************
  418. * Generated header for interface: ExtroCluster
  419. * at Tue Mar 04 14:21:58 1997
  420. * using MIDL 3.00.44
  421. ****************************************/
  422. /* [explicit_handle][version][uuid] */
  423. #define CS_MAX_NODE_NAME_LENGTH ( 15 )
  424. #define CS_MAX_NODE_ID_LENGTH ( 5 )
  425. #define CS_NETWORK_ID_LENGTH ( 36 )
  426. typedef struct _NM_NODE_INFO
  427. {
  428. /* [string] */ WCHAR NodeId[ 6 ];
  429. /* [string] */ WCHAR NodeName[ 16 ];
  430. DWORD State;
  431. } NM_NODE_INFO;
  432. typedef struct _NM_NODE_INFO __RPC_FAR *PNM_NODE_INFO;
  433. typedef struct _NM_NODE_ENUM
  434. {
  435. DWORD NodeCount;
  436. /* [size_is] */ NM_NODE_INFO NodeList[ 1 ];
  437. } NM_NODE_ENUM;
  438. typedef struct _NM_NODE_ENUM __RPC_FAR *PNM_NODE_ENUM;
  439. typedef struct _NM_NETWORK_NODE_INFO
  440. {
  441. /* [string] */ WCHAR NodeId[ 6 ];
  442. /* [string] */ LPWSTR AdapterName;
  443. /* [string] */ LPWSTR Address;
  444. /* [string] */ LPWSTR Endpoint;
  445. } NM_NETWORK_NODE_INFO;
  446. typedef struct _NM_NETWORK_NODE_INFO __RPC_FAR *PNM_NETWORK_NODE_INFO;
  447. typedef struct _NM_NETWORK_NODE_ENUM
  448. {
  449. DWORD NetworkNodeCount;
  450. /* [size_is] */ NM_NETWORK_NODE_INFO NetworkNodeList[ 1 ];
  451. } NM_NETWORK_NODE_ENUM;
  452. typedef struct _NM_NETWORK_NODE_ENUM __RPC_FAR *PNM_NETWORK_NODE_ENUM;
  453. typedef struct _NM_NETWORK_INFO
  454. {
  455. /* [string] */ WCHAR NetworkId[ 37 ];
  456. /* [string] */ LPWSTR NetworkName;
  457. DWORD Priority;
  458. /* [string] */ LPWSTR TransportName;
  459. DWORD IsPublicNetwork;
  460. DWORD IsClusterInterconnect;
  461. PNM_NETWORK_NODE_ENUM NetworkNodeEnum;
  462. } NM_NETWORK_INFO;
  463. typedef struct _NM_NETWORK_INFO __RPC_FAR *PNM_NETWORK_INFO;
  464. typedef struct _NM_NETWORK_ENUM
  465. {
  466. DWORD NetworkCount;
  467. /* [size_is] */ NM_NETWORK_INFO NetworkList[ 1 ];
  468. } NM_NETWORK_ENUM;
  469. typedef struct _NM_NETWORK_ENUM __RPC_FAR *PNM_NETWORK_ENUM;
  470. /* client prototype */
  471. /* [fault_status][comm_status] */ error_status_t NmRpcGetNodeEnum(
  472. /* [in] */ handle_t IDL_handle,
  473. /* [out] */ PNM_NODE_ENUM __RPC_FAR *NodeEnum);
  474. /* server prototype */
  475. /* [fault_status][comm_status] */ error_status_t s_NmRpcGetNodeEnum(
  476. /* [in] */ handle_t IDL_handle,
  477. /* [out] */ PNM_NODE_ENUM __RPC_FAR *NodeEnum);
  478. /* client prototype */
  479. /* [fault_status][comm_status] */ error_status_t NmRpcGetNetworkEnum(
  480. /* [in] */ handle_t IDL_handle,
  481. /* [out] */ PNM_NETWORK_ENUM __RPC_FAR *NetworkEnum);
  482. /* server prototype */
  483. /* [fault_status][comm_status] */ error_status_t s_NmRpcGetNetworkEnum(
  484. /* [in] */ handle_t IDL_handle,
  485. /* [out] */ PNM_NETWORK_ENUM __RPC_FAR *NetworkEnum);
  486. /* client prototype */
  487. /* [fault_status][comm_status] */ error_status_t NmRpcSetNetworkNodeInfo(
  488. /* [in] */ handle_t IDL_handle,
  489. /* [string][in] */ LPWSTR NetworkId,
  490. /* [string][in] */ LPWSTR NodeId,
  491. /* [string][in] */ LPWSTR AdapterName,
  492. /* [string][in] */ LPWSTR Address,
  493. /* [string][in] */ LPWSTR Endpoint);
  494. /* server prototype */
  495. /* [fault_status][comm_status] */ error_status_t s_NmRpcSetNetworkNodeInfo(
  496. /* [in] */ handle_t IDL_handle,
  497. /* [string][in] */ LPWSTR NetworkId,
  498. /* [string][in] */ LPWSTR NodeId,
  499. /* [string][in] */ LPWSTR AdapterName,
  500. /* [string][in] */ LPWSTR Address,
  501. /* [string][in] */ LPWSTR Endpoint);
  502. /* client prototype */
  503. /* [fault_status][comm_status] */ error_status_t NmRpcJoinBegin(
  504. /* [in] */ handle_t IDL_handle,
  505. /* [string][in] */ LPWSTR JoinerNodeId,
  506. /* [string][out] */ LPWSTR __RPC_FAR *SponsorNodeId,
  507. /* [out] */ LPDWORD JoinSequenceNumber);
  508. /* server prototype */
  509. /* [fault_status][comm_status] */ error_status_t s_NmRpcJoinBegin(
  510. /* [in] */ handle_t IDL_handle,
  511. /* [string][in] */ LPWSTR JoinerNodeId,
  512. /* [string][out] */ LPWSTR __RPC_FAR *SponsorNodeId,
  513. /* [out] */ LPDWORD JoinSequenceNumber);
  514. /* client prototype */
  515. /* [fault_status][comm_status] */ error_status_t JoinCreateBindings(
  516. /* [in] */ handle_t IDL_handle,
  517. /* [in] */ DWORD NodeId,
  518. /* [string][in] */ LPCWSTR lpszNodeId);
  519. /* server prototype */
  520. /* [fault_status][comm_status] */ error_status_t s_JoinCreateBindings(
  521. /* [in] */ handle_t IDL_handle,
  522. /* [in] */ DWORD NodeId,
  523. /* [string][in] */ LPCWSTR lpszNodeId);
  524. /* client prototype */
  525. /* [fault_status][comm_status] */ error_status_t JoinPetitionForMembership(
  526. /* [in] */ handle_t IDL_handle,
  527. /* [in] */ DWORD NodeId,
  528. /* [string][in] */ LPCWSTR lpszNodeId,
  529. /* [in] */ DWORD Sequence);
  530. /* server prototype */
  531. /* [fault_status][comm_status] */ error_status_t s_JoinPetitionForMembership(
  532. /* [in] */ handle_t IDL_handle,
  533. /* [in] */ DWORD NodeId,
  534. /* [string][in] */ LPCWSTR lpszNodeId,
  535. /* [in] */ DWORD Sequence);
  536. /* client prototype */
  537. /* [fault_status][comm_status] */ error_status_t JoinAddNode(
  538. /* [in] */ handle_t IDL_handle,
  539. /* [string][in] */ LPCWSTR lpszNodeId);
  540. /* server prototype */
  541. /* [fault_status][comm_status] */ error_status_t s_JoinAddNode(
  542. /* [in] */ handle_t IDL_handle,
  543. /* [string][in] */ LPCWSTR lpszNodeId);
  544. /* client prototype */
  545. /* [fault_status][comm_status] */ error_status_t DmSyncDatabase(
  546. /* [in] */ handle_t IDL_handle,
  547. /* [out] */ BYTE_PIPE reg_data);
  548. /* server prototype */
  549. /* [fault_status][comm_status] */ error_status_t s_DmSyncDatabase(
  550. /* [in] */ handle_t IDL_handle,
  551. /* [out] */ BYTE_PIPE reg_data);
  552. extern RPC_IF_HANDLE ExtroCluster_v1_0_c_ifspec;
  553. extern RPC_IF_HANDLE s_ExtroCluster_v1_0_s_ifspec;
  554. #endif /* __ExtroCluster_INTERFACE_DEFINED__ */
  555. /* Additional Prototypes for ALL interfaces */
  556. /* end of Additional Prototypes */
  557. #ifdef __cplusplus
  558. }
  559. #endif
  560. #endif