IAPI::SuspendTaskQueueObject

method SuspendTaskQueueObject.

Suspends a thread pool, so new added tasks will not be executed.

 

HRESULT SuspendTaskQueueObject(
  long hTaskQueueObject
);

Parameters

hTaskQueueObject

[in] .   Handle of the thread pool

Return Values

S_OK

The operation was successfull.

E_UNEXPECTED

An unexpected error occoured.

E_FAIL

A general error occoured.

See Also

IAPI