CLUSCTL_RESOURCE_ADD_OWNER control code

Internal. Notifies a resource DLL that a node has been added to the list of possible owner nodes for a resource managed by the DLL. Resource DLLs receive this control code as a ResourceControl parameter. Because the control code is internal, applications cannot use it in a control code function.

Parameters

This control code has no parameters.

Return value

This control code does not return a value.

Remarks

Resource DLL Support

Optional. Support the CLUSCTL_RESOURCE_ADD_OWNER control code if the resource needs to retrieve or update properties or perform other tasks in response to the new possible owner. The Resource Monitor does not provide any default processing.

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

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

Component Bit location Value
Object code 24 31 CLUS_OBJECT_RESOURCE (0x1)
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_ADD_OWNER (0x50001a)
Access code 0 1 CLUS_ACCESS_WRITE (0x2)

Requirements

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

See also

AddClusterResourceNode

ClusterResourceControl

ResourceControl