Struct windows::Win32::System::UpdateAgent::IUpdateInstaller2
pub struct IUpdateInstaller2(/* private fields */);
Implementations§
§impl IUpdateInstaller2
impl IUpdateInstaller2
pub unsafe fn ClientApplicationID(&self) -> Result<BSTR>
pub unsafe fn SetClientApplicationID<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn IsForced(&self) -> Result<VARIANT_BOOL>
pub unsafe fn SetIsForced<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<VARIANT_BOOL>,
pub unsafe fn ParentHwnd(&self) -> Result<HWND>
pub unsafe fn SetParentHwnd<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<HWND>,
pub unsafe fn SetParentWindow<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<IUnknown>,
pub unsafe fn ParentWindow(&self) -> Result<IUnknown>
pub unsafe fn Updates(&self) -> Result<IUpdateCollection>
pub unsafe fn SetUpdates<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<IUpdateCollection>,
pub unsafe fn BeginInstall<P0, P1, P2>( &self, onprogresschanged: P0, oncompleted: P1, state: P2 ) -> Result<IInstallationJob>
pub unsafe fn BeginUninstall<P0, P1, P2>( &self, onprogresschanged: P0, oncompleted: P1, state: P2 ) -> Result<IInstallationJob>
pub unsafe fn EndInstall<P0>(&self, value: P0) -> Result<IInstallationResult>where
P0: IntoParam<IInstallationJob>,
pub unsafe fn EndUninstall<P0>(&self, value: P0) -> Result<IInstallationResult>where
P0: IntoParam<IInstallationJob>,
pub unsafe fn Install(&self) -> Result<IInstallationResult>
pub unsafe fn RunWizard<P0>(
&self,
dialogtitle: P0
) -> Result<IInstallationResult>where
P0: IntoParam<BSTR>,
pub unsafe fn IsBusy(&self) -> Result<VARIANT_BOOL>
pub unsafe fn Uninstall(&self) -> Result<IInstallationResult>
pub unsafe fn AllowSourcePrompts(&self) -> Result<VARIANT_BOOL>
pub unsafe fn SetAllowSourcePrompts<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<VARIANT_BOOL>,
pub unsafe fn RebootRequiredBeforeInstallation(&self) -> Result<VARIANT_BOOL>
pub unsafe fn ForceQuiet(&self) -> Result<VARIANT_BOOL>
pub unsafe fn SetForceQuiet<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<VARIANT_BOOL>,
Trait Implementations§
§impl Clone for IUpdateInstaller2
impl Clone for IUpdateInstaller2
§fn clone(&self) -> IUpdateInstaller2
fn clone(&self) -> IUpdateInstaller2
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 IUpdateInstaller2
impl Debug for IUpdateInstaller2
§impl From<&IUpdateInstaller2> for &IDispatch
impl From<&IUpdateInstaller2> for &IDispatch
§fn from(value: &IUpdateInstaller2) -> Self
fn from(value: &IUpdateInstaller2) -> Self
Converts to this type from the input type.
§impl From<&IUpdateInstaller2> for &IUnknown
impl From<&IUpdateInstaller2> for &IUnknown
§fn from(value: &IUpdateInstaller2) -> Self
fn from(value: &IUpdateInstaller2) -> Self
Converts to this type from the input type.
§impl From<&IUpdateInstaller2> for &IUpdateInstaller
impl From<&IUpdateInstaller2> for &IUpdateInstaller
§fn from(value: &IUpdateInstaller2) -> Self
fn from(value: &IUpdateInstaller2) -> Self
Converts to this type from the input type.
§impl From<&IUpdateInstaller3> for &IUpdateInstaller2
impl From<&IUpdateInstaller3> for &IUpdateInstaller2
§fn from(value: &IUpdateInstaller3) -> Self
fn from(value: &IUpdateInstaller3) -> Self
Converts to this type from the input type.
§impl From<&IUpdateInstaller4> for &IUpdateInstaller2
impl From<&IUpdateInstaller4> for &IUpdateInstaller2
§fn from(value: &IUpdateInstaller4) -> Self
fn from(value: &IUpdateInstaller4) -> Self
Converts to this type from the input type.
§impl From<IUpdateInstaller2> for IDispatch
impl From<IUpdateInstaller2> for IDispatch
§fn from(value: IUpdateInstaller2) -> Self
fn from(value: IUpdateInstaller2) -> Self
Converts to this type from the input type.
§impl From<IUpdateInstaller2> for IUnknown
impl From<IUpdateInstaller2> for IUnknown
§fn from(value: IUpdateInstaller2) -> Self
fn from(value: IUpdateInstaller2) -> Self
Converts to this type from the input type.
§impl From<IUpdateInstaller2> for IUpdateInstaller
impl From<IUpdateInstaller2> for IUpdateInstaller
§fn from(value: IUpdateInstaller2) -> Self
fn from(value: IUpdateInstaller2) -> Self
Converts to this type from the input type.
§impl From<IUpdateInstaller3> for IUpdateInstaller2
impl From<IUpdateInstaller3> for IUpdateInstaller2
§fn from(value: IUpdateInstaller3) -> Self
fn from(value: IUpdateInstaller3) -> Self
Converts to this type from the input type.
§impl From<IUpdateInstaller4> for IUpdateInstaller2
impl From<IUpdateInstaller4> for IUpdateInstaller2
§fn from(value: IUpdateInstaller4) -> Self
fn from(value: IUpdateInstaller4) -> Self
Converts to this type from the input type.
§impl Interface for IUpdateInstaller2
impl Interface for IUpdateInstaller2
§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 IUpdateInstaller2
impl PartialEq for IUpdateInstaller2
§fn eq(&self, other: &IUpdateInstaller2) -> bool
fn eq(&self, other: &IUpdateInstaller2) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IUpdateInstaller2
impl StructuralPartialEq for IUpdateInstaller2
Auto Trait Implementations§
impl RefUnwindSafe for IUpdateInstaller2
impl !Send for IUpdateInstaller2
impl !Sync for IUpdateInstaller2
impl Unpin for IUpdateInstaller2
impl UnwindSafe for IUpdateInstaller2
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