KeDeregisterNmiCallback function (wdm.h)

The KeDeregisterNmiCallback routine deregisters a nonmaskable interrupt (NMI) callback registered by KeRegisterNmiCallback.

Syntax

NTSTATUS KeDeregisterNmiCallback(
  [in] PVOID Handle
);

Parameters

[in] Handle

Specifies the value returned by KeRegisterNmiCallback when the NMI callback was registered.

Return value

The KeDeregisterNmiCallback routine returns STATUS_SUCCESS if the callback is successfully removed. It returns STATUS_INVALID_HANDLE if no callback matching the provided Handle value is found.

Requirements

Requirement Value
Minimum supported client Available in Windows Server 2003 and later versions of Windows.
Target Platform Universal
Header wdm.h (include Wdm.h, Ntddk.h, Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL <= APC_LEVEL
DDI compliance rules HwStorPortProhibitedDDIs(storport), IrqlKeApcLte2(wdm)

See also

KeRegisterNmiCallback