PoEndDeviceBusy routine

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 [in, out]

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

Version

Available starting with Windows 7.

Header

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

Library

Ntoskrnl.lib

IRQL

Any level

See also

PoRegisterDeviceForIdleDetection
PoStartDeviceBusy

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft