Freigeben über


CLUSCTL_RESOURCE_TYPE_STARTING_PHASE2 control code

An internal control code that indicates that a node in the cluster has just completed a startup of the Cluster service. Resource DLLs receive this control code through the ResourceTypeControl entry point function, which is called once for every resource type supported by the DLL.

Parameters

This control code has no parameters.

Return value

This control code does not return a value.

Remarks

Once your DLL receives the CLUSCTL_RESOURCE_TYPE_STARTING_PHASE2 control code, the Cluster API is available to the node on which the Cluster service has started.

ClusAPI.h defines the 32 bits of CLUSCTL_RESOURCE_TYPE_STARTING_PHASE2 as follows (for more information, see Control Code Architecture).

Component Bit location Value
Object code 24 31 CLUS_OBJECT_RESOURCE_TYPE (0x2)
Global bit 23 CLUS_NOT_GLOBAL (0x0)
Modify bit 22 CLUS_MODIFY (0x1)
User bit 21 CLCTL_CLUSTER_BASE (0x0)
Type bit 20 Internal (0x1)
Operation code 0 23 CLCTL_STARTING_PHASE2 (0x50003a)
Access code 0 1 CLUS_ACCESS_READ (0x1)

Resource DLL Support

Optional. Support the CLUSCTL_RESOURCE_TYPE_STARTING_PHASE2 control code if you have any tasks that must be performed after the Cluster service has started on the node. The Resource Monitor provides no default processing.

For more information on the ResourceTypeControl entry point, see Implementing ResourceTypeControl.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2008 Enterprise, Windows Server 2008 Datacenter
Header
ClusAPI.h

See also

CLUS_STARTING_PARAMS

CLUSCTL_RESOURCE_TYPE_STARTING_PHASE1

ResourceTypeControl