// ks.h
KSDDKAPI ULONG KsIncrementCountedWorker(
[in] PKSWORKER Worker
);
View the official Windows Driver Kit DDI referenceNo description available.
Increments the current worker count, and optionally queues the counted work item with the worker previously created by KsRegisterCountedWorker.
Worker [in]Contains the previously allocated worker.
Returns the current counter. A count of one implies that a worker was actually scheduled.
This should be called after an addition has been made to the worker's list of tasks to perform. A corresponding call to KsDecrementCountedWorker should be made within the work item after each task has been completed. This may be called at DISPATCH_LEVEL.