Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
1/6/2010
This method sets the specified thread pool attributes.
Syntax
HRESULT SetThreadPoolInfo(
const SPTMTHREADINFO* pPoolInfo
);
Parameters
- pPoolInfo
[in] Pointer to an SPTMTHREADINFO structure containing the thread pool attributes.
Return Value
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
| Header | sapiddk.h, sapiddk.idl |
| Library | sapilib.lib |
| Windows Embedded CE | Windows CE .NET 4.1 and later |