Struct ICredentialProviderCredential2
pub struct ICredentialProviderCredential2(/* private fields */);
Implementations§
§impl ICredentialProviderCredential2
impl ICredentialProviderCredential2
pub unsafe fn GetUserSid(&self) -> Result<PWSTR>
Methods from Deref<Target = ICredentialProviderCredential>§
pub unsafe fn Advise<P0>(&self, pcpce: P0) -> Result<()>where
P0: Param<ICredentialProviderCredentialEvents>,
pub unsafe fn UnAdvise(&self) -> Result<()>
pub unsafe fn SetSelected(&self) -> Result<BOOL>
pub unsafe fn SetDeselected(&self) -> Result<()>
pub unsafe fn GetFieldState( &self, dwfieldid: u32, pcpfs: *mut CREDENTIAL_PROVIDER_FIELD_STATE, pcpfis: *mut CREDENTIAL_PROVIDER_FIELD_INTERACTIVE_STATE, ) -> Result<()>
pub unsafe fn GetStringValue(&self, dwfieldid: u32) -> Result<PWSTR>
pub unsafe fn GetBitmapValue(&self, dwfieldid: u32) -> Result<HBITMAP>
pub unsafe fn GetCheckboxValue( &self, dwfieldid: u32, pbchecked: *mut BOOL, ppszlabel: *mut PWSTR, ) -> Result<()>
pub unsafe fn GetSubmitButtonValue(&self, dwfieldid: u32) -> Result<u32>
pub unsafe fn GetComboBoxValueCount( &self, dwfieldid: u32, pcitems: *mut u32, pdwselecteditem: *mut u32, ) -> Result<()>
pub unsafe fn GetComboBoxValueAt( &self, dwfieldid: u32, dwitem: u32, ) -> Result<PWSTR>
pub unsafe fn SetStringValue<P1>(&self, dwfieldid: u32, psz: P1) -> Result<()>where
P1: Param<PCWSTR>,
pub unsafe fn SetCheckboxValue( &self, dwfieldid: u32, bchecked: bool, ) -> Result<()>
pub unsafe fn SetComboBoxSelectedValue( &self, dwfieldid: u32, dwselecteditem: u32, ) -> Result<()>
pub unsafe fn CommandLinkClicked(&self, dwfieldid: u32) -> Result<()>
pub unsafe fn GetSerialization( &self, pcpgsr: *mut CREDENTIAL_PROVIDER_GET_SERIALIZATION_RESPONSE, pcpcs: *mut CREDENTIAL_PROVIDER_CREDENTIAL_SERIALIZATION, ppszoptionalstatustext: *mut PWSTR, pcpsioptionalstatusicon: *mut CREDENTIAL_PROVIDER_STATUS_ICON, ) -> Result<()>
pub unsafe fn ReportResult( &self, ntsstatus: NTSTATUS, ntssubstatus: NTSTATUS, ppszoptionalstatustext: *mut PWSTR, pcpsioptionalstatusicon: *mut CREDENTIAL_PROVIDER_STATUS_ICON, ) -> Result<()>
Trait Implementations§
§impl CanInto<ICredentialProviderCredential> for ICredentialProviderCredential2
impl CanInto<ICredentialProviderCredential> for ICredentialProviderCredential2
§impl CanInto<IUnknown> for ICredentialProviderCredential2
impl CanInto<IUnknown> for ICredentialProviderCredential2
§impl Clone for ICredentialProviderCredential2
impl Clone for ICredentialProviderCredential2
§fn clone(&self) -> ICredentialProviderCredential2
fn clone(&self) -> ICredentialProviderCredential2
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 more§impl Debug for ICredentialProviderCredential2
impl Debug for ICredentialProviderCredential2
§impl Deref for ICredentialProviderCredential2
impl Deref for ICredentialProviderCredential2
§impl From<&ICredentialProviderCredential2> for &ICredentialProviderCredential
impl From<&ICredentialProviderCredential2> for &ICredentialProviderCredential
§fn from(value: &ICredentialProviderCredential2) -> Self
fn from(value: &ICredentialProviderCredential2) -> Self
Converts to this type from the input type.
§impl From<&ICredentialProviderCredential2> for &IUnknown
impl From<&ICredentialProviderCredential2> for &IUnknown
§fn from(value: &ICredentialProviderCredential2) -> Self
fn from(value: &ICredentialProviderCredential2) -> Self
Converts to this type from the input type.
§impl From<ICredentialProviderCredential2> for ICredentialProviderCredential
impl From<ICredentialProviderCredential2> for ICredentialProviderCredential
§fn from(value: ICredentialProviderCredential2) -> Self
fn from(value: ICredentialProviderCredential2) -> Self
Converts to this type from the input type.
§impl From<ICredentialProviderCredential2> for IUnknown
impl From<ICredentialProviderCredential2> for IUnknown
§fn from(value: ICredentialProviderCredential2) -> Self
fn from(value: ICredentialProviderCredential2) -> Self
Converts to this type from the input type.
§impl Interface for ICredentialProviderCredential2
impl Interface for ICredentialProviderCredential2
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. Read more§fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. &MyApp_Impl
, not the inner &MyApp
object. Read more§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. MyApp_Impl
, not the inner MyApp
object. Read more§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a [
Weak
] reference to this object.§impl PartialEq for ICredentialProviderCredential2
impl PartialEq for ICredentialProviderCredential2
impl Eq for ICredentialProviderCredential2
impl StructuralPartialEq for ICredentialProviderCredential2
Auto Trait Implementations§
impl Freeze for ICredentialProviderCredential2
impl RefUnwindSafe for ICredentialProviderCredential2
impl !Send for ICredentialProviderCredential2
impl !Sync for ICredentialProviderCredential2
impl Unpin for ICredentialProviderCredential2
impl UnwindSafe for ICredentialProviderCredential2
Blanket Implementations§
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