ResUtilIsResourceClassEqual function (resapi.h)

Tests whether the resource class of a specified resource is equal to a specified resource class. The PRESUTIL_IS_RESOURCE_CLASS_EQUAL type defines a pointer to this function.

Syntax

BOOL ResUtilIsResourceClassEqual(
  [in] PCLUS_RESOURCE_CLASS_INFO prci,
  [in] HRESOURCE                 hResource
);

Parameters

[in] prci

Pointer to a CLUS_RESOURCE_CLASS_INFO structure describing the resource class.

[in] hResource

Handle to the resource whose class is to be compared to prci.

Return value

If the resource classes are equal, the function returns TRUE.

If the resource classes are not equal, the function returns FALSE.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008 Enterprise, Windows Server 2008 Datacenter
Target Platform Windows
Header resapi.h
Library ResUtils.lib
DLL ResUtils.dll

See also

ResUtilResourcesEqual