// ntifs.h
VOID PoEndDeviceBusy(
[in, out] PULONG IdlePointer
);
View the official Windows Driver Kit DDI reference// wdm.h
VOID PoEndDeviceBusy(
[in, out] PULONG IdlePointer
);
View the official Windows Driver Kit DDI referenceNo description available.
The PoEndDeviceBusy routine marks the end of a period of time in which the device is busy.
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.
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.
PoRegisterDeviceForIdleDetection
The PoEndDeviceBusy routine marks the end of a period of time in which the device is busy.
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.
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.
PoRegisterDeviceForIdleDetection