Function_IRPMonDllUnhookDevice - MartinDrab/IRPMon GitHub Wiki
IRPMonDllUnhookDevice function
Summary
Stops monitoring events related to a given device object.
Definition
void cdecl IRPMonDllUnhookDevice(
System.Void* HookHandle
);
Parameters
HookHandle
- A handle representing the device object being monitored.
Return Value
Value | Description |
---|---|
ERROR_SUCCESS | |
The operation has succeeded. The devices is not being | |
monitored any more. The handle given in the argument is not valid any longer. |
| | ERROR_INVALID_HANDLE | The given handle is invalid. |
Remarks
If the whole driver to which the device belongs is unhooked (see IRPMonDllUnhookDriver), this routine needs not to be called since the device handle is automatically invalidated.
See also
Requirements
Header | irpmondll.h |
Library | irpmondll.lib |
DLL | irpmondll.dll |