pub struct IMSAdminBase3W(/* private fields */);

Implementations§

§

impl IMSAdminBase3W

pub unsafe fn AddKey<P0>(&self, hmdhandle: u32, pszmdpath: P0) -> Result<()>
where P0: IntoParam<PCWSTR>,

pub unsafe fn DeleteKey<P0>(&self, hmdhandle: u32, pszmdpath: P0) -> Result<()>
where P0: IntoParam<PCWSTR>,

pub unsafe fn DeleteChildKeys<P0>( &self, hmdhandle: u32, pszmdpath: P0 ) -> Result<()>
where P0: IntoParam<PCWSTR>,

pub unsafe fn EnumKeys<P0>( &self, hmdhandle: u32, pszmdpath: P0, pszmdname: &mut [u16; 256], dwmdenumobjectindex: u32 ) -> Result<()>
where P0: IntoParam<PCWSTR>,

pub unsafe fn CopyKey<P0, P1, P2, P3>( &self, hmdsourcehandle: u32, pszmdsourcepath: P0, hmddesthandle: u32, pszmddestpath: P1, bmdoverwriteflag: P2, bmdcopyflag: P3 ) -> Result<()>
where P0: IntoParam<PCWSTR>, P1: IntoParam<PCWSTR>, P2: IntoParam<BOOL>, P3: IntoParam<BOOL>,

pub unsafe fn RenameKey<P0, P1>( &self, hmdhandle: u32, pszmdpath: P0, pszmdnewname: P1 ) -> Result<()>
where P0: IntoParam<PCWSTR>, P1: IntoParam<PCWSTR>,

pub unsafe fn SetData<P0>( &self, hmdhandle: u32, pszmdpath: P0, pmdrmddata: *mut METADATA_RECORD ) -> Result<()>
where P0: IntoParam<PCWSTR>,

pub unsafe fn GetData<P0>( &self, hmdhandle: u32, pszmdpath: P0, pmdrmddata: *mut METADATA_RECORD, pdwmdrequireddatalen: *mut u32 ) -> Result<()>
where P0: IntoParam<PCWSTR>,

pub unsafe fn DeleteData<P0>( &self, hmdhandle: u32, pszmdpath: P0, dwmdidentifier: u32, dwmddatatype: u32 ) -> Result<()>
where P0: IntoParam<PCWSTR>,

pub unsafe fn EnumData<P0>( &self, hmdhandle: u32, pszmdpath: P0, pmdrmddata: *mut METADATA_RECORD, dwmdenumdataindex: u32, pdwmdrequireddatalen: *mut u32 ) -> Result<()>
where P0: IntoParam<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: IntoParam<PCWSTR>,

pub unsafe fn DeleteAllData<P0>( &self, hmdhandle: u32, pszmdpath: P0, dwmdusertype: u32, dwmddatatype: u32 ) -> Result<()>
where P0: IntoParam<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: IntoParam<PCWSTR>, P1: IntoParam<PCWSTR>, P2: IntoParam<BOOL>,

pub unsafe fn GetDataPaths<P0>( &self, hmdhandle: u32, pszmdpath: P0, dwmdidentifier: u32, dwmddatatype: u32, pszbuffer: &mut [u16], pdwmdrequiredbuffersize: *mut u32 ) -> Result<()>
where P0: IntoParam<PCWSTR>,

pub unsafe fn OpenKey<P0>( &self, hmdhandle: u32, pszmdpath: P0, dwmdaccessrequested: u32, dwmdtimeout: u32 ) -> Result<u32>
where P0: IntoParam<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: IntoParam<PCWSTR>,

pub unsafe fn SetLastChangeTime<P0, P1>( &self, hmdhandle: u32, pszmdpath: P0, pftmdlastchangetime: *const FILETIME, blocaltime: P1 ) -> Result<()>
where P0: IntoParam<PCWSTR>, P1: IntoParam<BOOL>,

pub unsafe fn GetLastChangeTime<P0, P1>( &self, hmdhandle: u32, pszmdpath: P0, pftmdlastchangetime: *mut FILETIME, blocaltime: P1 ) -> Result<()>
where P0: IntoParam<PCWSTR>, P1: IntoParam<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: IntoParam<PCWSTR>,

pub unsafe fn Restore<P0>( &self, pszmdbackuplocation: P0, dwmdversion: u32, dwmdflags: u32 ) -> Result<()>
where P0: IntoParam<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: IntoParam<PCWSTR>,

pub unsafe fn UnmarshalInterface(&self) -> Result<IMSAdminBaseW>

pub unsafe fn GetServerGuid(&self) -> Result<()>

pub unsafe fn BackupWithPasswd<P0, P1>( &self, pszmdbackuplocation: P0, dwmdversion: u32, dwmdflags: u32, pszpasswd: P1 ) -> Result<()>
where P0: IntoParam<PCWSTR>, P1: IntoParam<PCWSTR>,

pub unsafe fn RestoreWithPasswd<P0, P1>( &self, pszmdbackuplocation: P0, dwmdversion: u32, dwmdflags: u32, pszpasswd: P1 ) -> Result<()>
where P0: IntoParam<PCWSTR>, P1: IntoParam<PCWSTR>,

pub unsafe fn Export<P0, P1, P2>( &self, pszpasswd: P0, pszfilename: P1, pszsourcepath: P2, dwmdflags: u32 ) -> Result<()>
where P0: IntoParam<PCWSTR>, P1: IntoParam<PCWSTR>, P2: IntoParam<PCWSTR>,

pub unsafe fn Import<P0, P1, P2, P3>( &self, pszpasswd: P0, pszfilename: P1, pszsourcepath: P2, pszdestpath: P3, dwmdflags: u32 ) -> Result<()>
where P0: IntoParam<PCWSTR>, P1: IntoParam<PCWSTR>, P2: IntoParam<PCWSTR>, P3: IntoParam<PCWSTR>,

pub unsafe fn RestoreHistory<P0>( &self, pszmdhistorylocation: P0, dwmdmajorversion: u32, dwmdminorversion: u32, dwmdflags: u32 ) -> Result<()>
where P0: IntoParam<PCWSTR>,

pub unsafe fn EnumHistory( &self, pszmdhistorylocation: &mut [u16; 256], pdwmdmajorversion: *mut u32, pdwmdminorversion: *mut u32, pftmdhistorytime: *mut FILETIME, dwmdenumindex: u32 ) -> Result<()>

pub unsafe fn GetChildPaths<P0>( &self, hmdhandle: u32, pszmdpath: P0, pszbuffer: Option<&mut [u16]>, pcchmdrequiredbuffersize: Option<*mut u32> ) -> Result<()>
where P0: IntoParam<PCWSTR>,

Trait Implementations§

§

impl Clone for IMSAdminBase3W

§

fn clone(&self) -> IMSAdminBase3W

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for IMSAdminBase3W

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
§

impl From<&IMSAdminBase3W> for &IMSAdminBase2W

§

fn from(value: &IMSAdminBase3W) -> Self

Converts to this type from the input type.
§

impl From<&IMSAdminBase3W> for &IMSAdminBaseW

§

fn from(value: &IMSAdminBase3W) -> Self

Converts to this type from the input type.
§

impl From<&IMSAdminBase3W> for &IUnknown

§

fn from(value: &IMSAdminBase3W) -> Self

Converts to this type from the input type.
§

impl From<IMSAdminBase3W> for IMSAdminBase2W

§

fn from(value: IMSAdminBase3W) -> Self

Converts to this type from the input type.
§

impl From<IMSAdminBase3W> for IMSAdminBaseW

§

fn from(value: IMSAdminBase3W) -> Self

Converts to this type from the input type.
§

impl From<IMSAdminBase3W> for IUnknown

§

fn from(value: IMSAdminBase3W) -> Self

Converts to this type from the input type.
§

impl Interface for IMSAdminBase3W

§

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

Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§

unsafe fn from_raw(raw: *mut c_void) -> Self

Creates an Interface by taking ownership of the raw COM interface pointer. Read more
§

unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>

Creates an Interface that is valid so long as the raw COM interface pointer is valid. Read more
§

fn cast<T>(&self) -> Result<T, Error>
where T: Interface,

Attempts to cast the current interface to another interface using QueryInterface. Read more
§

fn downgrade(&self) -> Result<Weak<Self>, Error>

Attempts to create a Weak reference to this object.
§

unsafe fn query(&self, iid: *const GUID, interface: *mut *mut c_void) -> HRESULT

Call QueryInterface on this interface Read more
§

impl PartialEq for IMSAdminBase3W

§

fn eq(&self, other: &IMSAdminBase3W) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl Eq for IMSAdminBase3W

§

impl StructuralPartialEq for IMSAdminBase3W

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.