CanResourceBeDependent

The CanResourceBeDependent function determines if one resource can be dependent upon another resource.

BOOL WINAPI CanResourceBeDependent(
  HRESOURCE hResource,          
  HRESOURCE hResourceDependent  
);
 

Parameters

hResource
[in] Handle to the resource in question.
hResourceDependent
[in] Handle to the resource upon which the resource identified by hResource may or may not depend.

Return Values

TRUE
The resource identified by hResource can depend on the resource identified by hResourceDependent.
FALSE
The resource identified by hResource cannot depend on the resource identified by hResourceDependent.

Remarks

In order for the resource identified by hResource to be dependent on the resource identified by hResourceDependent:

QuickInfo

  Version: Use Windows NT Server Enterprise Edition 4.0.
  Windows CE: Unsupported.
  Header: Declared in clusapi.h.