Struct IUpdate5
pub struct IUpdate5(/* private fields */);
Implementations§
§impl IUpdate5
impl IUpdate5
pub unsafe fn AutoSelection(&self) -> Result<AutoSelectionMode>
pub unsafe fn AutoDownload(&self) -> Result<AutoDownloadMode>
Methods from Deref<Target = IUpdate4>§
pub unsafe fn PerUser(&self) -> Result<VARIANT_BOOL>
Methods from Deref<Target = IUpdate3>§
pub unsafe fn BrowseOnly(&self) -> Result<VARIANT_BOOL>
Methods from Deref<Target = IUpdate2>§
pub unsafe fn RebootRequired(&self) -> Result<VARIANT_BOOL>
pub unsafe fn IsPresent(&self) -> Result<VARIANT_BOOL>
pub unsafe fn CveIDs(&self) -> Result<IStringCollection>
pub unsafe fn CopyToCache<P0>(&self, pfiles: P0) -> Result<()>where
P0: Param<IStringCollection>,
Methods from Deref<Target = 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(&self, value: VARIANT_BOOL) -> Result<()>
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( &self, path: &BSTR, toextractcabfiles: VARIANT_BOOL, ) -> Result<()>
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 Interface for IUpdate5
impl Interface for IUpdate5
§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.
§unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
§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 IUpdate5
impl StructuralPartialEq for IUpdate5
Auto Trait Implementations§
impl Freeze for IUpdate5
impl RefUnwindSafe for IUpdate5
impl !Send for IUpdate5
impl !Sync for IUpdate5
impl Unpin for IUpdate5
impl UnwindSafe for IUpdate5
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