Struct windows::Win32::UI::Shell::ICredentialProviderCredential2
pub struct ICredentialProviderCredential2(/* private fields */);
Implementations§
§impl ICredentialProviderCredential2
impl ICredentialProviderCredential2
pub unsafe fn Advise<P0>(&self, pcpce: P0) -> Result<()>where
P0: IntoParam<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<P0>(&self, dwfieldid: u32, psz: P0) -> Result<()>where
P0: IntoParam<PCWSTR>,
pub unsafe fn SetCheckboxValue<P0>(
&self,
dwfieldid: u32,
bchecked: P0
) -> Result<()>where
P0: IntoParam<BOOL>,
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<P0, P1>( &self, ntsstatus: P0, ntssubstatus: P1, ppszoptionalstatustext: *mut PWSTR, pcpsioptionalstatusicon: *mut CREDENTIAL_PROVIDER_STATUS_ICON ) -> Result<()>
pub unsafe fn GetUserSid(&self) -> Result<PWSTR>
Trait Implementations§
§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 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.
§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§impl PartialEq for ICredentialProviderCredential2
impl PartialEq for ICredentialProviderCredential2
§fn eq(&self, other: &ICredentialProviderCredential2) -> bool
fn eq(&self, other: &ICredentialProviderCredential2) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ICredentialProviderCredential2
impl StructuralPartialEq for ICredentialProviderCredential2
Auto Trait Implementations§
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