UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | |||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NE:comsvcs.tagCSC_ThreadPool |
CSC_ThreadPool (comsvcs.h) |
Indicates the thread pool in which the work runs that is submitted through the activity returned from CoCreateActivity. |
|
cos\csc_threadpool.htm |
cos |
5acf5c6b-b015-448b-ad4c-e4361a97c31e |
12/05/2018 |
CSC_MTAThreadPool, CSC_STAThreadPool, CSC_ThreadPool, CSC_ThreadPool enumeration [COM+], CSC_ThreadPoolInherit, CSC_ThreadPoolNone, _cos_CSC_ThreadPool, comsvcs/CSC_MTAThreadPool, comsvcs/CSC_STAThreadPool, comsvcs/CSC_ThreadPool, comsvcs/CSC_ThreadPoolInherit, comsvcs/CSC_ThreadPoolNone, cos.csc_threadpool |
comsvcs.h |
Windows |
Windows XP [desktop apps only] |
Windows Server 2003 [desktop apps only] |
Windows |
CSC_ThreadPool |
19H1 |
|
|
|
|
|
|
Indicates the thread pool in which the work runs that is submitted through the activity returned from CoCreateActivity.
No thread pool is used. If this value is used to configure a CServiceConfig object that is passed to CoCreateActivity, an error (CO_E_THREADPOOL_CONFIG) is returned. This is the default thread pool setting for CServiceConfig when CSC_InheritanceConfig is set to CSC_Ignore.
The same type of thread pool apartment as the caller's thread apartment is used. If the caller's thread apartment is the neutral apartment, a single-threaded apartment is used. This is the default thread pool setting for CServiceConfig when CSC_InheritanceConfig is set to CSC_Inherit.
A single-threaded apartment (STA) is used.
A multithreaded apartment (MTA) is used.
This enumeration is used to set the thread pool for CServiceConfig only when calling CoCreateActivity. An error is returned if you try to set the thread pool when calling CoEnterServiceDomain.