Struct windows::Win32::Media::MediaFoundation::IMFNetCredential
pub struct IMFNetCredential(/* private fields */);
Implementations§
§impl IMFNetCredential
impl IMFNetCredential
pub unsafe fn SetUser<P0>(
&self,
pbdata: &[u8],
fdataisencrypted: P0
) -> Result<()>where
P0: IntoParam<BOOL>,
pub unsafe fn SetPassword<P0>(
&self,
pbdata: &[u8],
fdataisencrypted: P0
) -> Result<()>where
P0: IntoParam<BOOL>,
pub unsafe fn GetUser<P0>(
&self,
pbdata: Option<*mut u8>,
pcbdata: *mut u32,
fencryptdata: P0
) -> Result<()>where
P0: IntoParam<BOOL>,
pub unsafe fn GetPassword<P0>(
&self,
pbdata: Option<*mut u8>,
pcbdata: *mut u32,
fencryptdata: P0
) -> Result<()>where
P0: IntoParam<BOOL>,
pub unsafe fn LoggedOnUser(&self) -> Result<BOOL>
Trait Implementations§
§impl Clone for IMFNetCredential
impl Clone for IMFNetCredential
§fn clone(&self) -> IMFNetCredential
fn clone(&self) -> IMFNetCredential
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 IMFNetCredential
impl Debug for IMFNetCredential
§impl From<&IMFNetCredential> for &IUnknown
impl From<&IMFNetCredential> for &IUnknown
§fn from(value: &IMFNetCredential) -> Self
fn from(value: &IMFNetCredential) -> Self
Converts to this type from the input type.
§impl From<IMFNetCredential> for IUnknown
impl From<IMFNetCredential> for IUnknown
§fn from(value: IMFNetCredential) -> Self
fn from(value: IMFNetCredential) -> Self
Converts to this type from the input type.
§impl Interface for IMFNetCredential
impl Interface for IMFNetCredential
§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 IMFNetCredential
impl PartialEq for IMFNetCredential
§fn eq(&self, other: &IMFNetCredential) -> bool
fn eq(&self, other: &IMFNetCredential) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IMFNetCredential
impl StructuralPartialEq for IMFNetCredential
Auto Trait Implementations§
impl RefUnwindSafe for IMFNetCredential
impl !Send for IMFNetCredential
impl !Sync for IMFNetCredential
impl Unpin for IMFNetCredential
impl UnwindSafe for IMFNetCredential
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