pub struct ICredentialProvider(/* private fields */);Implementations§
Source§impl ICredentialProvider
impl ICredentialProvider
pub unsafe fn SetUsageScenario( &self, cpus: CREDENTIAL_PROVIDER_USAGE_SCENARIO, dwflags: u32, ) -> Result<()>
pub unsafe fn SetSerialization( &self, pcpcs: *const CREDENTIAL_PROVIDER_CREDENTIAL_SERIALIZATION, ) -> Result<()>
pub unsafe fn Advise<'a>( &self, pcpe: impl IntoParam<'a, ICredentialProviderEvents>, upadvisecontext: usize, ) -> Result<()>
pub unsafe fn UnAdvise(&self) -> Result<()>
pub unsafe fn GetFieldDescriptorCount(&self) -> Result<u32>
pub unsafe fn GetFieldDescriptorAt( &self, dwindex: u32, ) -> Result<*mut CREDENTIAL_PROVIDER_FIELD_DESCRIPTOR>
pub unsafe fn GetCredentialCount( &self, pdwcount: *mut u32, pdwdefault: *mut u32, pbautologonwithdefault: *mut BOOL, ) -> Result<()>
pub unsafe fn GetCredentialAt( &self, dwindex: u32, ) -> Result<ICredentialProviderCredential>
Trait Implementations§
Source§impl Clone for ICredentialProvider
impl Clone for ICredentialProvider
Source§fn clone(&self) -> ICredentialProvider
fn clone(&self) -> ICredentialProvider
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ICredentialProvider
impl Debug for ICredentialProvider
Source§impl From<&ICredentialProvider> for IUnknown
impl From<&ICredentialProvider> for IUnknown
Source§fn from(value: &ICredentialProvider) -> Self
fn from(value: &ICredentialProvider) -> Self
Converts to this type from the input type.
Source§impl From<ICredentialProvider> for IUnknown
impl From<ICredentialProvider> for IUnknown
Source§fn from(value: ICredentialProvider) -> Self
fn from(value: ICredentialProvider) -> Self
Converts to this type from the input type.
Source§impl Interface for ICredentialProvider
impl Interface for ICredentialProvider
const IID: Guid
type Vtable = ICredentialProvider_abi
Source§unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
Safety Read more
Source§unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
Safety Read more
Source§impl PartialEq for ICredentialProvider
impl PartialEq for ICredentialProvider
impl Eq for ICredentialProvider
impl StructuralPartialEq for ICredentialProvider
Auto Trait Implementations§
impl Freeze for ICredentialProvider
impl RefUnwindSafe for ICredentialProvider
impl !Send for ICredentialProvider
impl !Sync for ICredentialProvider
impl Unpin for ICredentialProvider
impl UnwindSafe for ICredentialProvider
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
type DefaultType = Option<T>
Source§fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
Converts from
Self::DefaultType to Result<T>.Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
fn drop_param(_: &mut Param<'_, Self>)
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more