Trait windows::Win32::System::UpdateAgent::IUpdateDownloader_Impl
pub trait IUpdateDownloader_Impl: Sized + IDispatch_Impl {
// Required methods
fn ClientApplicationID(&self) -> Result<BSTR>;
fn SetClientApplicationID(&self, value: &BSTR) -> Result<()>;
fn IsForced(&self) -> Result<VARIANT_BOOL>;
fn SetIsForced(&self, value: VARIANT_BOOL) -> Result<()>;
fn Priority(&self) -> Result<DownloadPriority>;
fn SetPriority(&self, value: DownloadPriority) -> Result<()>;
fn Updates(&self) -> Result<IUpdateCollection>;
fn SetUpdates(&self, value: Option<&IUpdateCollection>) -> Result<()>;
fn BeginDownload(
&self,
onprogresschanged: Option<&IUnknown>,
oncompleted: Option<&IUnknown>,
state: &VARIANT
) -> Result<IDownloadJob>;
fn Download(&self) -> Result<IDownloadResult>;
fn EndDownload(
&self,
value: Option<&IDownloadJob>
) -> Result<IDownloadResult>;
}
Required Methods§
fn ClientApplicationID(&self) -> Result<BSTR>
fn SetClientApplicationID(&self, value: &BSTR) -> Result<()>
fn IsForced(&self) -> Result<VARIANT_BOOL>
fn SetIsForced(&self, value: VARIANT_BOOL) -> Result<()>
fn Priority(&self) -> Result<DownloadPriority>
fn SetPriority(&self, value: DownloadPriority) -> Result<()>
fn Updates(&self) -> Result<IUpdateCollection>
fn SetUpdates(&self, value: Option<&IUpdateCollection>) -> Result<()>
fn BeginDownload( &self, onprogresschanged: Option<&IUnknown>, oncompleted: Option<&IUnknown>, state: &VARIANT ) -> Result<IDownloadJob>
fn Download(&self) -> Result<IDownloadResult>
fn EndDownload(&self, value: Option<&IDownloadJob>) -> Result<IDownloadResult>
Object Safety§
This trait is not object safe.