pub type ICredentialProviderCredentialEvents = *mut c_void;