IAPI::GetCurrentPooledThreadId

property GetCurrentPooledThreadId.

Retrieves the current thread identifier which is running in a thread pool created by CreateTaskQueueObject( ).

 

HRESULT GetCurrentPooledThreadId(
  long *pVal
);

Parameters

pVal

[out, retval]

. The returned value the thread identifier running in a thread pool

Return Values

S_OK

The operation was successfull.

E_POINTER

A NULL pointer was supplied as an argument.

See Also

IAPI