// prminterface.h
NTSTATUS ExGetPrmInterface(
[in] ULONG Version,
[out] PPRM_INTERFACE InterfaceOut
);
View the official Windows Driver Kit DDI referenceNo description available.
This routine fills a caller-provided structure with pointers to system-supplied routines that comprise the Platform Runtime Mechanism (PRM) interface.
Version [in]A ULONG value that specifies the interface version. Set to 1 for Windows 11, version 24H2.
InterfaceOut [out]A pointer to a caller-supplied PRM_INTERFACE structure which, on output, contains pointers to functions that support PRM operations.
This method returns NTSTATUS which contains STATUS_SUCCESS if the call was successful. Otherwise, the method returns an appropriate error code.