Struct windows::Win32::System::UpdateAgent::IUpdate2
pub struct IUpdate2(/* private fields */);
Implementations§
§impl IUpdate2
impl IUpdate2
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: IntoParam<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: IntoParam<BSTR>,
P1: IntoParam<VARIANT_BOOL>,
pub unsafe fn DownloadPriority(&self) -> Result<DownloadPriority>
pub unsafe fn DownloadContents( &self ) -> Result<IUpdateDownloadContentCollection>
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: IntoParam<IStringCollection>,
Trait Implementations§
§impl Interface for IUpdate2
impl Interface for IUpdate2
§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 moreimpl Eq for IUpdate2
impl StructuralPartialEq for IUpdate2
Auto Trait Implementations§
impl RefUnwindSafe for IUpdate2
impl !Send for IUpdate2
impl !Sync for IUpdate2
impl Unpin for IUpdate2
impl UnwindSafe for IUpdate2
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