PRM_INTERFACE structure (prminterface.h)

The PRM_INTERFACE structure provides a set of pointers to functions that control the operation of a PRM interface.

Syntax

typedef struct _PRM_INTERFACE {
  ULONG               Version;
  PPRM_UNLOCK_MODULE  UnlockModule;
  PPRM_LOCK_MODULE    LockModule;
  PPRM_INVOKE_HANDLER InvokeHandler;
  PPRM_QUERY_HANDLER  QueryHandler;
} PRM_INTERFACE, *PPRM_INTERFACE;

Members

Version

Specifies the version of this structure.

UnlockModule

A pointer to a system-defined routine to unlock a PRM module. For more information, see PRM_UNLOCK_MODULE.

LockModule

A pointer to a system-defined routine to lock a PRM module. For more information, see PRM_LOCK_MODULE.

InvokeHandler

A pointer to a system-defined routine to invoke a specific PRM handler. For more information, see PRM_INVOKE_HANDLER.

QueryHandler

A pointer to a system-defined routine to query for the presence of a specific PRM handler. For more information, see PRM_QUERY_HANDLER.

Remarks

All members of this structure, with the exception of Version, are pointers to functions that drivers use to perform PRM operations. Drivers obtain these pointers by calling the ExGetPrmInterface routine.

Requirements

Requirement Value
Minimum supported client Windows 11, version 24H2
Header prminterface.h

See also

Windows Kernel-Mode PRM Library