Trait windows::Win32::UI::Shell::ICredentialProvider_Impl
pub trait ICredentialProvider_Impl: Sized {
// Required methods
fn SetUsageScenario(
&self,
cpus: CREDENTIAL_PROVIDER_USAGE_SCENARIO,
dwflags: u32,
) -> Result<()>;
fn SetSerialization(
&self,
pcpcs: *const CREDENTIAL_PROVIDER_CREDENTIAL_SERIALIZATION,
) -> Result<()>;
fn Advise(
&self,
pcpe: Option<&ICredentialProviderEvents>,
upadvisecontext: usize,
) -> Result<()>;
fn UnAdvise(&self) -> Result<()>;
fn GetFieldDescriptorCount(&self) -> Result<u32>;
fn GetFieldDescriptorAt(
&self,
dwindex: u32,
) -> Result<*mut CREDENTIAL_PROVIDER_FIELD_DESCRIPTOR>;
fn GetCredentialCount(
&self,
pdwcount: *mut u32,
pdwdefault: *mut u32,
pbautologonwithdefault: *mut BOOL,
) -> Result<()>;
fn GetCredentialAt(
&self,
dwindex: u32,
) -> Result<ICredentialProviderCredential>;
}
Required Methods§
fn SetUsageScenario( &self, cpus: CREDENTIAL_PROVIDER_USAGE_SCENARIO, dwflags: u32, ) -> Result<()>
fn SetSerialization( &self, pcpcs: *const CREDENTIAL_PROVIDER_CREDENTIAL_SERIALIZATION, ) -> Result<()>
fn Advise( &self, pcpe: Option<&ICredentialProviderEvents>, upadvisecontext: usize, ) -> Result<()>
fn UnAdvise(&self) -> Result<()>
fn GetFieldDescriptorCount(&self) -> Result<u32>
fn GetFieldDescriptorAt( &self, dwindex: u32, ) -> Result<*mut CREDENTIAL_PROVIDER_FIELD_DESCRIPTOR>
fn GetCredentialCount( &self, pdwcount: *mut u32, pdwdefault: *mut u32, pbautologonwithdefault: *mut BOOL, ) -> Result<()>
fn GetCredentialAt(&self, dwindex: u32) -> Result<ICredentialProviderCredential>
Object Safety§
This trait is not object safe.