pub type VariantToInt32 = unsafe extern "system" fn(varin: *const VARIANT, plret: *mut i32) -> HRESULT;