ResUtilResourcesEqual

The ResUtilResourcesEqual utility function tests whether or not two resource handles represent the same resource.

BOOL WINAPI ResUtilResourcesEqual(
  HRESOURCE hSelf,
  HRESOURCE hResource  
);
 

Parameters

hSelf
[in] Handle to one of the resources.
hResource
[in] Handle to the other resource.

Return Values

TRUE
The resources are equal.
FALSE
The resources are not equal.

Notes to Callers

ResUtilResourcesEqual compares the two resources by retrieving their names. To retrieve the names, ResUtilResourcesEqual passes the CLUSCTL_RESOURCE_GET_NAME control code to the ClusterResourceControl function. If the names are the same, the resources are equal.

QuickInfo

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