// prminterface.h
PRM_LOCK_MODULE PrmLockModule;
NTSTATUS PrmLockModule(
[in] LPGUID HandlerGuid
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
This routine locks a PRM module in memory and prevents it from being updated by the OS runtime.
HandlerGuid [in]Supplies the GUID of the PRM handler whose module needs to be locked.
This method returns NTSTATUS which contains STATUS_SUCCESS if the call was successful. Otherwise, the method returns an appropriate error code.
PRM_LOCK_MODULE 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.
Windows Kernel-Mode PRM Library