Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This method sets the specified thread pool attributes.
HRESULT SetThreadPoolInfo(const SPTMTHREADINFO* pPoolInfo);
Parameters
- pPoolInfo
[in] Pointer to an SPTMTHREADINFO structure containing the thread pool attributes.
Return Values
The following table shows the possible 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. |
Requirements
OS Versions: Windows CE .NET 4.1 and later.
Header: Sapiddk.h, Sapiddk.idl.
Link Library: Sapilib.lib.
See Also
ISpTaskManager | SAPI Interfaces
Send Feedback on this topic to the authors