ResUtilIsResourceClassEqual function

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 WINAPI ResUtilIsResourceClassEqual(
  _In_  PCLUS_RESOURCE_CLASS_INFO prci,
  _In_  HRESOURCE hResource
);

typedef BOOL (WINAPI *PRESUTIL_IS_RESOURCE_CLASS_EQUAL)(
    _In_  PCLUS_RESOURCE_CLASS_INFO prci,
    _In_  HRESOURCE hResource
);

Parameters

prci [in]

Pointer to a CLUS_RESOURCE_CLASS_INFO structure describing the resource class.

hResource [in]

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

Minimum supported client

None supported

Minimum supported server

Windows Server 2003 Enterprise, Windows Server 2003 Datacenter

Header

ResApi.h

Library

ResUtils.lib

DLL

ResUtils.dll

See also

ResUtilResourcesEqual

 

 

Show:
© 2014 Microsoft