PS_AVAILABLE_CPUS_CHANGE_CALLBACK - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdm.h

VOID PS_AVAILABLE_CPUS_CHANGE_CALLBACK(
                 PVOID Parameter
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdm-ps_available_cpus_change_callback)

Description

The PS_AVAILABLE_CPUS_CHANGE_CALLBACK function is a callback routine that is called when the set of available CPUs changes for a process or the system.

Parameters

Context [in, optional]

A pointer to driver-defined context information that was specified when the callback was registered with PsRegisterProcessAvailableCpusChangeNotification or PsRegisterSystemAvailableCpusChangeNotification.

SequenceNumber [in]

The current sequence number for the available CPUs. This value increments whenever the set of available CPUs changes.

Remarks

This callback function is implemented by the driver and is called by the system when CPU availability changes.

The callback can be invoked at IRQL from PASSIVE_LEVEL to DISPATCH_LEVEL, so the implementation must be able to run at DISPATCH_LEVEL.

When the Callback is Invoked

The callback is invoked when:

Implementation Guidelines

See also

PsRegisterProcessAvailableCpusChangeNotification

PsRegisterSystemAvailableCpusChangeNotification

PsUnregisterAvailableCpusChangeNotification

PsQueryProcessAvailableCpus

PsQuerySystemAvailableCpus