PRM_UNLOCK_MODULE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// prminterface.h

PRM_UNLOCK_MODULE PrmUnlockModule;

NTSTATUS PrmUnlockModule(
  [in] LPGUID HandlerGuid
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-prminterface-prm_unlock_module)

Description

This routine undoes the operation from PRM_LOCK_MODULE and allows the module to be updated. PRM_UNLOCK_MODULE should always be preceded by exactly one PRM_LOCK_MODULE call.

Parameters

HandlerGuid [in]

Supplies the GUID of the PRM handler whose module needs to be unlocked.

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_UNLOCK_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.

See also

Windows Kernel-Mode PRM Library