Bewerken

Delen via


PRM_QUERY_HANDLER callback function (prminterface.h)

This routine queries for the presence of a specific PRM handler.

Syntax

PRM_QUERY_HANDLER PrmQueryHandler;

NTSTATUS PrmQueryHandler(
  [in]  LPGUID HandlerGuid,
  [out] PBOOLEAN Found
)
{...}

Parameters

[in] HandlerGuid

Supplies the GUID of the PRM handler to query.

[out] Found

Returns result from the query.

Return value

This method returns NTSTATUS which contains STATUS_SUCCESS if the call was successful. Otherwise, the method returns an appropriate error code.

Remarks

PRM_QUERY_HANDLER is not a system routine that can be called directly by name. This routine is callable only by pointer from the address returned in a PRM_INTERFACE structure. Drivers obtain the address of this routine by calling ExGetPrmInterface.

Requirements

Requirement Value
Minimum supported client Windows 11, version 24H2
Header prminterface.h
IRQL <= HIGH_LEVEL

See also

Windows Kernel-Mode PRM Library