pub type IPortableDeviceDispatchFactory = *mut c_void;