[][src]Module com::runtime

COM runtime facilities

This includes initializing the COM runtime as well as creating instances of COM classes

Structs

ApartmentRuntime

An apartment runtime configuration.

Enums

ApartmentType

The threading model of the current thread's apartment

Functions

create_instance

Create an instance of a COM class with the associated class id

deinit_apartment

Uninitialize a COM apartment thread.

get_class_object

Get the class object with the associated CLSID

init_apartment

Establish an apartment type for the current thread.

init_runtime

Initialize a new multithreaded apartment (MTA) runtime. This will ensure that an MTA is running for the process. Every new thread will implicitly be in an MTA unless a different apartment type is chosen (through init_apartment)