IAPI::GetRunningTaskCount

property GetRunningTaskCount.

Retrieves the number of running tasks ( active )

 

HRESULT GetRunningTaskCount(
  long hTaskQueueObject,
  long *pVal
);

Parameters

hTaskQueueObject

[in] .   Handle of the thread pool

pVal

[out, retval] The returned value is the number of active tasks

Return Values

S_OK

The operation was successfull.

E_POINTER

A NULL pointer was supplied as an argument.

E_UNEXPECTED

An unexpected error occoured.

See Also

IAPI