Edit

Share via


PsUnregisterAvailableCpusChangeNotification function (wdm.h)

The PsUnregisterAvailableCpusChangeNotification function unregisters a registration previously performed by PsRegisterProcessAvailableCpusChangeNotification or PsRegisterSystemAvailableCpusChangeNotification.

Syntax

VOID PsUnregisterAvailableCpusChangeNotification(
  [in] PS_AVAILABLE_CPUS_CHANGE_REGISTRATION RegistrationHandle
);

Parameters

[in] RegistrationHandle

Handle returned by a call to PsRegisterProcessAvailableCpusChangeNotification or PsRegisterSystemAvailableCpusChangeNotification.

Return value

None

Remarks

This routine must be called at PASSIVE_LEVEL.

After this function returns, the callback associated with the registration handle will no longer be invoked for CPU availability changes.

This function can be used to unregister callbacks registered for both process-specific and system-wide CPU availability change notifications.

Requirements

Requirement Value
Header wdm.h
IRQL PASSIVE_LEVEL

See also

PsRegisterProcessAvailableCpusChangeNotification

PsRegisterSystemAvailableCpusChangeNotification