[][src]Module mcom::init

Wrappers around CoInitializeEx etc. for initializing COM.

Structs

CoInit

[docs.microsoft.com] COM apartment type + associated flags for calling co_initialize_ex with.

CoInitFlag

[docs.microsoft.com] Associated flags for calling co_initialize_ex with.

MTAUsageScope

[docs.microsoft.com] Puts the current thread into the MTA, if the current thread is not already in an apartment

Functions

co_initialize_ex

[docs.microsoft.com] Initialize COM for this thread, creating an apartment if necessary.

mta

[docs.microsoft.com] Initialize COM for this thread, creating a Multi-Threaded apartment if necessary.

sta

[docs.microsoft.com] Initialize COM for this thread, creating an Apartment-Threaded apartment if necessary.

uninitialize

[docs.microsoft.com] Closes the COM library on the current thread, unloads all DLLs loaded by the thread, frees any other resources that the thread maintains, and forces all RPC connections on the thread to close.