KeDeregisterProcessorChangeCallback function (wdm.h)

The KeDeregisterProcessorChangeCallback routine unregisters a callback function that was previously registered with the operating system by calling the KeRegisterProcessorChangeCallback routine.

Syntax

void KeDeregisterProcessorChangeCallback(
  [in] PVOID CallbackHandle
);

Parameters

[in] CallbackHandle

The callback registration handle that was returned by the KeRegisterProcessorChangeCallback routine when the callback function was registered with the operating system.

Return value

None

Remarks

A device driver calls the KeRegisterProcessorChangeCallback routine to register a callback function with the operating system so that the operating system will notify the driver when a new processor is added to the hardware partition. When the device driver no longer needs to receive notification when new processors are added to the hardware paritition, it calls the KeDeregisterProcessorChangeCallback routine to unregister the callback function. A callback function that has been registered for notification of processor changes must be unregistered before the device driver is unloaded from the operating system.

Requirements

Requirement Value
Minimum supported client Available in Windows Server 2008 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 PASSIVE_LEVEL

See also

KeRegisterProcessorChangeCallback