Expand Minimize

KeDeregisterProcessorChangeCallback routine

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

CallbackHandle [in]

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

Version

Available in Windows Server 2008 and later versions of Windows.

Header

Wdm.h (include Wdm.h, Ntddk.h, or Ntifs.h)

Library

Ntoskrnl.lib

IRQL

PASSIVE_LEVEL

See also

KeRegisterProcessorChangeCallback

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft