WinStd
Windows Win32 API using Standard C++
|
Context scope automatic COM (un)initialization. More...
#include <WinStd/COM.h>
Public Member Functions | |
com_initializer (LPVOID pvReserved) | |
Initializes the COM library on the current thread and identifies the concurrency model as single-thread apartment (STA). | |
com_initializer (LPVOID pvReserved, DWORD dwCoInit) | |
Initializes the COM library for use by the calling thread, sets the thread's concurrency model, and creates a new apartment for the thread if one is required. | |
virtual | ~com_initializer () |
Uninitializes COM. | |
Context scope automatic COM (un)initialization.
|
inline |
Initializes the COM library on the current thread and identifies the concurrency model as single-thread apartment (STA).
|
inline |
Initializes the COM library for use by the calling thread, sets the thread's concurrency model, and creates a new apartment for the thread if one is required.
|
inlinevirtual |
Uninitializes COM.