pub type IPortableDeviceEventCallback = *mut c_void;