6 uuid(b97db8b2-4c63-11cf-bff6-08002be23f2f),
8 pointer_default(unique),
9 helpstring("Failover Cluster Management API (clusapi)")
14 typedef [context_handle] void *HCLUSTER_RPC;
15 typedef [context_handle] void *HNODE_RPC;
16 typedef [context_handle] void *HGROUP_RPC;
17 typedef [context_handle] void *HRES_RPC;
18 typedef [context_handle] void *HKEY_RPC;
19 typedef [context_handle] void *HNOTIFY_RPC;
20 typedef [context_handle] void *HNETWORK_RPC;
21 typedef [context_handle] void *HNETINTERFACE_RPC;
22 typedef [context_handle] void *HBATCH_PORT_RPC;
24 #define HCLUSTER_RPC policy_handle
25 #define HNODE_RPC policy_handle
26 #define HGROUP_RPC policy_handle
27 #define HRES_RPC policy_handle
28 #define HKEY_RPC policy_handle
29 #define HNOTIFY_RPC policy_handle
30 #define HNETWORK_RPC policy_handle
31 #define HNETINTERFACE_RPC policy_handle
32 #define HBATCH_PORT_RPC policy_handle
36 [ size_is( cbInSecurityDescriptor ), length_is( cbOutSecurityDescriptor ) ] uint8 *lpSecurityDescriptor;
37 uint32 cbInSecurityDescriptor;
38 uint32 cbOutSecurityDescriptor;
39 } RPC_SECURITY_DESCRIPTOR;
43 RPC_SECURITY_DESCRIPTOR RpcSecurityDescriptor;
45 } RPC_SECURITY_ATTRIBUTES;
48 [value(20)] uint32 dwSize;
49 uint32 dwClusterHighestVersion;
50 uint32 dwClusterLowestVersion;
53 } CLUSTER_OPERATIONAL_VERSION_INFO;
57 boolean8 SetAttempted;
59 } IDL_CLUSTER_SET_PASSWORD_STATUS;
62 IDL_CLUSTER_SET_PASSWORD_IGNORE_DOWN_NODES = 1
63 } IDL_CLUSTER_SET_PASSWORD_FLAGS;
68 } CLUSTER_CREATE_GROUP_INFO_RPC;
76 [ out ] WERROR *Status
81 [ out ] WERROR *Status,
82 [ out ] HCLUSTER_RPC *Cluster
91 [ in, out ] HCLUSTER_RPC *Cluster
98 clusapi_SetClusterName(
99 [ in, string ] [charset(UTF16)] uint16 *NewClusterName,
100 [ out ] WERROR *rpc_status
107 clusapi_GetClusterName(
108 [ out, string ] [charset(UTF16)] uint16 **ClusterName,
109 [ out, string ] [charset(UTF16)] uint16 **NodeName
116 clusapi_GetClusterVersion(
117 [ out ] uint16 *lpwMajorVersion,
118 [ out ] uint16 *lpwMinorVersion,
119 [ out ] uint16 *lpwBuildNumber,
120 [ out, string ] [charset(UTF16)] uint16 **lpszVendorId,
121 [ out, string ] [charset(UTF16)] uint16 **lpszCSDVersion
128 clusapi_GetQuorumResource(
129 [ out, string ] [charset(UTF16)] uint16 **lpszResourceName,
130 [ out, string ] [charset(UTF16)] uint16 **lpszDeviceName,
131 [ out ] uint32 *pdwMaxQuorumLogSize,
132 [ out ] WERROR *rpc_status
139 clusapi_SetQuorumResource(
140 [ in ] HRES_RPC hResource,
141 [ in, string ] [charset(UTF16)] uint16 *lpszDeviceName,
142 [ in ] uint32 dwMaxQuorumLogSize,
143 [ out ] WERROR *rpc_status
146 typedef [bitmap32bit] bitmap {
147 CLUSTER_ENUM_NODE = 0x00000001,
148 CLUSTER_ENUM_RESTYPE = 0x00000002,
149 CLUSTER_ENUM_RESOURCE = 0x00000004,
150 CLUSTER_ENUM_GROUP = 0x00000008,
151 CLUSTER_ENUM_NETWORK = 0x00000010,
152 CLUSTER_ENUM_NETINTERFACE = 0x00000020,
153 CLUSTER_ENUM_INTERNAL_NETWORK = 0x80000000,
154 CLUSTER_ENUM_SHARED_VOLUME_RESOURCE = 0x40000000
158 ClusterEnumType Type;
159 [string] [charset(UTF16)] uint16 *Name;
164 [size_is(EntryCount)] ENUM_ENTRY Entry[*];
168 [string] [charset(UTF16)] uint16 *Name;
169 [string] [charset(UTF16)] uint16 *Id;
171 [string] [charset(UTF16)] uint16 *Owner;
174 [size_is(cbProperties)] uint8* Properties;
175 uint32 cbRoProperties;
176 [size_is(cbRoProperties)] uint8* RoProperties;
180 [string] [charset(UTF16)] uint16 *Name;
181 [string] [charset(UTF16)] uint16 *Id;
182 [string] [charset(UTF16)] uint16 *OwnerName;
183 [string] [charset(UTF16)] uint16 *OwnerId;
185 [size_is(cbProperties)] uint8* Properties;
186 uint32 cbRoProperties;
187 [size_is(cbRoProperties)] uint8* RoProperties;
188 } RESOURCE_ENUM_ENTRY;
192 [size_is(EntryCount)] GROUP_ENUM_ENTRY Entry[*];
197 [size_is(EntryCount)] RESOURCE_ENUM_ENTRY Entry[*];
198 } RESOURCE_ENUM_LIST;
205 [ in ] ClusterEnumType dwType,
206 [ out ] ENUM_LIST **ReturnEnum,
207 [ out ] WERROR *rpc_status
215 clusapi_OpenResource(
216 [ in, string ] [charset(UTF16)] uint16 *lpszResourceName,
217 [ out ] WERROR *Status,
218 [ out ] WERROR *rpc_status
222 clusapi_OpenResource(
223 [ in, string ] [charset(UTF16)] uint16 *lpszResourceName,
224 [ out ] WERROR *Status,
225 [ out ] WERROR *rpc_status,
226 [ out ] HRES_RPC *hResource
234 clusapi_CreateResource(
235 [ in ] HGROUP_RPC hGroup,
236 [ in, string ] [charset(UTF16)] uint16 *lpszResourceName,
237 [ in, string ] [charset(UTF16)] uint16 *lpszResourceType,
238 [ in ] uint32 dwFlags,
239 [ out ] WERROR *Status,
240 [ out ] WERROR *rpc_status
244 clusapi_CreateResource(
245 [ in ] HGROUP_RPC hGroup,
246 [ in, string ] [charset(UTF16)] uint16 *lpszResourceName,
247 [ in, string ] [charset(UTF16)] uint16 *lpszResourceType,
248 [ in ] uint32 dwFlags,
249 [ out ] WERROR *Status,
250 [ out ] WERROR *rpc_status,
251 [ out ] HRES_RPC *hResource
258 clusapi_DeleteResource(
259 [ in ] HRES_RPC hResource,
260 [ out ] WERROR *rpc_status
267 clusapi_CloseResource(
268 [ in, out ] HRES_RPC *Resource
274 typedef [v1_enum] enum {
275 ClusterResourceInitializing = 0x00000001,
276 ClusterResourceOnline = 0x00000002,
277 ClusterResourceOffline = 0x00000003,
278 ClusterResourceFailed = 0x00000004,
279 ClusterResourceOnlinePending = 0x00000081,
280 ClusterResourceOfflinePending = 0x00000082,
281 ClusterResourceStateUnknown = 0xFFFFFFFF
282 } clusapi_ClusterResourceState;
285 clusapi_GetResourceState(
286 [ in ] HRES_RPC hResource,
287 [ out ] clusapi_ClusterResourceState *State,
288 [ out, string ] [charset(UTF16)] uint16 **NodeName,
289 [ out, string ] [charset(UTF16)] uint16 **GroupName,
290 [ out ] WERROR *rpc_status
297 clusapi_SetResourceName(
298 [ in ] HRES_RPC hResource,
299 [ in, string ] [charset(UTF16)] uint16 *lpszResourceName,
300 [ out ] WERROR *rpc_status
307 clusapi_GetResourceId(
308 [ in ] HRES_RPC hResource,
309 [ out, string ] [charset(UTF16)] uint16 **pGuid,
310 [ out ] WERROR *rpc_status
317 clusapi_GetResourceType(
318 [ in ] HRES_RPC hResource,
319 [ out, string ] [charset(UTF16)] uint16 **lpszResourceType,
320 [ out ] WERROR *rpc_status
327 clusapi_FailResource(
328 [ in ] HRES_RPC hResource,
329 [ out ] WERROR *rpc_status
336 clusapi_OnlineResource(
337 [ in ] HRES_RPC hResource,
338 [ out ] WERROR *rpc_status
345 clusapi_OfflineResource(
346 [ in ] HRES_RPC hResource,
347 [ out ] WERROR *rpc_status
354 clusapi_AddResourceDependency(
355 [ in ] HRES_RPC hResource,
356 [ in ] HRES_RPC hDependsOn,
357 [ out ] WERROR *rpc_status
364 clusapi_RemoveResourceDependency(
365 [ in ] HRES_RPC hResource,
366 [ in ] HRES_RPC hDependsOn,
367 [ out ] WERROR *rpc_status
374 clusapi_CanResourceBeDependent(
375 [ in ] HRES_RPC hResource,
376 [ in ] HRES_RPC hResourceDependent,
377 [ out ] WERROR *rpc_status
384 clusapi_CreateResEnum(
385 [ in ] HRES_RPC hResource,
386 [ in ] uint32 dwType,
387 [ out ] ENUM_LIST **ReturnEnum,
388 [ out ] WERROR *rpc_status
395 clusapi_AddResourceNode(
396 [ in ] HRES_RPC hResource,
397 [ in ] HNODE_RPC hNode,
398 [ out ] WERROR *rpc_status
405 clusapi_RemoveResourceNode(
406 [ in ] HRES_RPC hResource,
407 [ in ] HNODE_RPC hNode,
408 [ out ] WERROR *rpc_status
415 clusapi_ChangeResourceGroup(
416 [ in ] HRES_RPC hResource,
417 [ in ] HGROUP_RPC hGroup,
418 [ out ] WERROR *rpc_status
425 clusapi_CreateResourceType(
426 [ in, string ] [charset(UTF16)] uint16 *lpszTypeName,
427 [ in, string ] [charset(UTF16)] uint16 *lpszDisplayName,
428 [ in, string ] [charset(UTF16)] uint16 *lpszDllName,
429 [ in ] uint32 dwLooksAlive,
430 [ in ] uint32 dwIsAlive,
431 [ out ] WERROR *rpc_status
438 clusapi_DeleteResourceType(
439 [ in, string ] [charset(UTF16)] uint16 *lpszTypeName,
440 [ out ] WERROR *rpc_status
448 [ in ] uint32 samDesired,
449 [ out ] WERROR *Status,
450 [ out ] WERROR *rpc_status
455 [ in ] uint32 samDesired,
456 [ out ] WERROR *Status,
457 [ out ] WERROR *rpc_status,
458 [ out ] HKEY_RPC *phKey
466 [ in ] HKEY_RPC hKey,
467 [ in, string ] [charset(UTF16)] uint16 *lpSubKey,
468 [ in ] uint32 dwOptions,
469 [ in ] uint32 samDesired,
470 [ in, unique ] RPC_SECURITY_ATTRIBUTES *lpSecurityAttributes,
471 [ out ] uint32 *lpdwDisposition,
472 [ out ] WERROR *Status,
473 [ out ] WERROR *rpc_status
478 [ in ] HKEY_RPC hKey,
479 [ in, string ] [charset(UTF16)] uint16 *lpSubKey,
480 [ in ] uint32 dwOptions,
481 [ in ] uint32 samDesired,
482 [ in, unique ] RPC_SECURITY_ATTRIBUTES *lpSecurityAttributes,
483 [ out ] uint32 *lpdwDisposition,
484 [ out ] WERROR *Status,
485 [ out ] WERROR *rpc_status,
486 [ out ] HKEY_RPC *phKey
494 [ in ] HKEY_RPC hKey,
495 [ in, string ] [charset(UTF16)] uint16 *lpSubKey,
496 [ in ] uint32 samDesired,
497 [ out ] WERROR *Status,
498 [ out ] WERROR *rpc_status
503 [ in ] HKEY_RPC hKey,
504 [ in, string ] [charset(UTF16)] uint16 *lpSubKey,
505 [ in ] uint32 samDesired,
506 [ out ] WERROR *Status,
507 [ out ] WERROR *rpc_status,
508 [ out ] HKEY_RPC *phKey
516 [ in ] HKEY_RPC hKey,
517 [ in ] uint32 dwIndex,
518 [ out, string ] [charset(UTF16)] uint16 **KeyName,
519 [ out ] NTTIME *lpftLastWriteTime,
520 [ out ] WERROR *rpc_status
528 [ in ] HKEY_RPC hKey,
529 [ in, string ] [charset(UTF16)] uint16 *lpValueName,
530 [ in ] uint32 dwType,
531 [ in, size_is(cbData) ] uint8 *lpData,
532 [ in ] uint32 cbData,
533 [ out ] WERROR *rpc_status
541 [ in ] HKEY_RPC hKey,
542 [ in, string ] [charset(UTF16)] uint16 *lpValueName,
543 [ out ] WERROR *rpc_status
551 [ in ] HKEY_RPC hKey,
552 [ in, string ] [charset(UTF16)] uint16 *lpValueName,
553 [ out ] uint32 *lpValueType,
554 [ out, size_is(cbData) ] uint8 *lpData,
555 [ in ] uint32 cbData,
556 [ out ] uint32 *lpcbRequired,
557 [ out ] WERROR *rpc_status
565 [ in ] HKEY_RPC hKey,
566 [ in, string ] [charset(UTF16)] uint16 *lpSubKey,
567 [ out ] WERROR *rpc_status
575 [ in ] HKEY_RPC hKey,
576 [ in ] uint32 dwIndex,
577 [ out, string ] [charset(UTF16)] uint16 **lpValueName,
578 [ out ] uint32 *lpType,
579 [ out, size_is(*lpcbData) ] uint8 *lpData,
580 [ in, out ] uint32 *lpcbData,
581 [ out ] uint32 *TotalSize,
582 [ out ] WERROR *rpc_status
590 [ in, out ] HKEY_RPC *pKey
597 clusapi_QueryInfoKey(
598 [ in ] HKEY_RPC hKey,
599 [ out ] uint32 *lpcSubKeys,
600 [ out ] uint32 *lpcbMaxSubKeyLen,
601 [ out ] uint32 *lpcValues,
602 [ out ] uint32 *lpcbMaxValueNameLen,
603 [ out ] uint32 *lpcbMaxValueLen,
604 [ out ] uint32 *lpcbSecurityDescriptor,
605 [ out ] NTTIME *lpftLastWriteTime,
606 [ out ] WERROR *rpc_status
613 clusapi_SetKeySecurity(
614 [ in ] HKEY_RPC hKey,
615 [ in ] uint32 SecurityInformation,
616 [ in ] RPC_SECURITY_DESCRIPTOR *pRpcSecurityDescriptor,
617 [ out ] WERROR *rpc_status
624 clusapi_GetKeySecurity(
625 [ in ] HKEY_RPC hKey,
626 [ in ] uint32 SecurityInformation,
627 [ in, out ] RPC_SECURITY_DESCRIPTOR *pRpcSecurityDescriptor,
628 [ out ] WERROR *rpc_status
636 [ in, string ] [charset(UTF16)] uint16 *lpszGroupName,
637 [ out ] WERROR *Status,
638 [ out ] WERROR *rpc_status
643 [ in, string ] [charset(UTF16)] uint16 *lpszGroupName,
644 [ out ] WERROR *Status,
645 [ out ] WERROR *rpc_status,
646 [ out ] HGROUP_RPC *hGroup
654 [ in, string ] [charset(UTF16)] uint16 *lpszGroupName,
655 [ out ] WERROR *Status,
656 [ out ] WERROR *rpc_status
661 [ in, string ] [charset(UTF16)] uint16 *lpszGroupName,
662 [ out ] WERROR *Status,
663 [ out ] WERROR *rpc_status,
664 [ out ] HGROUP_RPC *hGroup
672 [ in ] HGROUP_RPC Group,
673 [ in ] boolean8 force,
674 [ out ] WERROR *rpc_status
682 [ in, out ] HGROUP_RPC *Group
689 clusapi_GetGroupState(
690 [ in ] HGROUP_RPC hGroup,
691 [ out ] uint32 *State,
692 [ out, string ] [charset(UTF16)] uint16 **NodeName,
693 [ out ] WERROR *rpc_status
700 clusapi_SetGroupName(
701 [ in ] HGROUP_RPC hGroup,
702 [ in, string ] [charset(UTF16)] uint16 *lpszGroupName,
703 [ out ] WERROR *rpc_status
711 [ in ] HGROUP_RPC hGroup,
712 [ out, string ] [charset(UTF16)] uint16 **pGuid,
713 [ out ] WERROR *rpc_status
721 [ in ] HNODE_RPC hNode,
722 [ out, string ] [charset(UTF16)] uint16 **pGuid,
723 [ out ] WERROR *rpc_status
731 [ in ] HGROUP_RPC hGroup,
732 [ out ] WERROR *rpc_status
739 clusapi_OfflineGroup(
740 [ in ] HGROUP_RPC hGroup,
741 [ out ] WERROR *rpc_status
749 [ in ] HGROUP_RPC hGroup,
750 [ out ] WERROR *rpc_status
757 clusapi_MoveGroupToNode(
758 [ in ] HGROUP_RPC hGroup,
759 [ in ] HNODE_RPC hNode,
760 [ out ] WERROR *rpc_status
767 clusapi_CreateGroupResourceEnum(
768 [ in ] HGROUP_RPC hGroup,
769 [ in ] uint32 dwType,
770 [ out ] ENUM_LIST **ReturnEnum,
771 [ out ] WERROR *rpc_status
778 clusapi_SetGroupNodeList(
779 [ in ] HGROUP_RPC hGroup,
780 [ in, unique, size_is(cchListSize) ] uint16 *multiSzNodeList,
781 [ in ] uint32 cchListSize,
782 [ out ] WERROR *rpc_status
789 clusapi_CreateNotify(
790 [ out ] WERROR *Status,
791 [ out ] WERROR *rpc_status
795 clusapi_CreateNotify(
796 [ out ] WERROR *Status,
797 [ out ] WERROR *rpc_status,
798 [ out ] HNOTIFY_RPC *hNotify
806 [ in, out ] HNOTIFY_RPC *Notify
813 clusapi_AddNotifyCluster(
814 [ in ] HNOTIFY_RPC hNotify,
815 [ in ] HCLUSTER_RPC hCluster,
816 [ in ] uint32 dwFilter,
817 [ in ] uint32 dwNotifyKey,
818 [ out ] WERROR *rpc_status
825 clusapi_AddNotifyNode(
826 [ in ] HNOTIFY_RPC hNotify,
827 [ in ] HNODE_RPC hNode,
828 [ in ] uint32 dwFilter,
829 [ in ] uint32 dwNotifyKey,
830 [ out ] uint32 *dwStateSequence,
831 [ out ] WERROR *rpc_status
838 clusapi_AddNotifyGroup(
839 [ in ] HNOTIFY_RPC hNotify,
840 [ in ] HGROUP_RPC hGroup,
841 [ in ] uint32 dwFilter,
842 [ in ] uint32 dwNotifyKey,
843 [ out ] uint32 *dwStateSequence,
844 [ out ] WERROR *rpc_status
851 clusapi_AddNotifyResource(
852 [ in ] HNOTIFY_RPC hNotify,
853 [ in ] HRES_RPC hResource,
854 [ in ] uint32 dwFilter,
855 [ in ] uint32 dwNotifyKey,
856 [ out ] uint32 *dwStateSequence,
857 [ out ] WERROR *rpc_status
864 clusapi_AddNotifyKey(
865 [ in ] HNOTIFY_RPC hNotify,
866 [ in ] HKEY_RPC hKey,
867 [ in ] uint32 dwNotifyKey,
868 [ in ] uint32 Filter,
869 [ in ] boolean8 WatchSubTree,
870 [ out ] WERROR *rpc_status
877 clusapi_ReAddNotifyNode(
878 [ in ] HNOTIFY_RPC hNotify,
879 [ in ] HNODE_RPC hNode,
880 [ in ] uint32 dwFilter,
881 [ in ] uint32 dwNotifyKey,
882 [ in ] uint32 StateSequence,
883 [ out ] WERROR *rpc_status
890 clusapi_ReAddNotifyGroup(
891 [ in ] HNOTIFY_RPC hNotify,
892 [ in ] HGROUP_RPC hGroup,
893 [ in ] uint32 dwFilter,
894 [ in ] uint32 dwNotifyKey,
895 [ in ] uint32 StateSequence,
896 [ out ] WERROR *rpc_status
903 clusapi_ReAddNotifyResource(
904 [ in ] HNOTIFY_RPC hNotify,
905 [ in ] HRES_RPC hResource,
906 [ in ] uint32 dwFilter,
907 [ in ] uint32 dwNotifyKey,
908 [ in ] uint32 StateSequence,
909 [ out ] WERROR *rpc_status
917 [ in ] HNOTIFY_RPC hNotify,
918 [ out ] uint32 *dwNotifyKey,
919 [ out ] uint32 *dwFilter,
920 [ out ] uint32 *dwStateSequence,
921 [ out, string ] [charset(UTF16)] uint16 **Name,
922 [ out ] WERROR *rpc_status
930 [ in, string ] [charset(UTF16)] uint16 *lpszNodeName,
931 [ out ] WERROR *Status,
932 [ out ] WERROR *rpc_status
937 [ in, string ] [charset(UTF16)] uint16 *lpszNodeName,
938 [ out ] WERROR *Status,
939 [ out ] WERROR *rpc_status,
940 [ out ] HNODE_RPC *hNode
948 [ in, out ] HNODE_RPC *Node
954 typedef [v1_enum] enum {
955 ClusterNodeUp = 0x00000000,
956 ClusterNodeDown = 0x00000001,
957 ClusterNodePaused = 0x00000002,
958 ClusterNodeJoining = 0x00000003,
959 ClusterNodeStateUnknown = 0xFFFFFFFF
960 } clusapi_ClusterNodeState;
963 clusapi_GetNodeState(
964 [ in ] HNODE_RPC hNode,
965 [ out ] clusapi_ClusterNodeState *State,
966 [ out ] WERROR *rpc_status
974 [ in ] HNODE_RPC hNode,
975 [ out ] WERROR *rpc_status
983 [ in ] HNODE_RPC hNode,
984 [ out ] WERROR *rpc_status
992 [ in ] HNODE_RPC hNode,
993 [ out ] WERROR *rpc_status
1000 clusapi_NodeResourceControl(
1001 [ in ] HRES_RPC hResource,
1002 [ in ] HNODE_RPC hNode,
1003 [ in ] uint32 dwControlCode,
1004 [ in, unique, size_is(nInBufferSize) ] uint8 *lpInBuffer,
1005 [ in ] uint32 nInBufferSize,
1006 [ out, size_is(nOutBufferSize),
1007 length_is (*lpBytesReturned)] uint8 *lpOutBuffer,
1008 [ in ] uint32 nOutBufferSize,
1009 [ out ] uint32 *lpBytesReturned,
1010 [ out ] uint32 *lpcbRequired,
1011 [ out ] WERROR *rpc_status
1018 clusapi_ResourceControl(
1019 [ in ] HRES_RPC hResource,
1020 [ in ] uint32 dwControlCode,
1021 [ in, unique, size_is(nInBufferSize) ] uint8 *lpInBuffer,
1022 [ in ] uint32 nInBufferSize,
1023 [ out, size_is(nOutBufferSize),
1024 length_is (*lpBytesReturned)] uint8 *lpOutBuffer,
1025 [ in ] uint32 nOutBufferSize,
1026 [ out ] uint32 *lpBytesReturned,
1027 [ out ] uint32 *lpcbRequired,
1028 [ out ] WERROR *rpc_status
1035 clusapi_NodeResourceTypeControl(
1036 [ in ] HCLUSTER_RPC hCluster,
1037 [ in, string ] [charset(UTF16)] uint16 *lpszResourceTypeName,
1038 [ in ] HNODE_RPC hNode,
1039 [ in ] uint32 dwControlCode,
1040 [ in, unique, size_is(nInBufferSize) ] uint8 *lpInBuffer,
1041 [ in ] uint32 nInBufferSize,
1042 [ out, size_is(nOutBufferSize),
1043 length_is (*lpBytesReturned)] uint8 *lpOutBuffer,
1044 [ in ] uint32 nOutBufferSize,
1045 [ out ] uint32 *lpBytesReturned,
1046 [ out ] uint32 *lpcbRequired,
1047 [ out ] WERROR *rpc_status
1054 clusapi_ResourceTypeControl(
1055 [ in ] HCLUSTER_RPC hCluster,
1056 [ in, string ] [charset(UTF16)] uint16 *lpszResourceTypeName,
1057 [ in ] uint32 dwControlCode,
1058 [ in, unique, size_is(nInBufferSize) ] uint8 *lpInBuffer,
1059 [ in ] uint32 nInBufferSize,
1060 [ out, size_is(nOutBufferSize),
1061 length_is (*lpBytesReturned)] uint8 *lpOutBuffer,
1062 [ in ] uint32 nOutBufferSize,
1063 [ out ] uint32 *lpBytesReturned,
1064 [ out ] uint32 *lpcbRequired,
1065 [ out ] WERROR *rpc_status
1072 clusapi_NodeGroupControl(
1073 [ in ] HGROUP_RPC hGroup,
1074 [ in ] HNODE_RPC hNode,
1075 [ in ] uint32 dwControlCode,
1076 [ in, unique, size_is(nInBufferSize) ] uint8 *lpInBuffer,
1077 [ in ] uint32 nInBufferSize,
1078 [ out, size_is(nOutBufferSize),
1079 length_is (*lpBytesReturned)] uint8 *lpOutBuffer,
1080 [ in ] uint32 nOutBufferSize,
1081 [ out ] uint32 *lpBytesReturned,
1082 [ out ] uint32 *lpcbRequired,
1083 [ out ] WERROR *rpc_status
1090 clusapi_GroupControl(
1091 [ in ] HGROUP_RPC hGroup,
1092 [ in ] uint32 dwControlCode,
1093 [ in, unique, size_is(nInBufferSize) ] uint8 *lpInBuffer,
1094 [ in ] uint32 nInBufferSize,
1095 [ out, size_is(nOutBufferSize),
1096 length_is (*lpBytesReturned)] uint8 *lpOutBuffer,
1097 [ in ] uint32 nOutBufferSize,
1098 [ out ] uint32 *lpBytesReturned,
1099 [ out ] uint32 *lpcbRequired,
1100 [ out ] WERROR *rpc_status
1107 clusapi_NodeNodeControl(
1108 [ in ] HNODE_RPC hNode,
1109 [ in ] HNODE_RPC hHostNode,
1110 [ in ] uint32 dwControlCode,
1111 [ in, unique, size_is(nInBufferSize) ] uint8 *lpInBuffer,
1112 [ in ] uint32 nInBufferSize,
1113 [ out, size_is(nOutBufferSize),
1114 length_is (*lpBytesReturned)] uint8 *lpOutBuffer,
1115 [ in ] uint32 nOutBufferSize,
1116 [ out ] uint32 *lpBytesReturned,
1117 [ out ] uint32 *lpcbRequired,
1118 [ out ] WERROR *rpc_status
1125 clusapi_NodeControl(
1126 [ in ] HNODE_RPC hNode,
1127 [ in ] uint32 dwControlCode,
1128 [ in, unique, size_is(nInBufferSize) ] uint8 *lpInBuffer,
1129 [ in ] uint32 nInBufferSize,
1130 [ out, size_is(nOutBufferSize),
1131 length_is (*lpBytesReturned)] uint8 *lpOutBuffer,
1132 [ in ] uint32 nOutBufferSize,
1133 [ out ] uint32 *lpBytesReturned,
1134 [ out ] uint32 *lpcbRequired,
1135 [ out ] WERROR *rpc_status
1142 Opnum80NotUsedOnWire(void);
1148 clusapi_OpenNetwork(
1149 [ in, string ] [charset(UTF16)] uint16 *lpszNetworkName,
1150 [ out ] WERROR *Status,
1151 [ out ] WERROR *rpc_status
1155 clusapi_OpenNetwork(
1156 [ in, string ] [charset(UTF16)] uint16 *lpszNetworkName,
1157 [ out ] WERROR *Status,
1158 [ out ] WERROR *rpc_status,
1159 [ out ] HNETWORK_RPC *hNetwork
1166 clusapi_CloseNetwork(
1167 [ in, out ] HNETWORK_RPC *Network
1174 clusapi_GetNetworkState(
1175 [ in ] HNETWORK_RPC hNetwork,
1176 [ out ] uint32 *State,
1177 [ out ] WERROR *rpc_status
1184 clusapi_SetNetworkName(
1185 [ in ] HNETWORK_RPC hNetwork,
1186 [ in, string ] [charset(UTF16)] uint16 *lpszNetworkName,
1187 [ out ] WERROR *rpc_status
1194 clusapi_CreateNetworkEnum(
1195 [ in ] HNETWORK_RPC hNetwork,
1196 [ in ] uint32 dwType,
1197 [ out ] ENUM_LIST **ReturnEnum,
1198 [ out ] WERROR *rpc_status
1205 clusapi_GetNetworkId(
1206 [ in ] HNETWORK_RPC hNetwork,
1207 [ out, string ] [charset(UTF16)] uint16 **pGuid,
1208 [ out ] WERROR *rpc_status
1215 clusapi_SetNetworkPriorityOrder(
1216 [ in, range(0, 1000)] uint32 NetworkCount,
1217 [ in, string, size_is(NetworkCount) ] [charset(UTF16)] uint16 NetworkIdList[*],
1218 [ out ] WERROR *rpc_status
1225 clusapi_NodeNetworkControl(
1226 [ in ] HNETWORK_RPC hNetwork,
1227 [ in ] HNODE_RPC hNode,
1228 [ in ] uint32 dwControlCode,
1229 [ in, unique, size_is(nInBufferSize) ] uint8 *lpInBuffer,
1230 [ in ] uint32 nInBufferSize,
1231 [ out, size_is(nOutBufferSize),
1232 length_is (*lpBytesReturned)] uint8 *lpOutBuffer,
1233 [ in ] uint32 nOutBufferSize,
1234 [ out ] uint32 *lpBytesReturned,
1235 [ out ] uint32 *lpcbRequired,
1236 [ out ] WERROR *rpc_status
1243 clusapi_NetworkControl(
1244 [ in ] HNETWORK_RPC hNetwork,
1245 [ in ] uint32 dwControlCode,
1246 [ in, unique, size_is(nInBufferSize) ] uint8 *lpInBuffer,
1247 [ in ] uint32 nInBufferSize,
1248 [ out, size_is(nOutBufferSize),
1249 length_is (*lpBytesReturned)] uint8 *lpOutBuffer,
1250 [ in ] uint32 nOutBufferSize,
1251 [ out ] uint32 *lpBytesReturned,
1252 [ out ] uint32 *lpcbRequired,
1253 [ out ] WERROR *rpc_status
1260 clusapi_AddNotifyNetwork(
1261 [ in ] HNOTIFY_RPC hNotify,
1262 [ in ] HNETWORK_RPC hNetwork,
1263 [ in ] uint32 dwFilter,
1264 [ in ] uint32 dwNotifyKey,
1265 [ out ] uint32 *dwStateSequence,
1266 [ out ] WERROR *rpc_status
1273 clusapi_ReAddNotifyNetwork(
1274 [ in ] HNOTIFY_RPC hNotify,
1275 [ in ] HNETWORK_RPC hNetwork,
1276 [ in ] uint32 dwFilter,
1277 [ in ] uint32 dwNotifyKey,
1278 [ in ] uint32 StateSequence,
1279 [ out ] WERROR *rpc_status
1286 clusapi_OpenNetInterface(
1287 [ in, string ] [charset(UTF16)] uint16 *lpszNetInterfaceName,
1288 [ out ] WERROR *Status,
1289 [ out ] WERROR *rpc_status
1293 clusapi_OpenNetInterface(
1294 [ in, string ] [charset(UTF16)] uint16 *lpszNetInterfaceName,
1295 [ out ] WERROR *Status,
1296 [ out ] WERROR *rpc_status,
1297 [ out ] HNETINTERFACE_RPC *hNetInterface
1304 clusapi_CloseNetInterface(
1305 [ in, out ] HNETINTERFACE_RPC *NetInterface
1312 clusapi_GetNetInterfaceState(
1313 [ in ] HNETINTERFACE_RPC hNetInterface,
1314 [ out ] uint32 *State,
1315 [ out ] WERROR *rpc_status
1322 clusapi_GetNetInterface(
1323 [ in, string ] [charset(UTF16)] uint16 *lpszNodeName,
1324 [ in, string ] [charset(UTF16)] uint16 *lpszNetworkName,
1325 [ out, string ] [charset(UTF16)] uint16 **lppszInterfaceName,
1326 [ out ] WERROR *rpc_status
1333 clusapi_GetNetInterfaceId(
1334 [ in ] HNETINTERFACE_RPC hNetInterface,
1335 [ out, string ] [charset(UTF16)] uint16 **pGuid,
1336 [ out ] WERROR *rpc_status
1343 clusapi_NodeNetInterfaceControl(
1344 [ in ] HNETINTERFACE_RPC hNetInterface,
1345 [ in ] HNODE_RPC hNode,
1346 [ in ] uint32 dwControlCode,
1347 [ in, unique, size_is(nInBufferSize) ] uint8 *lpInBuffer,
1348 [ in ] uint32 nInBufferSize,
1349 [ out, size_is(nOutBufferSize),
1350 length_is (*lpBytesReturned)] uint8 *lpOutBuffer,
1351 [ in ] uint32 nOutBufferSize,
1352 [ out ] uint32 *lpBytesReturned,
1353 [ out ] uint32 *lpcbRequired,
1354 [ out ] WERROR *rpc_status
1361 clusapi_NetInterfaceControl(
1362 [ in ] HNETINTERFACE_RPC hNetInterface,
1363 [ in ] uint32 dwControlCode,
1364 [ in, unique, size_is(nInBufferSize) ] uint8 *lpInBuffer,
1365 [ in ] uint32 nInBufferSize,
1366 [ out, size_is(nOutBufferSize),
1367 length_is (*lpBytesReturned)] uint8 *lpOutBuffer,
1368 [ in ] uint32 nOutBufferSize,
1369 [ out ] uint32 *lpBytesReturned,
1370 [ out ] uint32 *lpcbRequired,
1371 [ out ] WERROR *rpc_status
1378 clusapi_AddNotifyNetInterface(
1379 [ in ] HNOTIFY_RPC hNotify,
1380 [ in ] HNETINTERFACE_RPC hNetInterface,
1381 [ in ] uint32 dwFilter,
1382 [ in ] uint32 dwNotifyKey,
1383 [ out ] uint32 *dwStateSequence,
1384 [ out ] WERROR *rpc_status
1391 clusapi_ReAddNotifyNetInterface(
1392 [ in ] HNOTIFY_RPC hNotify,
1393 [ in ] HNETINTERFACE_RPC hNetInterface,
1394 [ in ] uint32 dwFilter,
1395 [ in ] uint32 dwNotifyKey,
1396 [ in ] uint32 StateSequence,
1397 [ out ] WERROR *rpc_status
1404 clusapi_CreateNodeEnum(
1405 [ in ] HNODE_RPC hNode,
1406 [ in ] uint32 dwType,
1407 [ out ] ENUM_LIST **ReturnEnum,
1408 [ out ] WERROR *rpc_status
1415 clusapi_GetClusterVersion2(
1416 [ out ] uint16 *lpwMajorVersion,
1417 [ out ] uint16 *lpwMinorVersion,
1418 [ out ] uint16 *lpwBuildNumber,
1419 [ out, string ] [charset(UTF16)] uint16 **lpszVendorId,
1420 [ out, string ] [charset(UTF16)] uint16 **lpszCSDVersion,
1421 [ out ] CLUSTER_OPERATIONAL_VERSION_INFO **ppClusterOpVerInfo,
1422 [ out ] WERROR *rpc_status
1429 clusapi_CreateResTypeEnum(
1430 [ in, string ] [charset(UTF16)] uint16 *lpszTypeName,
1431 [ in ] uint32 dwType,
1432 [ out ] ENUM_LIST **ReturnEnum,
1433 [ out ] WERROR *rpc_status
1440 clusapi_BackupClusterDatabase(
1441 [ in, string ] [charset(UTF16)] uint16 *lpszPathName,
1442 [ out ] WERROR *rpc_status
1449 clusapi_NodeClusterControl(
1450 [ in ] HCLUSTER_RPC hCluster,
1451 [ in ] HNODE_RPC hHostNode,
1452 [ in ] uint32 dwControlCode,
1453 [ in, unique, size_is(nInBufferSize) ] uint8 *lpInBuffer,
1454 [ in ] uint32 nInBufferSize,
1455 [ out, size_is(nOutBufferSize),
1456 length_is (*lpBytesReturned)] uint8 *lpOutBuffer,
1457 [ in ] uint32 nOutBufferSize,
1458 [ out ] uint32 *lpBytesReturned,
1459 [ out ] uint32 *lpcbRequired,
1460 [ out ] WERROR *rpc_status
1467 clusapi_ClusterControl(
1468 [ in ] HCLUSTER_RPC hCluster,
1469 [ in ] uint32 dwControlCode,
1470 [ in, unique, size_is(nInBufferSize) ] uint8 *lpInBuffer,
1471 [ in ] uint32 nInBufferSize,
1472 [ out, size_is(nOutBufferSize),
1473 length_is (*lpBytesReturned)] uint8 *lpOutBuffer,
1474 [ in ] uint32 nOutBufferSize,
1475 [ out ] uint32 *lpBytesReturned,
1476 [ out ] uint32 *lpcbRequired,
1477 [ out ] WERROR *rpc_status
1484 clusapi_UnblockGetNotifyCall(
1485 [ in ] HNOTIFY_RPC hNotify
1492 clusapi_SetServiceAccountPassword(
1493 [ in, string ] [charset(UTF16)] uint16 *lpszNewPassword,
1494 [ in ] IDL_CLUSTER_SET_PASSWORD_FLAGS dwFlags,
1495 [ out, size_is(ReturnStatusBufferSize), length_is(*SizeReturned) ]
1496 IDL_CLUSTER_SET_PASSWORD_STATUS ReturnStatusBufferPtr[*],
1497 [ in, range(0, (64 * 1024)) ] uint32 ReturnStatusBufferSize,
1498 [ out ] uint32 *SizeReturned,
1499 [ out ] uint32 *ExpectedBufferSize
1506 clusapi_SetResourceDependencyExpression(
1507 [ in ] HRES_RPC hResource,
1508 [ in, string, unique ] [charset(UTF16)] uint16 *lpszDependencyExpression,
1509 [ out ] WERROR *rpc_status
1516 clusapi_GetResourceDependencyExpression(
1517 [ in ] HRES_RPC hResource,
1518 [ out, string ] [charset(UTF16)] uint16 **lpszDependencyExpression,
1519 [ out ] WERROR *rpc_status
1526 Opnum111NotUsedOnWire(void);
1532 clusapi_GetResourceNetworkName(
1533 [ in ] HRES_RPC hResource,
1534 [ out, string ] [charset(UTF16)] uint16 **lpszName,
1535 [ out ] WERROR *rpc_status
1542 clusapi_ExecuteBatch(
1543 [ in ] HKEY_RPC hKey,
1544 [ in ] uint32 cbData,
1545 [ in, size_is(cbData)] uint8 *lpData,
1546 [ out ] int *pdwFailedCommand,
1547 [ out ] WERROR *rpc_status
1554 clusapi_CreateBatchPort(
1555 [ in ] HKEY_RPC hKey,
1556 [ out ] HBATCH_PORT_RPC *phBatchPort,
1557 [ out ] WERROR *rpc_status
1564 clusapi_GetBatchNotification(
1565 [ in ] HBATCH_PORT_RPC hBatchNotify,
1566 [ out ] uint32 *cbData,
1567 [ out, size_is(,*cbData) ] uint8 ** lpData
1574 clusapi_CloseBatchPort(
1575 [ in, out ] HBATCH_PORT_RPC *phBatchPort
1582 clusapi_OpenClusterEx(
1583 [ in ] uint32 dwDesiredAccess,
1584 [ out ] uint32 *lpdwGrantedAccess,
1585 [ out ] WERROR *Status
1589 clusapi_OpenClusterEx(
1590 [ in ] uint32 dwDesiredAccess,
1591 [ out ] uint32 *lpdwGrantedAccess,
1592 [ out ] WERROR *Status,
1593 [ out ] HCLUSTER_RPC *hCluster
1602 [ in, string ] [charset(UTF16)] uint16 *lpszNodeName,
1603 [ in ] uint32 dwDesiredAccess,
1604 [ out ] uint32 *lpdwGrantedAccess,
1605 [ out ] WERROR *Status,
1606 [ out ] WERROR *rpc_status
1611 [ in, string ] [charset(UTF16)] uint16 *lpszNodeName,
1612 [ in ] uint32 dwDesiredAccess,
1613 [ out ] uint32 *lpdwGrantedAccess,
1614 [ out ] WERROR *Status,
1615 [ out ] WERROR *rpc_status,
1616 [ out ] HNODE_RPC *hNode
1623 clusapi_OpenGroupEx(
1624 [ in, string ] [charset(UTF16)] uint16 *lpszGroupName,
1625 [ in ] uint32 dwDesiredAccess,
1626 [ out ] uint32 *lpdwGrantedAccess,
1627 [ out ] WERROR *Status,
1628 [ out ] WERROR *rpc_status
1632 clusapi_OpenGroupEx(
1633 [ in, string ] [charset(UTF16)] uint16 *lpszGroupName,
1634 [ in ] uint32 dwDesiredAccess,
1635 [ out ] uint32 *lpdwGrantedAccess,
1636 [ out ] WERROR *Status,
1637 [ out ] WERROR *rpc_status,
1638 [ out ] HGROUP_RPC *hGroup
1645 clusapi_OpenResourceEx(
1646 [ in, string ] [charset(UTF16)] uint16 *lpszResourceName,
1647 [ in ] uint32 dwDesiredAccess,
1648 [ out ] uint32 *lpdwGrantedAccess,
1649 [ out ] WERROR *Status,
1650 [ out ] WERROR *rpc_status
1654 clusapi_OpenResourceEx(
1655 [ in, string ] [charset(UTF16)] uint16 *lpszResourceName,
1656 [ in ] uint32 dwDesiredAccess,
1657 [ out ] uint32 *lpdwGrantedAccess,
1658 [ out ] WERROR *Status,
1659 [ out ] WERROR *rpc_status,
1660 [ out ] HRES_RPC *hResource
1667 clusapi_OpenNetworkEx(
1668 [ in, string ] [charset(UTF16)] uint16 *lpszNetworkName,
1669 [ in ] uint32 dwDesiredAccess,
1670 [ out ] uint32 *lpdwGrantedAccess,
1671 [ out ] WERROR *Status,
1672 [ out ] WERROR *rpc_status
1676 clusapi_OpenNetworkEx(
1677 [ in, string ] [charset(UTF16)] uint16 *lpszNetworkName,
1678 [ in ] uint32 dwDesiredAccess,
1679 [ out ] uint32 *lpdwGrantedAccess,
1680 [ out ] WERROR *Status,
1681 [ out ] WERROR *rpc_status,
1682 [ out ] HNETWORK_RPC *hNetwork
1689 clusapi_OpenNetInterfaceEx(
1690 [ in, string ] [charset(UTF16)] uint16 *lpszNetInterfaceName,
1691 [ in ] uint32 dwDesiredAccess,
1692 [ out ] uint32 *lpdwGrantedAccess,
1693 [ out ] WERROR *Status,
1694 [ out ] WERROR *rpc_status
1698 clusapi_OpenNetInterfaceEx(
1699 [ in, string ] [charset(UTF16)] uint16 *lpszNetInterfaceName,
1700 [ in ] uint32 dwDesiredAccess,
1701 [ out ] uint32 *lpdwGrantedAccess,
1702 [ out ] WERROR *Status,
1703 [ out ] WERROR *rpc_status,
1704 [ out ] HNETINTERFACE_RPC *hNetInterface
1711 clusapi_ChangeCsvState(
1712 [ in ] HRES_RPC hResource,
1713 [ in ] uint32 dwState,
1714 [ out ] WERROR *rpc_status
1721 clusapi_CreateNodeEnumEx(
1722 [in] HNODE_RPC hNode,
1724 [in] uint32 dwOptions,
1725 [out] ENUM_LIST **ReturnIdEnum,
1726 [out] ENUM_LIST **ReturnNameEnum,
1727 [out] WERROR* rpc_status
1734 clusapi_CreateEnumEx(
1735 [in] HCLUSTER_RPC hCluster,
1737 [in] uint32 dwOptions,
1738 [out] ENUM_LIST **ReturnIdEnum,
1739 [out] ENUM_LIST **ReturnNameEnum,
1740 [out] WERROR* rpc_status
1747 clusapi_PauseNodeEx(
1748 [ in ] HNODE_RPC hNode,
1749 [ in ] boolean8 bDrainNode,
1750 [ in ] uint32 dwPauseFlags,
1751 [ out ] WERROR *rpc_status
1758 clusapi_PauseNodeWithDrainTarget(
1759 [ in ] HNODE_RPC hNode,
1760 [ in ] uint32 dwPauseFlags,
1761 [ in ] HNODE_RPC hNodeDrainTarget,
1762 [ out ] WERROR *rpc_status
1769 clusapi_ResumeNodeEx(
1770 [ in ] HNODE_RPC hNode,
1771 [ in ] uint32 dwResumeFailbackType,
1772 [ in ] uint32 dwResumeFlagsReserved,
1773 [ out ] WERROR *rpc_status
1780 clusapi_CreateGroupEx(
1781 [ in, string ] [charset(UTF16)] uint16 *lpszGroupName,
1782 [ in, unique ] CLUSTER_CREATE_GROUP_INFO_RPC *pGroupInfo,
1783 [ out ] WERROR *Status,
1784 [ out ] WERROR *rpc_status
1788 clusapi_CreateGroupEx(
1789 [ in, string ] [charset(UTF16)] uint16 *lpszGroupName,
1790 [ in, unique ] CLUSTER_CREATE_GROUP_INFO_RPC *pGroupInfo,
1791 [ out ] WERROR *Status,
1792 [ out ] WERROR *rpc_status,
1793 [ out ] HGROUP_RPC *hGroup
1800 clusapi_OnlineGroupEx(
1801 [ in ] HGROUP_RPC hGroup,
1802 [ in ] uint32 dwOnlineFlags,
1803 [ in, size_is(cbInBufferSize) ] uint8* lpInBuffer,
1804 [ in ] uint32 cbInBufferSize,
1805 [ out ] WERROR *rpc_status
1812 clusapi_OfflineGroupEx(
1813 [ in ] HGROUP_RPC hGroup,
1814 [ in ] uint32 dwOfflineFlags,
1815 [ in, size_is(cbInBufferSize) ] uint8* lpInBuffer,
1816 [ in ] uint32 cbInBufferSize,
1817 [ out ] WERROR *rpc_status
1824 clusapi_MoveGroupEx(
1825 [ in ] HGROUP_RPC hGroup,
1826 [ in ] uint32 dwMoveFlags,
1827 [ in, size_is(cbInBufferSize) ] uint8* lpInBuffer,
1828 [ in ] uint32 cbInBufferSize,
1829 [ out ] WERROR *rpc_status
1836 clusapi_MoveGroupToNodeEx(
1837 [ in ] HGROUP_RPC hGroup,
1838 [ in ] HNODE_RPC hNode,
1839 [ in ] uint32 dwMoveFlags,
1840 [ in, size_is(cbInBufferSize) ] uint8* lpInBuffer,
1841 [ in ] uint32 cbInBufferSize,
1842 [ out ] WERROR *rpc_status
1849 clusapi_CancelClusterGroupOperation(
1850 [ in ] HGROUP_RPC hGroup,
1851 [ in ] uint32 dwCancelFlags,
1852 [ out ] WERROR *rpc_status
1859 clusapi_OnlineResourceEx(
1860 [ in ] HRES_RPC hResource,
1861 [ in ] uint32 dwOnlineFlags,
1862 [ in, size_is(cbInBufferSize) ] uint8* lpInBuffer,
1863 [ in ] uint32 cbInBufferSize,
1864 [ out ] WERROR *rpc_status
1871 clusapi_OfflineResourceEx(
1872 [ in ] HRES_RPC hResource,
1873 [ in ] uint32 dwOfflineFlags,
1874 [ in, size_is(cbInBufferSize) ] uint8* lpInBuffer,
1875 [ in ] uint32 cbInBufferSize,
1876 [ out ] WERROR *rpc_status
1879 #define HGENERIC_RPC policy_handle
1881 typedef [context_handle] void *HGENERIC_RPC;
1885 uint32 dwObjectType; // really of type CLUSTER_OBJECT_TYPE_RPC
1887 } NOTIFY_FILTER_AND_TYPE_RPC;
1890 NOTIFY_FILTER_AND_TYPE_RPC FilterAndType;
1891 [ size_is(dwBufferSize ) ] uint8* buffer;
1892 uint32 dwBufferSize;
1893 [string] [charset(UTF16)] uint16 *ObjectId;
1894 [string] [charset(UTF16)] uint16 *ParentId;
1895 [string] [charset(UTF16)] uint16 *Name;
1896 [string] [charset(UTF16)] uint16 *Type;
1897 } NOTIFICATION_DATA_RPC;
1900 uint32 *dwNotifyKey;
1901 NOTIFICATION_DATA_RPC NotificationData;
1908 // Notify interface V2 functions
1912 clusapi_CreateNotifyV2(
1913 [ out ] WERROR *rpc_error,
1914 [ out ] WERROR *rpc_status
1918 clusapi_CreateNotifyV2(
1919 [ out ] WERROR *rpc_error,
1920 [ out ] WERROR *rpc_status,
1921 [ out ] HNOTIFY_RPC *hNotify
1929 clusapi_AddNotifyV2(
1930 [ in ] HNOTIFY_RPC hNotify,
1931 [ in ] HGENERIC_RPC hObject,
1932 [ in ] NOTIFY_FILTER_AND_TYPE_RPC filter,
1933 [ in ] uint32 dwNotifyKey,
1934 [ in ] uint32 dwVersion,
1935 [ in ] boolean8 isTargetedAtObject,
1936 [ out ] WERROR *rpc_status
1943 clusapi_GetNotifyV2(
1944 [ in ] HNOTIFY_RPC hNotify,
1945 [ out, size_is(,*dwNumNotifications) ] NOTIFICATION_RPC **Notifications,
1946 [ out ] uint32 *dwNumNotifications
1953 clusapi_QueryAllValues(
1954 [ in ] HKEY_RPC hKey,
1955 [ out ] uint32 *pcbData,
1956 [ out, size_is(1, *pcbData) ] uint8 ** ppData,
1957 [ out ] WERROR *rpc_status
1962 uint8 DiskIdBlob[16];
1969 clusapi_StmFindDisk(
1970 [ in ] HCLUSTER_RPC hCluster,
1971 [ in ] uint32 dwFlags,
1972 [ in, out, unique ] CLUSTER_DISKID *pDiskId,
1973 [ in, size_is(uniqueIdSize), unique ] uint8 *pUniqueId,
1974 [ in ] uint32 uniqueIdSize,
1975 [ out, ref, string ] [charset(UTF16)] uint16 **ppszDeviceName,
1976 [ out ] WERROR *rpc_status
1980 [string] [charset(UTF16)] uint16 *pszNodeName;
1983 [unique, size_is(ResultSize)] uint8 *pResultData;
1984 } CLUSTER_MRR_NODE_RESPONSE;
1988 [size_is(NodeCount)] CLUSTER_MRR_NODE_RESPONSE *pNodes;
1989 } CLUSTER_MRR_RESPONSE;
1996 [ in ] HCLUSTER_RPC hCluster,
1997 [ in ] boolean8 fExcludeSelf,
1998 [ in ] hyper nodeSet,
1999 [ in ] uint32 dwTimeout,
2000 [ in ] uint32 dwComponent,
2001 [ in ] uint32 dwControlCode,
2002 [ in ] uint32 inSize,
2003 [ in, unique, size_is(inSize) ] uint8 *pInData,
2004 [ out, ref, size_is(1, 1) ] CLUSTER_MRR_RESPONSE **ppInfo,
2005 [ out ] WERROR *rpc_status
2012 clusapi_CreateGroupEnum(
2013 [ in ] HCLUSTER_RPC hCluster,
2014 [ in, unique, size_is(cbProperties)] uint8* pProperties,
2015 [ in ] uint32 cbProperties,
2016 [ in, unique, size_is(cbRoProperties)] uint8* pRoProperties,
2017 [ in ] uint32 cbRoProperties,
2018 [ out ] GROUP_ENUM_LIST **ppResultList,
2019 [ out ] WERROR *rpc_status
2026 clusapi_CreateResourceEnum(
2027 [ in ] HCLUSTER_RPC hCluster,
2028 [ in, unique, size_is(cbProperties)] uint8* pProperties,
2029 [ in ] uint32 cbProperties,
2030 [ in, unique, size_is(cbRoProperties)] uint8* pRoProperties,
2031 [ in ] uint32 cbRoProperties,
2032 [ out ] RESOURCE_ENUM_LIST **ppResultList,
2033 [ out ] WERROR *rpc_status
2040 clusapi_ExecuteReadBatch(
2041 [ in ] HKEY_RPC hKey,
2042 [ in ] uint32 cbInData,
2043 [ in, size_is(cbInData)] uint8 *lpInData,
2044 [ out ] uint32 *cbOutData,
2045 [ out, size_is(,*cbOutData) ] uint8 ** lpOutData,
2046 [ out ] WERROR *rpc_status
2053 clusapi_RestartResource(
2054 [ in ] HRES_RPC hResource,
2055 [ in ] uint32 dwFlags,
2056 [ out ] WERROR *rpc_status
2062 [string] [charset(UTF16)] uint16 *Name;
2063 } NOTIFICATION_DATA_ASYNC_RPC;
2069 clusapi_GetNotifyAsync(
2070 [ in ] HNOTIFY_RPC hNotify,
2071 [ out, size_is(,*dwNumNotifications) ] NOTIFICATION_DATA_ASYNC_RPC **Notifications,
2072 [ out ] uint32 *dwNumNotifications
2076 DiskIdSignature = 0x00000001,
2077 DiskIdGuid = 0x00000002,
2078 DiskIdUnKnown = 0x00001388
2079 } CLUSDSK_DISKID_ENUM;
2083 CLUSDSK_DISKID_ENUM DiskIdType;
2084 [switch_is(DiskIdType)] union {
2085 [case(DiskIdSignature)] uint32 DiskSignature;
2086 [case(DiskIdGuid)] GUID DiskGuid;
2091 CLUSPROP_TYPE_ENDMARK = 0x0000,
2092 CLUSPROP_TYPE_LIST_VALUE = 0x0001,
2093 CLUSPROP_TYPE_RESCLASS = 0x0002,
2094 CLUSPROP_TYPE_NAME = 0x0004,
2095 CLUSPROP_TYPE_SIGNATURE = 0x0005,
2096 CLUSPROP_TYPE_SCSIADDRESS = 0x0006,
2097 CLUSPROP_TYPE_DISK_NUMBER = 0x0007,
2098 CLUSPROP_TYPE_PARTITION_INFO = 0x0008,
2099 CLUSPROP_TYPE_DISK_SERIALNUMBER = 0x000a,
2100 CLUSPROP_TYPE_DISK_GUID = 0x000b,
2101 CLUSPROP_TYPE_DISK_SIZE = 0x000c,
2102 CLUSPROP_TYPE_PARTITION_INFO_EX = 0x000d
2103 } CLUSTER_PROPERTY_TYPE;
2106 CLUSPROP_FORMAT_UNKNOWN = 0x0000,
2107 CLUSPROP_FORMAT_BINARY = 0x0001,
2108 CLUSPROP_FORMAT_DWORD = 0x0002,
2109 CLUSPROP_FORMAT_SZ = 0x0003,
2110 CLUSPROP_FORMAT_EXPAND_SZ = 0x0004,
2111 CLUSPROP_FORMAT_MULTI_SZ = 0x0005,
2112 CLUSPROP_FORMAT_ULARGE_INTEGER = 0x0006,
2113 CLUSPROP_FORMAT_LONG = 0x0007,
2114 CLUSPROP_FORMAT_EXPANDED_SZ = 0x0008,
2115 CLUSPROP_FORMAT_SECURITY_DESCRIPTOR = 0x0009,
2116 CLUSPROP_FORMAT_LARGE_INTEGER = 0x000a,
2117 CLUSPROP_FORMAT_WORD = 0x000b,
2118 CLUSPROP_FORMAT_FILETIME = 0x000c
2119 } CLUSTER_PROPERTY_FORMAT;
2122 CLUSPROP_SYNTAX_ENDMARK = 0x00000000,
2123 CLUSPROP_SYNTAX_NAME = 0x00040003,
2124 CLUSPROP_SYNTAX_RESCLASS = 0x00020002,
2125 CLUSPROP_SYNTAX_LIST_VALUE_SZ = 0x00010003,
2126 CLUSPROP_SYNTAX_LIST_VALUE_EXPAND_SZ = 0x00010004,
2127 CLUSPROP_SYNTAX_LIST_VALUE_DWORD = 0x00010002,
2128 CLUSPROP_SYNTAX_LIST_VALUE_BINARY = 0x00010001,
2129 CLUSPROP_SYNTAX_LIST_VALUE_MULTI_SZ = 0x00010005,
2130 CLUSPROP_SYNTAX_LIST_VALUE_LONG = 0x00010007,
2131 CLUSPROP_SYNTAX_LIST_VALUE_EXPANDED_SZ = 0x00010008,
2132 CLUSPROP_SYNTAX_LIST_VALUE_SECURITY_DESCRIPTOR = 0x00010009,
2133 CLUSPROP_SYNTAX_LIST_VALUE_LARGE_INTEGER = 0x0001000a,
2134 CLUSPROP_SYNTAX_LIST_VALUE_ULARGE_INTEGER = 0x00010006,
2135 CLUSPROP_SYNTAX_LIST_VALUE_WORD = 0x0001000b,
2136 CLUSPROP_SYNTAX_LIST_VALUE_FILETIME = 0x0001000c,
2137 CLUSPROP_SYNTAX_DISK_SIGNATURE = 0x00050002,
2138 CLUSPROP_SYNTAX_SCSI_ADDRESS = 0x00060002,
2139 CLUSPROP_SYNTAX_DISK_NUMBER = 0x00070002,
2140 CLUSPROP_SYNTAX_PARTITION_INFO = 0x00080001,
2141 CLUSPROP_SYNTAX_DISK_SERIALNUMBER = 0x000a0003,
2142 CLUSPROP_SYNTAX_DISK_GUID = 0x000b0003,
2143 CLUSPROP_SYNTAX_DISK_SIZE = 0x000c0006,
2144 CLUSPROP_SYNTAX_PARTITION_INFO_EX = 0x000d0001
2145 } CLUSTER_PROPERTY_SYNTAX;
2148 CLUS_CHAR_UNKNOWN = 0x00000000,
2149 CLUS_CHAR_QUORUM = 0x00000001,
2150 CLUS_CHAR_DELETE_REQUIRES_ALL_NODES = 0x00000002,
2151 CLUS_CHAR_LOCAL_QUORUM = 0x00000004,
2152 CLUS_CHAR_BROADCAST_DELETE = 0x00000020,
2153 CLUS_CHAR_SINGLE_CLUSTER_INSTANCE = 0x00000040,
2154 CLUS_CHAR_SINGLE_GROUP_INSTANCE = 0x00000080,
2155 CLUS_CHAR_COEXIST_IN_SHARED_VOLUME_GROUP = 0x00000100,
2156 CLUS_CHAR_RESERVED1 = 0x00000200,
2157 CLUS_CHAR_MONITOR_DETACH = 0x00000400,
2158 CLUS_CHAR_RESERVED2 = 0x00000800,
2159 CLUS_CHAR_RESERVED3 = 0x00001000,
2160 CLUS_CHAR_RESERVED4 = 0x00002000
2161 } CLUS_CHARACTERISTICS;
2164 CLUS_FLAG_CORE = 0x00000001
2168 MaintenanceModeTypeDisableIsAliveCheck = 1,
2169 MaintenanceModeTypeOfflineResource = 2,
2170 MaintenanceModeTypeUnclusterResource = 3
2171 } MAINTENANCE_MODE_TYPE;
2174 CLUSTER_CHANGE_NODE_STATE = 0x00000001,
2175 CLUSTER_CHANGE_NODE_DELETED = 0x00000002,
2176 CLUSTER_CHANGE_NODE_ADDED = 0x00000004,
2177 CLUSTER_CHANGE_NODE_PROPERTY = 0x00000008,
2178 CLUSTER_CHANGE_REGISTRY_NAME = 0x00000010,
2179 CLUSTER_CHANGE_REGISTRY_ATTRIBUTES = 0x00000020,
2180 CLUSTER_CHANGE_REGISTRY_VALUE = 0x00000040,
2181 CLUSTER_CHANGE_REGISTRY_SUBTREE = 0x00000080,
2182 CLUSTER_CHANGE_RESOURCE_STATE = 0x00000100,
2183 CLUSTER_CHANGE_RESOURCE_DELETED = 0x00000200,
2184 CLUSTER_CHANGE_RESOURCE_ADDED = 0x00000400,
2185 CLUSTER_CHANGE_RESOURCE_PROPERTY = 0x00000800,
2186 CLUSTER_CHANGE_GROUP_STATE = 0x00001000,
2187 CLUSTER_CHANGE_GROUP_DELETED = 0x00002000,
2188 CLUSTER_CHANGE_GROUP_ADDED = 0x00004000,
2189 CLUSTER_CHANGE_GROUP_PROPERTY = 0x00008000,
2190 CLUSTER_CHANGE_RESOURCE_TYPE_DELETED = 0x00010000,
2191 CLUSTER_CHANGE_RESOURCE_TYPE_ADDED = 0x00020000,
2192 CLUSTER_CHANGE_RESOURCE_TYPE_PROPERTY = 0x00040000,
2193 CLUSTER_CHANGE_CLUSTER_RECONNECT = 0x00080000,
2194 CLUSTER_CHANGE_NETWORK_STATE = 0x00100000,
2195 CLUSTER_CHANGE_NETWORK_DELETED = 0x00200000,
2196 CLUSTER_CHANGE_NETWORK_ADDED = 0x00400000,
2197 CLUSTER_CHANGE_NETWORK_PROPERTY = 0x00800000,
2198 CLUSTER_CHANGE_NETINTERFACE_STATE = 0x01000000,
2199 CLUSTER_CHANGE_NETINTERFACE_DELETED = 0x02000000,
2200 CLUSTER_CHANGE_NETINTERFACE_ADDED = 0x04000000,
2201 CLUSTER_CHANGE_NETINTERFACE_PROPERTY = 0x08000000,
2202 CLUSTER_CHANGE_QUORUM_STATE = 0x10000000,
2203 CLUSTER_CHANGE_CLUSTER_STATE = 0x20000000,
2204 CLUSTER_CHANGE_CLUSTER_PROPERTY = 0x40000000,
2205 CLUSTER_CHANGE_HANDLE_CLOSE = 0x80000000
2209 CLUSREG_SET_VALUE = 1,
2210 CLUSREG_CREATE_KEY = 2,
2211 CLUSREG_DELETE_KEY = 3,
2212 CLUSREG_DELETE_VALUE = 4,
2213 CLUSREG_VALUE_DELETED = 6,
2214 CLUSREG_READ_KEY = 7,
2215 CLUSREG_READ_VALUE = 8,
2216 CLUSREG_READ_ERROR = 9
2217 } CLUSTER_REG_BATCH_COMMAND;
2220 IDL_CLUSTER_SET_PASSWORD_IGNORE_DOWN_NODES = 1
2221 } IDL_CLUSTER_SET_PASSWORD_FLAGS;
2224 CLUSTER_QUORUM_MAINTAINED = 0,
2225 CLUSTER_QUORUM_LOST = 1
2226 } CLUSTER_QUORUM_VALUE;
2229 CLUSTER_OBJECT_TYPE_CLUSTER = 0x00000001,
2230 CLUSTER_OBJECT_TYPE_GROUP = 0x00000002,
2231 CLUSTER_OBJECT_TYPE_RESOURCE = 0x00000003,
2232 CLUSTER_OBJECT_TYPE_RESOURCE_TYPE = 0x00000004,
2233 CLUSTER_OBJECT_TYPE_NETWORK_INTERFACE = 0x00000005,
2234 CLUSTER_OBJECT_TYPE_NETWORK = 0x00000006,
2235 CLUSTER_OBJECT_TYPE_NODE = 0x00000007,
2236 CLUSTER_OBJECT_TYPE_REGISTRY = 0x00000008,
2237 CLUSTER_OBJECT_TYPE_QUORUM = 0x00000009,
2238 CLUSTER_OBJECT_TYPE_SHARED_VOLUME = 0x0000000a
2239 } CLUSTER_OBJECT_TYPE;
2242 CLUSTER_CHANGE_CLUSTER_RECONNECT_V2 = 0x00000001,
2243 CLUSTER_CHANGE_CLUSTER_STATE_V2 = 0x00000002,
2244 CLUSTER_CHANGE_CLUSTER_GROUP_ADDED_V2 = 0x00000004,
2245 CLUSTER_CHANGE_CLUSTER_HANDLE_CLOSE_V2 = 0x00000008,
2246 CLUSTER_CHANGE_CLUSTER_NETWORK_ADDED_V2 = 0x00000010,
2247 CLUSTER_CHANGE_CLUSTER_NODE_ADDED_V2 = 0x00000020,
2248 CLUSTER_CHANGE_CLUSTER_RESOURCE_TYPE_ADDED_V2 = 0x00000040,
2249 CLUSTER_CHANGE_CLUSTER_COMMON_PROPERTY_V2 = 0x00000080,
2250 CLUSTER_CHANGE_CLUSTER_PRIVATE_PROPERTY_V2 = 0x00000100,
2251 CLUSTER_CHANGE_CLUSTER_LOST_NOTIFICATIONS_V2 = 0x00000200,
2252 CLUSTER_CHANGE_CLUSTER_RENAME_V2 = 0x00000400
2253 } CLUSTER_CHANGE_CLUSTER_V2;
2256 CLUSTER_CHANGE_GROUP_DELETED_V2 = 0x00000001,
2257 CLUSTER_CHANGE_GROUP_COMMON_PROPERTY_V2 = 0x00000002,
2258 CLUSTER_CHANGE_GROUP_PRIVATE_PROPERTY_V2 = 0x00000004,
2259 CLUSTER_CHANGE_GROUP_STATE_V2 = 0x00000008,
2260 CLUSTER_CHANGE_GROUP_OWNER_NODE_V2 = 0x00000010,
2261 CLUSTER_CHANGE_GROUP_PREFERRED_OWNERS_V2 = 0x00000020,
2262 CLUSTER_CHANGE_GROUP_RESOURCE_ADDED_V2 = 0x00000040,
2263 CLUSTER_CHANGE_GROUP_RESOURCE_GAINED_V2 = 0x00000080,
2264 CLUSTER_CHANGE_GROUP_RESOURCE_LOST_V2 = 0x00000100,
2265 CLUSTER_CHANGE_GROUP_HANDLE_CLOSE_V2 = 0x00000200
2266 } CLUSTER_CHANGE_GROUP_V2;
2269 CLUSTER_CHANGE_RESOURCE_COMMON_PROPERTY_V2 = 0x00000001,
2270 CLUSTER_CHANGE_RESOURCE_PRIVATE_PROPERTY_V2 = 0x00000002,
2271 CLUSTER_CHANGE_RESOURCE_STATE_V2 = 0x00000004,
2272 CLUSTER_CHANGE_RESOURCE_OWNER_GROUP_V2 = 0x00000008,
2273 CLUSTER_CHANGE_RESOURCE_DEPENDENCIES_V2 = 0x00000010,
2274 CLUSTER_CHANGE_RESOURCE_DEPENDENTS_V2 = 0x00000020,
2275 CLUSTER_CHANGE_RESOURCE_POSSIBLE_OWNERS_V2 = 0x00000040,
2276 CLUSTER_CHANGE_RESOURCE_DELETED_V2 = 0x00000080,
2277 CLUSTER_CHANGE_RESOURCE_DLL_UPGRADED_V2 = 0x00000100,
2278 CLUSTER_CHANGE_RESOURCE_HANDLE_CLOSE_V2 = 0x00000200
2279 } CLUSTER_CHANGE_RESOURCE_V2;
2282 CLUSTER_CHANGE_RESOURCE_TYPE_DELETED_V2 = 0x00000001,
2283 CLUSTER_CHANGE_RESOURCE_TYPE_COMMON_PROPERTY_V2 = 0x00000002,
2284 CLUSTER_CHANGE_RESOURCE_TYPE_PRIVATE_PROPERTY_V2 = 0x00000004,
2285 CLUSTER_CHANGE_RESOURCE_TYPE_POSSIBLE_OWNERS_V2 = 0x00000008,
2286 CLUSTER_CHANGE_RESOURCE_TYPE_DLL_UPGRADED_V2 = 0x00000010
2287 } CHANGE_RESOURCE_TYPE_V2;
2290 CLUSTER_CHANGE_NETINTERFACE_DELETED_V2 = 0x00000001,
2291 CLUSTER_CHANGE_NETINTERFACE_COMMON_PROPERTY_V2 = 0x00000002,
2292 CLUSTER_CHANGE_NETINTERFACE_PRIVATE_PROPERTY_V2 = 0x00000004,
2293 CLUSTER_CHANGE_NETINTERFACE_STATE_V2 = 0x00000008,
2294 CLUSTER_CHANGE_NETINTERFACE_HANDLE_CLOSE_V2 = 0x00000010
2295 } CLUSTER_CHANGE_NETINTERFACE_V2;
2298 CLUSTER_CHANGE_NETWORK_DELETED_V2 = 0x00000001,
2299 CLUSTER_CHANGE_NETWORK_COMMON_PROPERTY_V2 = 0x00000002,
2300 CLUSTER_CHANGE_NETWORK_PRIVATE_PROPERTY_V2 = 0x00000004,
2301 CLUSTER_CHANGE_NETWORK_STATE_V2 = 0x00000008,
2302 CLUSTER_CHANGE_NETWORK_HANDLE_CLOSE_V2 = 0x00000010
2303 } CLUSTER_CHANGE_NETWORK_V2;
2306 CLUSTER_CHANGE_NODE_NETINTERFACE_ADDED_V2 = 0x00000001,
2307 CLUSTER_CHANGE_NODE_DELETED_V2 = 0x00000002,
2308 CLUSTER_CHANGE_NODE_COMMON_PROPERTY_V2 = 0x00000004,
2309 CLUSTER_CHANGE_NODE_PRIVATE_PROPERTY_V2 = 0x00000008,
2310 CLUSTER_CHANGE_NODE_STATE_V2 = 0x00000010,
2311 CLUSTER_CHANGE_NODE_GROUP_GAINED_V2 = 0x00000020,
2312 CLUSTER_CHANGE_NODE_GROUP_LOST_V2 = 0x00000040,
2313 CLUSTER_CHANGE_NODE_HANDLE_CLOSE_V2 = 0x00000080
2314 } CLUSTER_CHANGE_NODE_V2;
2317 CLUSTER_CHANGE_REGISTRY_ATTRIBUTES_V2 = 0x00000001,
2318 CLUSTER_CHANGE_REGISTRY_NAME_V2 = 0x00000002,
2319 CLUSTER_CHANGE_REGISTRY_SUBTREE_V2 = 0x00000004,
2320 CLUSTER_CHANGE_REGISTRY_VALUE_V2 = 0x00000008,
2321 CLUSTER_CHANGE_REGISTRY_HANDLE_CLOSE_V2 = 0x00000010
2322 } CLUSTER_CHANGE_REGISTRY_V2;
2325 CLUSTER_CHANGE_QUORUM_STATE_V2 = 0x00000001
2326 } CLUSTER_CHANGE_QUORUM_V2;
2329 CLUSTER_CHANGE_SHARED_VOLUME_STATE_V2 = 0x00000001
2330 } CLUSTER_CHANGE_SHARED_VOLUME_V2;
2333 DiskIdSignature = 0x00000001,
2334 DiskIdGuid = 0x00000002,
2335 DiskIdUnKnown = 0x00001388
2336 } CLUSDSK_DISKID_ENUM;