IAPI::GetPendingTaskCount

property GetPendingTaskCount.

Retrieves the number of pending tasks ( queued )

 

HRESULT GetPendingTaskCount(
  long hTaskQueueObject,
  long *pVal
);

Parameters

hTaskQueueObject

[in] .   Handle of the thread pool

pVal

[out, retval] The returned value is the number of pending 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