Struct windows::Win32::NetworkManagement::NetManagement::INetCfgLock
pub struct INetCfgLock(/* private fields */);
Implementations§
§impl INetCfgLock
impl INetCfgLock
pub unsafe fn AcquireWriteLock<P0>(
&self,
cmstimeout: u32,
pszwclientdescription: P0,
ppszwclientdescription: Option<*mut PWSTR>
) -> Result<()>where
P0: IntoParam<PCWSTR>,
pub unsafe fn ReleaseWriteLock(&self) -> Result<()>
pub unsafe fn IsWriteLocked( &self, ppszwclientdescription: Option<*mut PWSTR> ) -> Result<()>
Trait Implementations§
§impl Clone for INetCfgLock
impl Clone for INetCfgLock
§fn clone(&self) -> INetCfgLock
fn clone(&self) -> INetCfgLock
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 INetCfgLock
impl Debug for INetCfgLock
§impl From<&INetCfgLock> for &IUnknown
impl From<&INetCfgLock> for &IUnknown
§fn from(value: &INetCfgLock) -> Self
fn from(value: &INetCfgLock) -> Self
Converts to this type from the input type.
§impl From<INetCfgLock> for IUnknown
impl From<INetCfgLock> for IUnknown
§fn from(value: INetCfgLock) -> Self
fn from(value: INetCfgLock) -> Self
Converts to this type from the input type.
§impl Interface for INetCfgLock
impl Interface for INetCfgLock
§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 INetCfgLock
impl PartialEq for INetCfgLock
§fn eq(&self, other: &INetCfgLock) -> bool
fn eq(&self, other: &INetCfgLock) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for INetCfgLock
impl StructuralPartialEq for INetCfgLock
Auto Trait Implementations§
impl RefUnwindSafe for INetCfgLock
impl !Send for INetCfgLock
impl !Sync for INetCfgLock
impl Unpin for INetCfgLock
impl UnwindSafe for INetCfgLock
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