Struct IWindowsDriverUpdate2
pub struct IWindowsDriverUpdate2(/* private fields */);
Implementations§
§impl IWindowsDriverUpdate2
impl IWindowsDriverUpdate2
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: Param<IStringCollection>,
Methods from Deref<Target = 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(&self, value: VARIANT_BOOL) -> Result<()>
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( &self, path: &BSTR, toextractcabfiles: VARIANT_BOOL, ) -> Result<()>
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 IWindowsDriverUpdate2
impl CanInto<IUnknown> for IWindowsDriverUpdate2
§impl CanInto<IWindowsDriverUpdate> for IWindowsDriverUpdate2
impl CanInto<IWindowsDriverUpdate> for IWindowsDriverUpdate2
§impl CanInto<IWindowsDriverUpdate2> for IWindowsDriverUpdate3
impl CanInto<IWindowsDriverUpdate2> for IWindowsDriverUpdate3
§impl CanInto<IWindowsDriverUpdate2> for IWindowsDriverUpdate4
impl CanInto<IWindowsDriverUpdate2> for IWindowsDriverUpdate4
§impl CanInto<IWindowsDriverUpdate2> for IWindowsDriverUpdate5
impl CanInto<IWindowsDriverUpdate2> for IWindowsDriverUpdate5
§impl Clone for IWindowsDriverUpdate2
impl Clone for IWindowsDriverUpdate2
§fn clone(&self) -> IWindowsDriverUpdate2
fn clone(&self) -> IWindowsDriverUpdate2
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 IWindowsDriverUpdate2
impl Debug for IWindowsDriverUpdate2
§impl Deref for IWindowsDriverUpdate2
impl Deref for IWindowsDriverUpdate2
§impl From<&IWindowsDriverUpdate2> for &IDispatch
impl From<&IWindowsDriverUpdate2> for &IDispatch
§fn from(value: &IWindowsDriverUpdate2) -> Self
fn from(value: &IWindowsDriverUpdate2) -> Self
Converts to this type from the input type.
§impl From<&IWindowsDriverUpdate2> for &IUnknown
impl From<&IWindowsDriverUpdate2> for &IUnknown
§fn from(value: &IWindowsDriverUpdate2) -> Self
fn from(value: &IWindowsDriverUpdate2) -> Self
Converts to this type from the input type.
§impl From<&IWindowsDriverUpdate2> for &IUpdate
impl From<&IWindowsDriverUpdate2> for &IUpdate
§fn from(value: &IWindowsDriverUpdate2) -> Self
fn from(value: &IWindowsDriverUpdate2) -> 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 &IWindowsDriverUpdate2
impl From<&IWindowsDriverUpdate3> for &IWindowsDriverUpdate2
§fn from(value: &IWindowsDriverUpdate3) -> Self
fn from(value: &IWindowsDriverUpdate3) -> Self
Converts to this type from the input type.
§impl From<&IWindowsDriverUpdate4> for &IWindowsDriverUpdate2
impl From<&IWindowsDriverUpdate4> for &IWindowsDriverUpdate2
§fn from(value: &IWindowsDriverUpdate4) -> Self
fn from(value: &IWindowsDriverUpdate4) -> Self
Converts to this type from the input type.
§impl From<&IWindowsDriverUpdate5> for &IWindowsDriverUpdate2
impl From<&IWindowsDriverUpdate5> for &IWindowsDriverUpdate2
§fn from(value: &IWindowsDriverUpdate5) -> Self
fn from(value: &IWindowsDriverUpdate5) -> Self
Converts to this type from the input type.
§impl From<IWindowsDriverUpdate2> for IDispatch
impl From<IWindowsDriverUpdate2> for IDispatch
§fn from(value: IWindowsDriverUpdate2) -> Self
fn from(value: IWindowsDriverUpdate2) -> Self
Converts to this type from the input type.
§impl From<IWindowsDriverUpdate2> for IUnknown
impl From<IWindowsDriverUpdate2> for IUnknown
§fn from(value: IWindowsDriverUpdate2) -> Self
fn from(value: IWindowsDriverUpdate2) -> Self
Converts to this type from the input type.
§impl From<IWindowsDriverUpdate2> for IUpdate
impl From<IWindowsDriverUpdate2> for IUpdate
§fn from(value: IWindowsDriverUpdate2) -> Self
fn from(value: IWindowsDriverUpdate2) -> 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 IWindowsDriverUpdate2
impl From<IWindowsDriverUpdate3> for IWindowsDriverUpdate2
§fn from(value: IWindowsDriverUpdate3) -> Self
fn from(value: IWindowsDriverUpdate3) -> Self
Converts to this type from the input type.
§impl From<IWindowsDriverUpdate4> for IWindowsDriverUpdate2
impl From<IWindowsDriverUpdate4> for IWindowsDriverUpdate2
§fn from(value: IWindowsDriverUpdate4) -> Self
fn from(value: IWindowsDriverUpdate4) -> Self
Converts to this type from the input type.
§impl From<IWindowsDriverUpdate5> for IWindowsDriverUpdate2
impl From<IWindowsDriverUpdate5> for IWindowsDriverUpdate2
§fn from(value: IWindowsDriverUpdate5) -> Self
fn from(value: IWindowsDriverUpdate5) -> Self
Converts to this type from the input type.
§impl Interface for IWindowsDriverUpdate2
impl Interface for IWindowsDriverUpdate2
§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.
§unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
§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 IWindowsDriverUpdate2
impl PartialEq for IWindowsDriverUpdate2
impl Eq for IWindowsDriverUpdate2
impl StructuralPartialEq for IWindowsDriverUpdate2
Auto Trait Implementations§
impl Freeze for IWindowsDriverUpdate2
impl RefUnwindSafe for IWindowsDriverUpdate2
impl !Send for IWindowsDriverUpdate2
impl !Sync for IWindowsDriverUpdate2
impl Unpin for IWindowsDriverUpdate2
impl UnwindSafe for IWindowsDriverUpdate2
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