pub type MappingDoAction = unsafe extern "system" fn(pbag: *mut MAPPING_PROPERTY_BAG, dwrangeindex: u32, pszactionid: PCWSTR) -> HRESULT;