CLUSCTL_RESOURCE_ADD_DEPENDENCY

The CLUSCTL_RESOURCE_ADD_DEPENDENCY control code is used by the Cluster Service to notify a resource DLL that a dependency for the resource was added.

Quick Info

Type: Internal
Access: CLUS_ACCESS_WRITE
Input: Null-terminated Unicode string
Output: None
Global: CLUS_NOT_GLOBAL
Modify: CLUS_MODIFY
Code: CLCTL_ADD_DEPENDENCY

Notes to Resource DLL Writers

The Cluster Service calls your ResourceControl entry point function with the CLUSCTL_RESOURCE_ADD_DEPENDENCY control code when it adds a dependency for the resource. For example, if the resource is a Generic Application resource, this notification would occur when a Physical Disk resource upon which the application depends is added to the group to which the application belongs.

The InBuffer parameter always points to a Unicode string that contains the name of the resource being added as a dependency.