Skip to content

Latest commit

 

History

History
101 lines (81 loc) · 3.89 KB

nf-clusapi-createclusternotifyportv2.md

File metadata and controls

101 lines (81 loc) · 3.89 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:clusapi.CreateClusterNotifyPortV2
CreateClusterNotifyPortV2 function (clusapi.h)
Creates or modifies a notification port. For information about notification ports, see Receiving Cluster Events.
CreateClusterNotifyPortV2
CreateClusterNotifyPortV2 function [Failover Cluster]
PCLUSAPI_CREATE_CLUSTER_NOTIFY_PORT_V2
PCLUSAPI_CREATE_CLUSTER_NOTIFY_PORT_V2 function [Failover Cluster]
clusapi/CreateClusterNotifyPortV2
clusapi/PCLUSAPI_CREATE_CLUSTER_NOTIFY_PORT_V2
mscs.createclusternotifyportv2
mscs\createclusternotifyportv2.htm
MsCS
81FE17A9-DE1C-4CDD-BE7D-50EA202D5AAC
12/05/2018
CreateClusterNotifyPortV2, CreateClusterNotifyPortV2 function [Failover Cluster], PCLUSAPI_CREATE_CLUSTER_NOTIFY_PORT_V2, PCLUSAPI_CREATE_CLUSTER_NOTIFY_PORT_V2 function [Failover Cluster], clusapi/CreateClusterNotifyPortV2, clusapi/PCLUSAPI_CREATE_CLUSTER_NOTIFY_PORT_V2, mscs.createclusternotifyportv2
clusapi.h
Windows
None supported
Windows Server 2012
ClusAPI.lib
ClusAPI.dll
Windows
19H1
CreateClusterNotifyPortV2
clusapi/CreateClusterNotifyPortV2
c++
APIRef
kbSyntax
DllExport
ClusAPI.dll
Ext-MS-Win-Cluster-ClusAPI-l1-1-1.dll
Ext-MS-Win-Cluster-ClusAPI-l1-1-2.dll
CreateClusterNotifyPortV2

CreateClusterNotifyPortV2 function

-description

Creates or modifies a notification port. For information about notification ports, see Receiving Cluster Events.

-parameters

-param hChange [in]

A handle to a notification port or INVALID_HANDLE_VALUE, indicating that a new handle should be created. If the hChange parameter is an existing handle, the events that are specified in the dwFilter parameter are added to the notification port.

-param hCluster [in]

A handle to the cluster to be associated with the notification port that is identified by the hChange parameter or INVALID_HANDLE_VALUE, indicating that the notification port should not be associated with a cluster. If the hChange parameter is not set to INVALID_HANDLE_VALUE, the hCluster parameter cannot be set to INVALID_HANDLE_VALUE.

-param Filters [in]

A pointer to the NOTIFY_FILTER_AND_TYPE structure that specifies the type of notifications that the port can accept.

-param dwFilterCount [in]

The number of filters that are specified by the Filters parameter.

-param dwNotifyKey [in]

A user-specified value to associate with the retrieval of notifications from the notification port. The dwNotifyKey parameter is returned from GetClusterNotifyV2 when an event of one of the types that are specified in Filters occurs.

-returns

If the operation succeeds, the function returns a notification port handle.

If the operation fails, the function returns NULL. For more information about the error, call GetLastError.

-see-also

Failover Cluster Management Function