Trait windows::Win32::System::UpdateAgent::IUpdateSearcher_Impl
pub trait IUpdateSearcher_Impl: Sized + IDispatch_Impl {
Show 18 methods
// Required methods
fn CanAutomaticallyUpgradeService(&self) -> Result<VARIANT_BOOL>;
fn SetCanAutomaticallyUpgradeService(
&self,
value: VARIANT_BOOL,
) -> Result<()>;
fn ClientApplicationID(&self) -> Result<BSTR>;
fn SetClientApplicationID(&self, value: &BSTR) -> Result<()>;
fn IncludePotentiallySupersededUpdates(&self) -> Result<VARIANT_BOOL>;
fn SetIncludePotentiallySupersededUpdates(
&self,
value: VARIANT_BOOL,
) -> Result<()>;
fn ServerSelection(&self) -> Result<ServerSelection>;
fn SetServerSelection(&self, value: ServerSelection) -> Result<()>;
fn BeginSearch(
&self,
criteria: &BSTR,
oncompleted: Option<&IUnknown>,
state: &VARIANT,
) -> Result<ISearchJob>;
fn EndSearch(&self, searchjob: Option<&ISearchJob>) -> Result<ISearchResult>;
fn EscapeString(&self, unescaped: &BSTR) -> Result<BSTR>;
fn QueryHistory(
&self,
startindex: i32,
count: i32,
) -> Result<IUpdateHistoryEntryCollection>;
fn Search(&self, criteria: &BSTR) -> Result<ISearchResult>;
fn Online(&self) -> Result<VARIANT_BOOL>;
fn SetOnline(&self, value: VARIANT_BOOL) -> Result<()>;
fn GetTotalHistoryCount(&self) -> Result<i32>;
fn ServiceID(&self) -> Result<BSTR>;
fn SetServiceID(&self, value: &BSTR) -> Result<()>;
}
Required Methods§
fn CanAutomaticallyUpgradeService(&self) -> Result<VARIANT_BOOL>
fn SetCanAutomaticallyUpgradeService(&self, value: VARIANT_BOOL) -> Result<()>
fn ClientApplicationID(&self) -> Result<BSTR>
fn SetClientApplicationID(&self, value: &BSTR) -> Result<()>
fn IncludePotentiallySupersededUpdates(&self) -> Result<VARIANT_BOOL>
fn SetIncludePotentiallySupersededUpdates( &self, value: VARIANT_BOOL, ) -> Result<()>
fn ServerSelection(&self) -> Result<ServerSelection>
fn SetServerSelection(&self, value: ServerSelection) -> Result<()>
fn BeginSearch( &self, criteria: &BSTR, oncompleted: Option<&IUnknown>, state: &VARIANT, ) -> Result<ISearchJob>
fn EndSearch(&self, searchjob: Option<&ISearchJob>) -> Result<ISearchResult>
fn EscapeString(&self, unescaped: &BSTR) -> Result<BSTR>
fn QueryHistory( &self, startindex: i32, count: i32, ) -> Result<IUpdateHistoryEntryCollection>
fn Search(&self, criteria: &BSTR) -> Result<ISearchResult>
fn Online(&self) -> Result<VARIANT_BOOL>
fn SetOnline(&self, value: VARIANT_BOOL) -> Result<()>
fn GetTotalHistoryCount(&self) -> Result<i32>
fn ServiceID(&self) -> Result<BSTR>
fn SetServiceID(&self, value: &BSTR) -> Result<()>
Object Safety§
This trait is not object safe.