Function com::runtime::create_instance[][src]

pub fn create_instance<T: Interface>(class_id: &CLSID) -> Result<T, HRESULT>
Expand description

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

Calls CoCreateInstance internally