Struct windows::Win32::System::UpdateAgent::IUpdateInstaller4
pub struct IUpdateInstaller4(/* private fields */);
Implementations§
§impl IUpdateInstaller4
impl IUpdateInstaller4
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>,
pub unsafe fn AttemptCloseAppsIfNecessary(&self) -> Result<VARIANT_BOOL>
pub unsafe fn SetAttemptCloseAppsIfNecessary<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<VARIANT_BOOL>,
pub unsafe fn Commit(&self, dwflags: u32) -> Result<()>
Trait Implementations§
§impl Clone for IUpdateInstaller4
impl Clone for IUpdateInstaller4
§fn clone(&self) -> IUpdateInstaller4
fn clone(&self) -> IUpdateInstaller4
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 IUpdateInstaller4
impl Debug for IUpdateInstaller4
§impl From<&IUpdateInstaller4> for &IDispatch
impl From<&IUpdateInstaller4> for &IDispatch
§fn from(value: &IUpdateInstaller4) -> Self
fn from(value: &IUpdateInstaller4) -> Self
Converts to this type from the input type.
§impl From<&IUpdateInstaller4> for &IUnknown
impl From<&IUpdateInstaller4> for &IUnknown
§fn from(value: &IUpdateInstaller4) -> Self
fn from(value: &IUpdateInstaller4) -> Self
Converts to this type from the input type.
§impl From<&IUpdateInstaller4> for &IUpdateInstaller
impl From<&IUpdateInstaller4> for &IUpdateInstaller
§fn from(value: &IUpdateInstaller4) -> Self
fn from(value: &IUpdateInstaller4) -> 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<&IUpdateInstaller4> for &IUpdateInstaller3
impl From<&IUpdateInstaller4> for &IUpdateInstaller3
§fn from(value: &IUpdateInstaller4) -> Self
fn from(value: &IUpdateInstaller4) -> Self
Converts to this type from the input type.
§impl From<IUpdateInstaller4> for IDispatch
impl From<IUpdateInstaller4> for IDispatch
§fn from(value: IUpdateInstaller4) -> Self
fn from(value: IUpdateInstaller4) -> Self
Converts to this type from the input type.
§impl From<IUpdateInstaller4> for IUnknown
impl From<IUpdateInstaller4> for IUnknown
§fn from(value: IUpdateInstaller4) -> Self
fn from(value: IUpdateInstaller4) -> Self
Converts to this type from the input type.
§impl From<IUpdateInstaller4> for IUpdateInstaller
impl From<IUpdateInstaller4> for IUpdateInstaller
§fn from(value: IUpdateInstaller4) -> Self
fn from(value: IUpdateInstaller4) -> 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<IUpdateInstaller4> for IUpdateInstaller3
impl From<IUpdateInstaller4> for IUpdateInstaller3
§fn from(value: IUpdateInstaller4) -> Self
fn from(value: IUpdateInstaller4) -> Self
Converts to this type from the input type.
§impl Interface for IUpdateInstaller4
impl Interface for IUpdateInstaller4
§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 IUpdateInstaller4
impl PartialEq for IUpdateInstaller4
§fn eq(&self, other: &IUpdateInstaller4) -> bool
fn eq(&self, other: &IUpdateInstaller4) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IUpdateInstaller4
impl StructuralPartialEq for IUpdateInstaller4
Auto Trait Implementations§
impl RefUnwindSafe for IUpdateInstaller4
impl !Send for IUpdateInstaller4
impl !Sync for IUpdateInstaller4
impl Unpin for IUpdateInstaller4
impl UnwindSafe for IUpdateInstaller4
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