This method selects a thread by specifying the next thread in the sequence. Override GetThread to provide a different method of selection or to use the pApt parameter.
GetThread is called by CComAutoThreadModule::CreateInstance.
At a Glance
Header file: | Atlbase.h |
Windows CE versions: | 2.10 and later |
Complete documentation: | Visual C++ documentation |
Syntax
int GetThread( CComApartment* pApt, int nThreads );