Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Decrements the current worker count of a worker previous created by KsRegisterCountedWorker. This should be called after each task within a worker has been completed.
Syntax
KSDDKAPI ULONG KsDecrementCountedWorker(
[in] PKSWORKER Worker
);
Parameters
[in] Worker
Contains the previously allocated worker.
Return value
Returns the current counter. A count of zero implies that the task list has been completed.
Remarks
KsDecrementCountedWorker should be called after each task within a worker has been completed. A corresponding call to KsIncrementCountedWorker would have previously incremented the count. KsDecrementCountedWorker may be called at DISPATCH_LEVEL.
Requirements
Requirement | Value |
---|---|
Target Platform | Universal |
Header | ks.h (include Ks.h) |
Library | Ks.lib |