Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The ObUnRegisterCallbacks routine unregisters a set of callback routines that were registered with the ObRegisterCallbacks routine.
Syntax
VOID ObUnRegisterCallbacks(
[in] PVOID RegistrationHandle
);
Parameters
[in] RegistrationHandle
A value that identifies the set of callback routines to unregister. The ObRegisterCallbacks routine provides this value when it originally registered the callback routines.
Return value
None
Remarks
A driver that calls the ObRegisterCallbacks routine must call the ObUnRegisterCallbacks routine before the driver is unloaded.
Caution
Do not call ObRegisterCallbacks more than once. This is a "double free" and results in Bug Check 0x7E: SYSTEM_THREAD_EXCEPTION_NOT_HANDLED.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Available in Windows Vista with Service Pack 1 (SP1), Windows Server 2008, and later versions of the Windows operating system. |
| Target Platform | Universal |
| Header | wdm.h (include Wdm.h, Ntddk.h, Ntifs.h) |
| Library | NtosKrnl.lib |
| DLL | NtosKrnl.exe |
| IRQL | <= APC_LEVEL |