Function windows::core::factory

pub fn factory<C, I>() -> Result<I, Error>
where C: RuntimeName, I: Interface,
Expand description

Attempts to load the factory object for the given WinRT class. This can be used to access COM interfaces implemented on a Windows Runtime class factory.