|
wxExtend
Additional templates and function helpers for wxWidgets
|
Create an object of this class on stack to initialize/cleanup the COM automatically. More...
#include <wxex/comutils.h>
Public Member Functions | |
| wxCoInitializer (DWORD dwCoInit=COINIT_MULTITHREADED) | |
| Initialize the COM. | |
| virtual | ~wxCoInitializer () |
| Dtor clean up. | |
| bool | IsOk () const |
| Has the initialization been successful? (explicit test) | |
| operator bool () const | |
| Has the initialization been successful? (implicit test) | |
Create an object of this class on stack to initialize/cleanup the COM automatically.
| wxCoInitializer::wxCoInitializer | ( | DWORD | dwCoInit = COINIT_MULTITHREADED | ) |
Initialize the COM.
| [in] | dwCoInit | The concurrency model and initialization options for the thread to pass to CoInitializeEx() |
|
inline |
Has the initialization been successful? (explicit test)
true if initialization succeededfalse otherwise
|
inline |
Has the initialization been successful? (implicit test)
true if initialization succeededfalse otherwise