pub unsafe fn D2D1CreateFactory<T>(
    factorytype: D2D1_FACTORY_TYPE,
    pfactoryoptions: Option<*const D2D1_FACTORY_OPTIONS>
) -> Result<T>
where T: Interface,