Struct windows::Win32::System::Iis::IMSAdminBaseW
pub struct IMSAdminBaseW(/* private fields */);
Implementations§
§impl IMSAdminBaseW
impl IMSAdminBaseW
pub unsafe fn AddKey<P0>(&self, hmdhandle: u32, pszmdpath: P0) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn DeleteKey<P0>(&self, hmdhandle: u32, pszmdpath: P0) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn DeleteChildKeys<P0>(
&self,
hmdhandle: u32,
pszmdpath: P0,
) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn EnumKeys<P0>(
&self,
hmdhandle: u32,
pszmdpath: P0,
pszmdname: &mut [u16; 256],
dwmdenumobjectindex: u32,
) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn CopyKey<P0, P1, P2, P3>( &self, hmdsourcehandle: u32, pszmdsourcepath: P0, hmddesthandle: u32, pszmddestpath: P1, bmdoverwriteflag: P2, bmdcopyflag: P3, ) -> Result<()>
pub unsafe fn RenameKey<P0, P1>(
&self,
hmdhandle: u32,
pszmdpath: P0,
pszmdnewname: P1,
) -> Result<()>where
P0: Param<PCWSTR>,
P1: Param<PCWSTR>,
pub unsafe fn SetData<P0>(
&self,
hmdhandle: u32,
pszmdpath: P0,
pmdrmddata: *mut METADATA_RECORD,
) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn GetData<P0>(
&self,
hmdhandle: u32,
pszmdpath: P0,
pmdrmddata: *mut METADATA_RECORD,
pdwmdrequireddatalen: *mut u32,
) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn DeleteData<P0>(
&self,
hmdhandle: u32,
pszmdpath: P0,
dwmdidentifier: u32,
dwmddatatype: u32,
) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn EnumData<P0>(
&self,
hmdhandle: u32,
pszmdpath: P0,
pmdrmddata: *mut METADATA_RECORD,
dwmdenumdataindex: u32,
pdwmdrequireddatalen: *mut u32,
) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn GetAllData<P0>(
&self,
hmdhandle: u32,
pszmdpath: P0,
dwmdattributes: u32,
dwmdusertype: u32,
dwmddatatype: u32,
pdwmdnumdataentries: *mut u32,
pdwmddatasetnumber: *mut u32,
dwmdbuffersize: u32,
pbmdbuffer: *mut u8,
pdwmdrequiredbuffersize: *mut u32,
) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn DeleteAllData<P0>(
&self,
hmdhandle: u32,
pszmdpath: P0,
dwmdusertype: u32,
dwmddatatype: u32,
) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn CopyData<P0, P1, P2>(
&self,
hmdsourcehandle: u32,
pszmdsourcepath: P0,
hmddesthandle: u32,
pszmddestpath: P1,
dwmdattributes: u32,
dwmdusertype: u32,
dwmddatatype: u32,
bmdcopyflag: P2,
) -> Result<()>where
P0: Param<PCWSTR>,
P1: Param<PCWSTR>,
P2: Param<BOOL>,
pub unsafe fn GetDataPaths<P0>(
&self,
hmdhandle: u32,
pszmdpath: P0,
dwmdidentifier: u32,
dwmddatatype: u32,
pszbuffer: &mut [u16],
pdwmdrequiredbuffersize: *mut u32,
) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn OpenKey<P0>(
&self,
hmdhandle: u32,
pszmdpath: P0,
dwmdaccessrequested: u32,
dwmdtimeout: u32,
) -> Result<u32>where
P0: Param<PCWSTR>,
pub unsafe fn CloseKey(&self, hmdhandle: u32) -> Result<()>
pub unsafe fn ChangePermissions( &self, hmdhandle: u32, dwmdtimeout: u32, dwmdaccessrequested: u32, ) -> Result<()>
pub unsafe fn SaveData(&self) -> Result<()>
pub unsafe fn GetHandleInfo( &self, hmdhandle: u32, ) -> Result<METADATA_HANDLE_INFO>
pub unsafe fn GetSystemChangeNumber(&self) -> Result<u32>
pub unsafe fn GetDataSetNumber<P0>(
&self,
hmdhandle: u32,
pszmdpath: P0,
) -> Result<u32>where
P0: Param<PCWSTR>,
pub unsafe fn SetLastChangeTime<P0, P1>(
&self,
hmdhandle: u32,
pszmdpath: P0,
pftmdlastchangetime: *const FILETIME,
blocaltime: P1,
) -> Result<()>where
P0: Param<PCWSTR>,
P1: Param<BOOL>,
pub unsafe fn GetLastChangeTime<P0, P1>(
&self,
hmdhandle: u32,
pszmdpath: P0,
pftmdlastchangetime: *mut FILETIME,
blocaltime: P1,
) -> Result<()>where
P0: Param<PCWSTR>,
P1: Param<BOOL>,
pub unsafe fn KeyExchangePhase1(&self) -> Result<()>
pub unsafe fn KeyExchangePhase2(&self) -> Result<()>
pub unsafe fn Backup<P0>(
&self,
pszmdbackuplocation: P0,
dwmdversion: u32,
dwmdflags: u32,
) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn Restore<P0>(
&self,
pszmdbackuplocation: P0,
dwmdversion: u32,
dwmdflags: u32,
) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn EnumBackups( &self, pszmdbackuplocation: &mut [u16; 256], pdwmdversion: *mut u32, pftmdbackuptime: *mut FILETIME, dwmdenumindex: u32, ) -> Result<()>
pub unsafe fn DeleteBackup<P0>(
&self,
pszmdbackuplocation: P0,
dwmdversion: u32,
) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn UnmarshalInterface(&self) -> Result<IMSAdminBaseW>
pub unsafe fn GetServerGuid(&self) -> Result<()>
Trait Implementations§
§impl CanInto<IMSAdminBaseW> for IMSAdminBase2W
impl CanInto<IMSAdminBaseW> for IMSAdminBase2W
§impl CanInto<IMSAdminBaseW> for IMSAdminBase3W
impl CanInto<IMSAdminBaseW> for IMSAdminBase3W
§impl CanInto<IUnknown> for IMSAdminBaseW
impl CanInto<IUnknown> for IMSAdminBaseW
§impl Clone for IMSAdminBaseW
impl Clone for IMSAdminBaseW
§fn clone(&self) -> IMSAdminBaseW
fn clone(&self) -> IMSAdminBaseW
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 IMSAdminBaseW
impl Debug for IMSAdminBaseW
§impl Deref for IMSAdminBaseW
impl Deref for IMSAdminBaseW
§impl From<&IMSAdminBase2W> for &IMSAdminBaseW
impl From<&IMSAdminBase2W> for &IMSAdminBaseW
§fn from(value: &IMSAdminBase2W) -> Self
fn from(value: &IMSAdminBase2W) -> Self
Converts to this type from the input type.
§impl From<&IMSAdminBase3W> for &IMSAdminBaseW
impl From<&IMSAdminBase3W> for &IMSAdminBaseW
§fn from(value: &IMSAdminBase3W) -> Self
fn from(value: &IMSAdminBase3W) -> Self
Converts to this type from the input type.
§impl From<&IMSAdminBaseW> for &IUnknown
impl From<&IMSAdminBaseW> for &IUnknown
§fn from(value: &IMSAdminBaseW) -> Self
fn from(value: &IMSAdminBaseW) -> Self
Converts to this type from the input type.
§impl From<IMSAdminBase2W> for IMSAdminBaseW
impl From<IMSAdminBase2W> for IMSAdminBaseW
§fn from(value: IMSAdminBase2W) -> Self
fn from(value: IMSAdminBase2W) -> Self
Converts to this type from the input type.
§impl From<IMSAdminBase3W> for IMSAdminBaseW
impl From<IMSAdminBase3W> for IMSAdminBaseW
§fn from(value: IMSAdminBase3W) -> Self
fn from(value: IMSAdminBase3W) -> Self
Converts to this type from the input type.
§impl From<IMSAdminBaseW> for IUnknown
impl From<IMSAdminBaseW> for IUnknown
§fn from(value: IMSAdminBaseW) -> Self
fn from(value: IMSAdminBaseW) -> Self
Converts to this type from the input type.
§impl Interface for IMSAdminBaseW
impl Interface for IMSAdminBaseW
§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§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 IMSAdminBaseW
impl PartialEq for IMSAdminBaseW
§fn eq(&self, other: &IMSAdminBaseW) -> bool
fn eq(&self, other: &IMSAdminBaseW) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IMSAdminBaseW
impl StructuralPartialEq for IMSAdminBaseW
Auto Trait Implementations§
impl Freeze for IMSAdminBaseW
impl RefUnwindSafe for IMSAdminBaseW
impl !Send for IMSAdminBaseW
impl !Sync for IMSAdminBaseW
impl Unpin for IMSAdminBaseW
impl UnwindSafe for IMSAdminBaseW
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)