Share via


Funzione PoFxCompleteDevicePowerNotRequired (wdm.h)

La routine PoFxCompleteDevicePowerNotRequired notifica al framework di risparmio energia (PoFx) che il driver chiamante ha completato la risposta a una chiamata alla routine di callback DevicePowerNotRequiredCallback del driver.

Sintassi

void PoFxCompleteDevicePowerNotRequired(
  [in] POHANDLE Handle
);

Parametri

[in] Handle

Handle che rappresenta la registrazione del dispositivo con PoFx. Il driver di dispositivo ha ricevuto in precedenza questo handle dalla routine PoFxRegisterDevice .

Valore restituito

nessuno

Osservazioni

Dopo che PoFx chiama la routine di callback DevicePowerNotRequiredCallback del driver, il driver deve rispondere chiamando PoFxCompleteDevicePowerNotRequired.

PoFx chiama la routine DevicePowerNotRequiredCallback del driver per informare il driver che il dispositivo non è più necessario per rimanere nello stato D0. In risposta a questa chiamata, il driver può scegliere di entrare in uno stato Dx a basso consumo o di rimanere nello stato D0. Dopo che il driver ha completato la risposta alla chiamata DevicePowerNotRequiredCallback , il driver chiama PoFxCompleteDevicePowerNotRequired per informare PoFx. La chiamata PoFxCompleteDevicePowerNotRequired può verificarsi durante o dopo la chiamata di DevicePowerNotRequiredCallback .

Requisiti

Requisito Valore
Client minimo supportato Disponibile a partire da Windows 8.
Piattaforma di destinazione Universale
Intestazione wdm.h
Libreria Ntoskrnl.lib
DLL Ntoskrnl.exe
IRQL <= DISPATCH_LEVEL

Vedi anche

DevicePowerNotRequiredCallback

PoFxRegisterDevice