Struct windows::Win32::System::UpdateAgent::IUpdateDownloader
pub struct IUpdateDownloader(/* private fields */);
Implementations§
§impl IUpdateDownloader
impl IUpdateDownloader
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 Priority(&self) -> Result<DownloadPriority>
pub unsafe fn SetPriority(&self, value: DownloadPriority) -> Result<()>
pub unsafe fn Updates(&self) -> Result<IUpdateCollection>
pub unsafe fn SetUpdates<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<IUpdateCollection>,
pub unsafe fn BeginDownload<P0, P1, P2>( &self, onprogresschanged: P0, oncompleted: P1, state: P2 ) -> Result<IDownloadJob>
pub unsafe fn Download(&self) -> Result<IDownloadResult>
pub unsafe fn EndDownload<P0>(&self, value: P0) -> Result<IDownloadResult>where
P0: IntoParam<IDownloadJob>,
Trait Implementations§
§impl Clone for IUpdateDownloader
impl Clone for IUpdateDownloader
§fn clone(&self) -> IUpdateDownloader
fn clone(&self) -> IUpdateDownloader
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 IUpdateDownloader
impl Debug for IUpdateDownloader
§impl From<&IUpdateDownloader> for &IDispatch
impl From<&IUpdateDownloader> for &IDispatch
§fn from(value: &IUpdateDownloader) -> Self
fn from(value: &IUpdateDownloader) -> Self
Converts to this type from the input type.
§impl From<&IUpdateDownloader> for &IUnknown
impl From<&IUpdateDownloader> for &IUnknown
§fn from(value: &IUpdateDownloader) -> Self
fn from(value: &IUpdateDownloader) -> Self
Converts to this type from the input type.
§impl From<IUpdateDownloader> for IDispatch
impl From<IUpdateDownloader> for IDispatch
§fn from(value: IUpdateDownloader) -> Self
fn from(value: IUpdateDownloader) -> Self
Converts to this type from the input type.
§impl From<IUpdateDownloader> for IUnknown
impl From<IUpdateDownloader> for IUnknown
§fn from(value: IUpdateDownloader) -> Self
fn from(value: IUpdateDownloader) -> Self
Converts to this type from the input type.
§impl Interface for IUpdateDownloader
impl Interface for IUpdateDownloader
§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 IUpdateDownloader
impl PartialEq for IUpdateDownloader
§fn eq(&self, other: &IUpdateDownloader) -> bool
fn eq(&self, other: &IUpdateDownloader) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IUpdateDownloader
impl StructuralPartialEq for IUpdateDownloader
Auto Trait Implementations§
impl RefUnwindSafe for IUpdateDownloader
impl !Send for IUpdateDownloader
impl !Sync for IUpdateDownloader
impl Unpin for IUpdateDownloader
impl UnwindSafe for IUpdateDownloader
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