PRESUTIL_IS_RESOURCE_CLASS_EQUAL callback 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

PRESUTIL_IS_RESOURCE_CLASS_EQUAL PresutilIsResourceClassEqual;

BOOL PresutilIsResourceClassEqual(
  IN PCLUS_RESOURCE_CLASS_INFO prci,
  IN HRESOURCE hResource
)
{...}

Parameters

prci

Pointer to a CLUS_RESOURCE_CLASS_INFO structure describing the resource class.

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

   
Windows version None supported Windows Server 2008 Enterprise, Windows Server 2008 Datacenter
Target Platform Windows
Header resapi.h

See Also

ResUtilResourcesEqual