Struct windows::Win32::System::UpdateAgent::IUpdate
pub struct IUpdate(/* private fields */);
Implementations§
§impl IUpdate
impl IUpdate
pub unsafe fn Title(&self) -> Result<BSTR>
pub unsafe fn AutoSelectOnWebSites(&self) -> Result<VARIANT_BOOL>
pub unsafe fn BundledUpdates(&self) -> Result<IUpdateCollection>
pub unsafe fn CanRequireSource(&self) -> Result<VARIANT_BOOL>
pub unsafe fn Categories(&self) -> Result<ICategoryCollection>
pub unsafe fn Deadline(&self) -> Result<VARIANT>
pub unsafe fn DeltaCompressedContentAvailable(&self) -> Result<VARIANT_BOOL>
pub unsafe fn DeltaCompressedContentPreferred(&self) -> Result<VARIANT_BOOL>
pub unsafe fn Description(&self) -> Result<BSTR>
pub unsafe fn EulaAccepted(&self) -> Result<VARIANT_BOOL>
pub unsafe fn EulaText(&self) -> Result<BSTR>
pub unsafe fn HandlerID(&self) -> Result<BSTR>
pub unsafe fn Identity(&self) -> Result<IUpdateIdentity>
pub unsafe fn Image(&self) -> Result<IImageInformation>
pub unsafe fn InstallationBehavior(&self) -> Result<IInstallationBehavior>
pub unsafe fn IsBeta(&self) -> Result<VARIANT_BOOL>
pub unsafe fn IsDownloaded(&self) -> Result<VARIANT_BOOL>
pub unsafe fn IsHidden(&self) -> Result<VARIANT_BOOL>
pub unsafe fn SetIsHidden<P0>(&self, value: P0) -> Result<()>where
P0: Param<VARIANT_BOOL>,
pub unsafe fn IsInstalled(&self) -> Result<VARIANT_BOOL>
pub unsafe fn IsMandatory(&self) -> Result<VARIANT_BOOL>
pub unsafe fn IsUninstallable(&self) -> Result<VARIANT_BOOL>
pub unsafe fn Languages(&self) -> Result<IStringCollection>
pub unsafe fn LastDeploymentChangeTime(&self) -> Result<f64>
pub unsafe fn MaxDownloadSize(&self) -> Result<DECIMAL>
pub unsafe fn MinDownloadSize(&self) -> Result<DECIMAL>
pub unsafe fn MoreInfoUrls(&self) -> Result<IStringCollection>
pub unsafe fn MsrcSeverity(&self) -> Result<BSTR>
pub unsafe fn RecommendedCpuSpeed(&self) -> Result<i32>
pub unsafe fn RecommendedHardDiskSpace(&self) -> Result<i32>
pub unsafe fn RecommendedMemory(&self) -> Result<i32>
pub unsafe fn ReleaseNotes(&self) -> Result<BSTR>
pub unsafe fn SecurityBulletinIDs(&self) -> Result<IStringCollection>
pub unsafe fn SupersededUpdateIDs(&self) -> Result<IStringCollection>
pub unsafe fn SupportUrl(&self) -> Result<BSTR>
pub unsafe fn Type(&self) -> Result<UpdateType>
pub unsafe fn UninstallationNotes(&self) -> Result<BSTR>
pub unsafe fn UninstallationBehavior(&self) -> Result<IInstallationBehavior>
pub unsafe fn UninstallationSteps(&self) -> Result<IStringCollection>
pub unsafe fn KBArticleIDs(&self) -> Result<IStringCollection>
pub unsafe fn AcceptEula(&self) -> Result<()>
pub unsafe fn DeploymentAction(&self) -> Result<DeploymentAction>
pub unsafe fn CopyFromCache<P0, P1>(
&self,
path: P0,
toextractcabfiles: P1,
) -> Result<()>where
P0: Param<BSTR>,
P1: Param<VARIANT_BOOL>,
pub unsafe fn DownloadPriority(&self) -> Result<DownloadPriority>
pub unsafe fn DownloadContents( &self, ) -> Result<IUpdateDownloadContentCollection>
Methods from Deref<Target = IDispatch>§
pub unsafe fn GetTypeInfoCount(&self) -> Result<u32>
pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> Result<ITypeInfo>
pub unsafe fn GetIDsOfNames( &self, riid: *const GUID, rgsznames: *const PCWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32, ) -> Result<()>
pub unsafe fn Invoke( &self, dispidmember: i32, riid: *const GUID, lcid: u32, wflags: DISPATCH_FLAGS, pdispparams: *const DISPPARAMS, pvarresult: Option<*mut VARIANT>, pexcepinfo: Option<*mut EXCEPINFO>, puargerr: Option<*mut u32>, ) -> Result<()>
Trait Implementations§
§impl From<&IWindowsDriverUpdate> for &IUpdate
impl From<&IWindowsDriverUpdate> for &IUpdate
§fn from(value: &IWindowsDriverUpdate) -> Self
fn from(value: &IWindowsDriverUpdate) -> Self
Converts to this type from the input type.
§impl From<&IWindowsDriverUpdate2> for &IUpdate
impl From<&IWindowsDriverUpdate2> for &IUpdate
§fn from(value: &IWindowsDriverUpdate2) -> Self
fn from(value: &IWindowsDriverUpdate2) -> Self
Converts to this type from the input type.
§impl From<&IWindowsDriverUpdate3> for &IUpdate
impl From<&IWindowsDriverUpdate3> for &IUpdate
§fn from(value: &IWindowsDriverUpdate3) -> Self
fn from(value: &IWindowsDriverUpdate3) -> Self
Converts to this type from the input type.
§impl From<&IWindowsDriverUpdate4> for &IUpdate
impl From<&IWindowsDriverUpdate4> for &IUpdate
§fn from(value: &IWindowsDriverUpdate4) -> Self
fn from(value: &IWindowsDriverUpdate4) -> Self
Converts to this type from the input type.
§impl From<&IWindowsDriverUpdate5> for &IUpdate
impl From<&IWindowsDriverUpdate5> for &IUpdate
§fn from(value: &IWindowsDriverUpdate5) -> Self
fn from(value: &IWindowsDriverUpdate5) -> Self
Converts to this type from the input type.
§impl From<IWindowsDriverUpdate> for IUpdate
impl From<IWindowsDriverUpdate> for IUpdate
§fn from(value: IWindowsDriverUpdate) -> Self
fn from(value: IWindowsDriverUpdate) -> Self
Converts to this type from the input type.
§impl From<IWindowsDriverUpdate2> for IUpdate
impl From<IWindowsDriverUpdate2> for IUpdate
§fn from(value: IWindowsDriverUpdate2) -> Self
fn from(value: IWindowsDriverUpdate2) -> Self
Converts to this type from the input type.
§impl From<IWindowsDriverUpdate3> for IUpdate
impl From<IWindowsDriverUpdate3> for IUpdate
§fn from(value: IWindowsDriverUpdate3) -> Self
fn from(value: IWindowsDriverUpdate3) -> Self
Converts to this type from the input type.
§impl From<IWindowsDriverUpdate4> for IUpdate
impl From<IWindowsDriverUpdate4> for IUpdate
§fn from(value: IWindowsDriverUpdate4) -> Self
fn from(value: IWindowsDriverUpdate4) -> Self
Converts to this type from the input type.
§impl From<IWindowsDriverUpdate5> for IUpdate
impl From<IWindowsDriverUpdate5> for IUpdate
§fn from(value: IWindowsDriverUpdate5) -> Self
fn from(value: IWindowsDriverUpdate5) -> Self
Converts to this type from the input type.
§impl Interface for IUpdate
impl Interface for IUpdate
§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 Eq for IUpdate
impl StructuralPartialEq for IUpdate
Auto Trait Implementations§
impl Freeze for IUpdate
impl RefUnwindSafe for IUpdate
impl !Send for IUpdate
impl !Sync for IUpdate
impl Unpin for IUpdate
impl UnwindSafe for IUpdate
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
)