Struct windows::Win32::System::UpdateAgent::IWindowsDriverUpdate
pub struct IWindowsDriverUpdate(/* private fields */);
Implementations§
§impl IWindowsDriverUpdate
impl IWindowsDriverUpdate
pub unsafe fn DriverClass(&self) -> Result<BSTR>
pub unsafe fn DriverHardwareID(&self) -> Result<BSTR>
pub unsafe fn DriverManufacturer(&self) -> Result<BSTR>
pub unsafe fn DriverModel(&self) -> Result<BSTR>
pub unsafe fn DriverProvider(&self) -> Result<BSTR>
pub unsafe fn DriverVerDate(&self) -> Result<f64>
pub unsafe fn DeviceProblemNumber(&self) -> Result<i32>
pub unsafe fn DeviceStatus(&self) -> Result<i32>
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<P0>(&self, value: P0) -> Result<()>where
P0: Param<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: Param<BSTR>,
P1: Param<VARIANT_BOOL>,
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 CanInto<IUnknown> for IWindowsDriverUpdate
impl CanInto<IUnknown> for IWindowsDriverUpdate
§impl CanInto<IWindowsDriverUpdate> for IWindowsDriverUpdate2
impl CanInto<IWindowsDriverUpdate> for IWindowsDriverUpdate2
§impl CanInto<IWindowsDriverUpdate> for IWindowsDriverUpdate3
impl CanInto<IWindowsDriverUpdate> for IWindowsDriverUpdate3
§impl CanInto<IWindowsDriverUpdate> for IWindowsDriverUpdate4
impl CanInto<IWindowsDriverUpdate> for IWindowsDriverUpdate4
§impl CanInto<IWindowsDriverUpdate> for IWindowsDriverUpdate5
impl CanInto<IWindowsDriverUpdate> for IWindowsDriverUpdate5
§impl Clone for IWindowsDriverUpdate
impl Clone for IWindowsDriverUpdate
§fn clone(&self) -> IWindowsDriverUpdate
fn clone(&self) -> IWindowsDriverUpdate
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 IWindowsDriverUpdate
impl Debug for IWindowsDriverUpdate
§impl Deref for IWindowsDriverUpdate
impl Deref for IWindowsDriverUpdate
§impl From<&IWindowsDriverUpdate> for &IDispatch
impl From<&IWindowsDriverUpdate> for &IDispatch
§fn from(value: &IWindowsDriverUpdate) -> Self
fn from(value: &IWindowsDriverUpdate) -> Self
Converts to this type from the input type.
§impl From<&IWindowsDriverUpdate> for &IUnknown
impl From<&IWindowsDriverUpdate> for &IUnknown
§fn from(value: &IWindowsDriverUpdate) -> Self
fn from(value: &IWindowsDriverUpdate) -> Self
Converts to this type from the input type.
§impl From<&IWindowsDriverUpdate> for &IUpdate
impl From<&IWindowsDriverUpdate> for &IUpdate
§fn from(value: &IWindowsDriverUpdate) -> Self
fn from(value: &IWindowsDriverUpdate) -> Self
Converts to this type from the input type.
§impl From<&IWindowsDriverUpdate2> for &IWindowsDriverUpdate
impl From<&IWindowsDriverUpdate2> for &IWindowsDriverUpdate
§fn from(value: &IWindowsDriverUpdate2) -> Self
fn from(value: &IWindowsDriverUpdate2) -> Self
Converts to this type from the input type.
§impl From<&IWindowsDriverUpdate3> for &IWindowsDriverUpdate
impl From<&IWindowsDriverUpdate3> for &IWindowsDriverUpdate
§fn from(value: &IWindowsDriverUpdate3) -> Self
fn from(value: &IWindowsDriverUpdate3) -> Self
Converts to this type from the input type.
§impl From<&IWindowsDriverUpdate4> for &IWindowsDriverUpdate
impl From<&IWindowsDriverUpdate4> for &IWindowsDriverUpdate
§fn from(value: &IWindowsDriverUpdate4) -> Self
fn from(value: &IWindowsDriverUpdate4) -> Self
Converts to this type from the input type.
§impl From<&IWindowsDriverUpdate5> for &IWindowsDriverUpdate
impl From<&IWindowsDriverUpdate5> for &IWindowsDriverUpdate
§fn from(value: &IWindowsDriverUpdate5) -> Self
fn from(value: &IWindowsDriverUpdate5) -> Self
Converts to this type from the input type.
§impl From<IWindowsDriverUpdate> for IDispatch
impl From<IWindowsDriverUpdate> for IDispatch
§fn from(value: IWindowsDriverUpdate) -> Self
fn from(value: IWindowsDriverUpdate) -> Self
Converts to this type from the input type.
§impl From<IWindowsDriverUpdate> for IUnknown
impl From<IWindowsDriverUpdate> for IUnknown
§fn from(value: IWindowsDriverUpdate) -> Self
fn from(value: IWindowsDriverUpdate) -> Self
Converts to this type from the input type.
§impl From<IWindowsDriverUpdate> for IUpdate
impl From<IWindowsDriverUpdate> for IUpdate
§fn from(value: IWindowsDriverUpdate) -> Self
fn from(value: IWindowsDriverUpdate) -> Self
Converts to this type from the input type.
§impl From<IWindowsDriverUpdate2> for IWindowsDriverUpdate
impl From<IWindowsDriverUpdate2> for IWindowsDriverUpdate
§fn from(value: IWindowsDriverUpdate2) -> Self
fn from(value: IWindowsDriverUpdate2) -> Self
Converts to this type from the input type.
§impl From<IWindowsDriverUpdate3> for IWindowsDriverUpdate
impl From<IWindowsDriverUpdate3> for IWindowsDriverUpdate
§fn from(value: IWindowsDriverUpdate3) -> Self
fn from(value: IWindowsDriverUpdate3) -> Self
Converts to this type from the input type.
§impl From<IWindowsDriverUpdate4> for IWindowsDriverUpdate
impl From<IWindowsDriverUpdate4> for IWindowsDriverUpdate
§fn from(value: IWindowsDriverUpdate4) -> Self
fn from(value: IWindowsDriverUpdate4) -> Self
Converts to this type from the input type.
§impl From<IWindowsDriverUpdate5> for IWindowsDriverUpdate
impl From<IWindowsDriverUpdate5> for IWindowsDriverUpdate
§fn from(value: IWindowsDriverUpdate5) -> Self
fn from(value: IWindowsDriverUpdate5) -> Self
Converts to this type from the input type.
§impl Interface for IWindowsDriverUpdate
impl Interface for IWindowsDriverUpdate
§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§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 PartialEq for IWindowsDriverUpdate
impl PartialEq for IWindowsDriverUpdate
§fn eq(&self, other: &IWindowsDriverUpdate) -> bool
fn eq(&self, other: &IWindowsDriverUpdate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IWindowsDriverUpdate
impl StructuralPartialEq for IWindowsDriverUpdate
Auto Trait Implementations§
impl Freeze for IWindowsDriverUpdate
impl RefUnwindSafe for IWindowsDriverUpdate
impl !Send for IWindowsDriverUpdate
impl !Sync for IWindowsDriverUpdate
impl Unpin for IWindowsDriverUpdate
impl UnwindSafe for IWindowsDriverUpdate
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)