
ISpTaskManager::SetThreadPoolInfo
ISpTaskManager::SetThreadPoolInfo sets the attributes for thread pool management.
HRESULT SetThreadPoolInfo(
const SPTMTHREADINFO *pPoolInfo
);
Parameters
- pPoolInfo
- [in] Address of an SPTMTHREADINFO structure that receives the thread management information.
Return values
Value | Description |
---|---|
S_OK | Function completed successfully. |
E_INVALIDARG | pPoolInfo is invalid or pPoolInfo->lPoolSize size is less than -1. |
FAILED (hr) | Appropriate error message. |