method SuspendTaskQueueObject.
Suspends a thread pool, so new added tasks will not be executed.
|
hTaskQueueObject
[in] . Handle of the thread pool
S_OK
The
operation was successfull.
E_UNEXPECTED
An
unexpected error occoured.
E_FAIL
A general
error occoured.