PoEndDeviceBusy function

The PoEndDeviceBusy routine marks the end of a period of time in which the device is busy.

Syntax

VOID PoEndDeviceBusy(
  _Inout_ PULONG IdlePointer
);

Parameters

IdlePointer

A pointer to an idle counter. This is a pointer value that was previously returned by the PoRegisterDeviceForIdleDetection routine. Because PoRegisterDeviceForIdleDetection might return a NULL pointer, the caller must verify that the pointer is non-NULL before it calls PoEndDeviceBusy.

Return Value

None

Remarks

The PoStartDeviceBusy and PoEndDeviceBusy routines mark the start and end of a time period in which a device is busy. Each call to PoStartDeviceBusy must be followed by a corresponding call to PoEndDeviceBusy. For more information about how these routines work together, see PoStartDeviceBusy.

Requirements

   
Windows version Available starting with Windows 7.
Target Platform Universal
Header ntifs.h (include Wdm.h, Ntddk.h, Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL Any level

See Also

PoRegisterDeviceForIdleDetection

PoStartDeviceBusy

Send comments about this topic to Microsoft