The GetClusterNotify function returns information relating to the next notification event stored for a notification port.
DWORD WINAPI GetClusterNotify(
HCHANGE hChange,
LPDWORD lpdwNotifyKey,
LPDWORD lpdwFilterType,
LPWSTR lpszName,
LPDWORD lpcchName,
DWORD dwMilliseconds
);
Value of lpdwFilterType | Value of lpszName |
---|---|
CLUSTER_CHANGE_GROUP_ADDED | New group name. |
CLUSTER_CHANGE_GROUP_DELETED | Deleted group name. |
CLUSTER_CHANGE_GROUP_PROPERTY | Name of changed group. |
CLUSTER_CHANGE_GROUP_STATE | Name of changed group. |
CLUSTER_CHANGE_HANDLE_CLOSE | Name of object being closed. |
CLUSTER_CHANGE_NODE_ADDED | Name of new node. |
CLUSTER_CHANGE_NODE_DELETED | Name of deleted node. |
CLUSTER_CHANGE_NODE_PROPERTY | Name of changed node. |
CLUSTER_CHANGE_NODE_STATE | Name of changed node. |
CLUSTER_CHANGE_REGISTRY_ ATTRIBUTES |
Relative name of changed cluster database key. |
CLUSTER_CHANGE_REGISTRY_NAME | Relative name of changed cluster database key. |
CLUSTER_CHANGE_REGISTRY_VALUE | Relative name of changed cluster database key. |
CLUSTER_CHANGE_RESOURCE_ADDED | New resource name. |
CLUSTER_CHANGE_RESOURCE_ DELETED |
Deleted resource name. |
CLUSTER_CHANGE_RESOURCE_ PROPERTY |
Name of changed resource. |
CLUSTER_CHANGE_RESOURCE_STATE | Name of changed resource. |
CLUSTER_CHANGE_RESOURCE_ TYPE_ADDED |
Name of new resource type. |
CLUSTER_CHANGE_RESOURCE_ TYPE_DELETED |
Name of deleted resource type. |
If the notification was not successfully returned, GetClusterNotify returns a Win32 error value. For more detailed information about the error, call the Win32 function GetLastError.
Version: Use Windows NT Server Enterprise Edition 4.0.
Windows CE: Unsupported.
Header: Declared in clusapi.h.