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.CreateClusterResource |
CreateClusterResource function (clusapi.h) |
Creates a resource in a cluster. |
|
mscs\createclusterresource.htm |
MsCS |
c9fe8fa8-57d7-4866-8113-694dc44dae22 |
12/05/2018 |
CLUSTER_RESOURCE_DEFAULT_MONITOR, CLUSTER_RESOURCE_SEPARATE_MONITOR, CreateClusterResource, CreateClusterResource function [Failover Cluster], PCLUSAPI_CREATE_CLUSTER_RESOURCE, PCLUSAPI_CREATE_CLUSTER_RESOURCE function [Failover Cluster], _wolf_createclusterresource, clusapi/CreateClusterResource, clusapi/PCLUSAPI_CREATE_CLUSTER_RESOURCE, mscs.createclusterresource |
clusapi.h |
Windows |
None supported |
Windows Server 2008 Enterprise, Windows Server 2008 Datacenter |
ClusAPI.lib |
ClusAPI.dll |
Windows |
19H1 |
|
|
|
|
|
|
Creates a resource in a cluster. The PCLUSAPI_CREATE_CLUSTER_RESOURCE type defines a pointer to this function.
Handle to the group that should receive the resource.
Pointer to a null-terminated Unicode string containing the name of the new resource. The specified name must be unique within the cluster.
Pointer to the type of new resource. The specified type must be installed in the cluster.
Bitmask describing how the resource should be added to the cluster. The dwFlags parameter can be set to one of the following values enumerated from the CLUSTER_RESOURCE_CREATE_FLAGS enumeration.
The Cluster service determines the Resource Monitor to which the new resource will be assigned.
Causes the Cluster service to create a separate Resource Monitor dedicated exclusively to the new resource.
If the operation succeeds, the function returns a resource handle.
If the operation fails, the function returns NULL. For more information about the error, call GetLastError.
Do not call CreateClusterResource from a resource DLL. For more information, see Function Calls to Avoid in Resource DLLs.