CLUSCTL_RESOURCE_JOINING_GROUP control code

Tells a resource when it is joining a group. 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.


ClusterResourceControl( 
  hResource,                                 // resource handle
  hHostNode,                                 // optional host node
  CLUSCTL_RESOURCE_FSWITNESS_SET_EPOCH_INFO, // this control code
  lpInBuffer,                                // input buffer: group name
  cbInBufferSize,                            // input buffer size (bytes)
  NULL,                                      // output buffer (not used)
  0,                                         // allocated buffer size (not used)
  lpcbBytesReturned );                       // actual size of resulting data (not used)

Parameters

The following control code function and DLL support parameter is specific to this control code. For complete parameter descriptions, see ClusterResourceControl or ResourceControl.

lpInBuffer

contains the name of the group this resource is attempting to join.

Return value

ClusterResourceControl returns one of the following values.

ERROR_SUCCESS

The operation completed successfully.

System error code

If any other value is returned, the operation failed.

Remarks

ClusAPI.h defines the 32 bits of CLUSCTL_RESOURCE_JOINING_GROUP (0x0150005a) as follows.

ComponentBit locationValue
Object code24–31CLUS_OBJECT_RESOURCE (0x1)
Global bit23CLUS_NOT_GLOBAL (0x0)
Modify bit22CLUS_MODIFY (0x1)
User bit21CLCTL_CLUSTER_BASE (0x0)
Type bit20Internal (0x1)
Operation code0–23CLCTL_JOINING_GROUP (0x50005a)
Access code0–1CLUS_ACCESS_WRITE (0x2)

 

For more information, see Control Code Architecture.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 Datacenter, Windows Server 2008 Enterprise

Header

ClusAPI.h

See also

Internal Resource Control Codes
ResourceControl

 

 

Show:
© 2014 Microsoft