Depending on the threading model used by your application, the typedef name CComObjectThreadModel references either CComSingleThreadModel or CComMultiThreadModel.
At a Glance
Header file: | Atlbase.h |
Windows CE versions: | 2.0 and later |
Complete documentation: | Visual C++ documentation |
Syntax
#if defined(_ATL_SINGLE_THREADED)
typedef CComSingleThreadModel CComObjectThreadModel
#elif defined (_ATL_APARTMENT_THREADED)
typedef CComSingleThreadModel CComObjectThreadModel
#else
typedef CComMultiThreadModel CComObjectThreadModel
#endif
Remarks
Windows CE only supports the single threading and free threading models. It does not support the apartment threading model.
See Also