pub fn factory<C, I>() -> Result<I, Error>where
C: RuntimeName,
I: ComInterface,
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.