Struct windows::Win32::System::Iis::IMSAdminBase2W
pub struct IMSAdminBase2W(/* private fields */);
Implementations§
§impl IMSAdminBase2W
impl IMSAdminBase2W
pub unsafe fn BackupWithPasswd<P0, P1>(
&self,
pszmdbackuplocation: P0,
dwmdversion: u32,
dwmdflags: u32,
pszpasswd: P1,
) -> Result<()>where
P0: Param<PCWSTR>,
P1: Param<PCWSTR>,
pub unsafe fn RestoreWithPasswd<P0, P1>(
&self,
pszmdbackuplocation: P0,
dwmdversion: u32,
dwmdflags: u32,
pszpasswd: P1,
) -> Result<()>where
P0: Param<PCWSTR>,
P1: Param<PCWSTR>,
pub unsafe fn Export<P0, P1, P2>(
&self,
pszpasswd: P0,
pszfilename: P1,
pszsourcepath: P2,
dwmdflags: u32,
) -> Result<()>where
P0: Param<PCWSTR>,
P1: Param<PCWSTR>,
P2: Param<PCWSTR>,
pub unsafe fn Import<P0, P1, P2, P3>(
&self,
pszpasswd: P0,
pszfilename: P1,
pszsourcepath: P2,
pszdestpath: P3,
dwmdflags: u32,
) -> Result<()>where
P0: Param<PCWSTR>,
P1: Param<PCWSTR>,
P2: Param<PCWSTR>,
P3: Param<PCWSTR>,
pub unsafe fn RestoreHistory<P0>(
&self,
pszmdhistorylocation: P0,
dwmdmajorversion: u32,
dwmdminorversion: u32,
dwmdflags: u32,
) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn EnumHistory( &self, pszmdhistorylocation: &mut [u16; 256], pdwmdmajorversion: *mut u32, pdwmdminorversion: *mut u32, pftmdhistorytime: *mut FILETIME, dwmdenumindex: u32, ) -> Result<()>
Methods from Deref<Target = 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<IMSAdminBase2W> for IMSAdminBase3W
impl CanInto<IMSAdminBase2W> for IMSAdminBase3W
§impl CanInto<IMSAdminBaseW> for IMSAdminBase2W
impl CanInto<IMSAdminBaseW> for IMSAdminBase2W
§impl CanInto<IUnknown> for IMSAdminBase2W
impl CanInto<IUnknown> for IMSAdminBase2W
§impl Clone for IMSAdminBase2W
impl Clone for IMSAdminBase2W
§fn clone(&self) -> IMSAdminBase2W
fn clone(&self) -> IMSAdminBase2W
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 IMSAdminBase2W
impl Debug for IMSAdminBase2W
§impl Deref for IMSAdminBase2W
impl Deref for IMSAdminBase2W
§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<&IMSAdminBase2W> for &IUnknown
impl From<&IMSAdminBase2W> for &IUnknown
§fn from(value: &IMSAdminBase2W) -> Self
fn from(value: &IMSAdminBase2W) -> Self
Converts to this type from the input type.
§impl From<&IMSAdminBase3W> for &IMSAdminBase2W
impl From<&IMSAdminBase3W> for &IMSAdminBase2W
§fn from(value: &IMSAdminBase3W) -> Self
fn from(value: &IMSAdminBase3W) -> 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<IMSAdminBase2W> for IUnknown
impl From<IMSAdminBase2W> for IUnknown
§fn from(value: IMSAdminBase2W) -> Self
fn from(value: IMSAdminBase2W) -> Self
Converts to this type from the input type.
§impl From<IMSAdminBase3W> for IMSAdminBase2W
impl From<IMSAdminBase3W> for IMSAdminBase2W
§fn from(value: IMSAdminBase3W) -> Self
fn from(value: IMSAdminBase3W) -> Self
Converts to this type from the input type.
§impl Interface for IMSAdminBase2W
impl Interface for IMSAdminBase2W
§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 IMSAdminBase2W
impl PartialEq for IMSAdminBase2W
§fn eq(&self, other: &IMSAdminBase2W) -> bool
fn eq(&self, other: &IMSAdminBase2W) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IMSAdminBase2W
impl StructuralPartialEq for IMSAdminBase2W
Auto Trait Implementations§
impl Freeze for IMSAdminBase2W
impl RefUnwindSafe for IMSAdminBase2W
impl !Send for IMSAdminBase2W
impl !Sync for IMSAdminBase2W
impl Unpin for IMSAdminBase2W
impl UnwindSafe for IMSAdminBase2W
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
)