CanResourceBeDependent function (clusapi.h)
BOOL CanResourceBeDependent( [in] HRESOURCE hResource, [in] HRESOURCE hResourceDependent );
Handle to the resource in question.
Handle to the resource upon which the resource identified by hResource may depend.
||The resource identified by hResource can depend on the resource identified by hResourceDependent.|
||The resource identified by hResource cannot depend on the resource identified by hResourceDependent.|
With the CanResourceBeDependent function, for the resource identified by hResource to be dependent on the resource identified by hResourceDependent, the following must be true:
- Both resources must be members of the same group.
- The resource identified by hResourceDependent cannot depend on the resource identified by hResource, either directly or indirectly.
Do not pass LPC and RPC handles to the same function call. Otherwise, the call will raise an RPC exception and can have additional destructive effects. For information on how LPC and RPC handles are created, see Using Object Handles and OpenCluster.
|Minimum supported client||None supported|
|Minimum supported server||Windows Server 2008 Enterprise, Windows Server 2008 Datacenter|