Struct windows::Win32::Networking::ActiveDirectory::IPersistQuery
pub struct IPersistQuery(/* private fields */);
Implementations§
§impl IPersistQuery
impl IPersistQuery
pub unsafe fn GetClassID(&self) -> Result<GUID>
pub unsafe fn WriteString<P0, P1, P2>( &self, psection: P0, pvaluename: P1, pvalue: P2 ) -> Result<()>
pub unsafe fn ReadString<P0, P1>( &self, psection: P0, pvaluename: P1, pbuffer: PWSTR, cchbuffer: i32 ) -> Result<()>
pub unsafe fn WriteInt<P0, P1>( &self, psection: P0, pvaluename: P1, value: i32 ) -> Result<()>
pub unsafe fn ReadInt<P0, P1>( &self, psection: P0, pvaluename: P1, pvalue: *mut i32 ) -> Result<()>
pub unsafe fn WriteStruct<P0, P1>( &self, psection: P0, pvaluename: P1, pstruct: *mut c_void, cbstruct: u32 ) -> Result<()>
pub unsafe fn ReadStruct<P0, P1>( &self, psection: P0, pvaluename: P1, pstruct: *mut c_void, cbstruct: u32 ) -> Result<()>
pub unsafe fn Clear(&self) -> Result<()>
Trait Implementations§
§impl Clone for IPersistQuery
impl Clone for IPersistQuery
§fn clone(&self) -> IPersistQuery
fn clone(&self) -> IPersistQuery
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 IPersistQuery
impl Debug for IPersistQuery
§impl From<&IPersistQuery> for &IPersist
impl From<&IPersistQuery> for &IPersist
§fn from(value: &IPersistQuery) -> Self
fn from(value: &IPersistQuery) -> Self
Converts to this type from the input type.
§impl From<&IPersistQuery> for &IUnknown
impl From<&IPersistQuery> for &IUnknown
§fn from(value: &IPersistQuery) -> Self
fn from(value: &IPersistQuery) -> Self
Converts to this type from the input type.
§impl From<IPersistQuery> for IPersist
impl From<IPersistQuery> for IPersist
§fn from(value: IPersistQuery) -> Self
fn from(value: IPersistQuery) -> Self
Converts to this type from the input type.
§impl From<IPersistQuery> for IUnknown
impl From<IPersistQuery> for IUnknown
§fn from(value: IPersistQuery) -> Self
fn from(value: IPersistQuery) -> Self
Converts to this type from the input type.
§impl Interface for IPersistQuery
impl Interface for IPersistQuery
§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 IPersistQuery
impl PartialEq for IPersistQuery
§fn eq(&self, other: &IPersistQuery) -> bool
fn eq(&self, other: &IPersistQuery) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IPersistQuery
impl StructuralPartialEq for IPersistQuery
Auto Trait Implementations§
impl RefUnwindSafe for IPersistQuery
impl !Send for IPersistQuery
impl !Sync for IPersistQuery
impl Unpin for IPersistQuery
impl UnwindSafe for IPersistQuery
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