ExGetPrmInterface function (prminterface.h)
This routine fills a caller-provided structure with pointers to system-supplied routines that comprise the Platform Runtime Mechanism (PRM) interface.
Syntax
NTSTATUS ExGetPrmInterface(
[in] ULONG Version,
[out] PPRM_INTERFACE InterfaceOut
);
Parameters
[in] Version
A ULONG value that specifies the interface version. Set to 1 for Windows 11, version 24H2.
[out] InterfaceOut
A pointer to a caller-supplied PRM_INTERFACE structure which, on output, contains pointers to functions that support PRM operations.
Return value
This method returns NTSTATUS which contains STATUS_SUCCESS if the call was successful. Otherwise, the method returns an appropriate error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 11, version 24H2 |
Header | prminterface.h |
IRQL | PASSIVE_LEVEL |