Поделиться через


CLUSCTL_RESOURCE_TYPE_STARTING_PHASE1 control code

An internal control code that indicates that the Cluster service is starting on one of the cluster nodes. 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

The Cluster API will be unavailable to the node on which the Cluster service is starting until your DLL receives the CLUSCTL_RESOURCE_TYPE_STARTING_PHASE2 control code.

ClusAPI.h defines the 32 bits of CLUSCTL_RESOURCE_TYPE_STARTING_PHASE1 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_PHASE1 (0x500036)
Access code 0 1 CLUS_ACCESS_READ (0x1)

Resource DLL Support

Optional. Support the CLUSCTL_RESOURCE_TYPE_STARTING_PHASE1 control code if you have any tasks that must be performed while the Cluster service is starting on a 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_PHASE2

ResourceTypeControl