Struct windows::Win32::System::UpdateAgent::IAutomaticUpdatesSettings3
pub struct IAutomaticUpdatesSettings3(/* private fields */);
Implementations§
§impl IAutomaticUpdatesSettings3
impl IAutomaticUpdatesSettings3
pub unsafe fn NotificationLevel( &self ) -> Result<AutomaticUpdatesNotificationLevel>
pub unsafe fn SetNotificationLevel( &self, value: AutomaticUpdatesNotificationLevel ) -> Result<()>
pub unsafe fn ReadOnly(&self) -> Result<VARIANT_BOOL>
pub unsafe fn Required(&self) -> Result<VARIANT_BOOL>
pub unsafe fn ScheduledInstallationDay( &self ) -> Result<AutomaticUpdatesScheduledInstallationDay>
pub unsafe fn SetScheduledInstallationDay( &self, value: AutomaticUpdatesScheduledInstallationDay ) -> Result<()>
pub unsafe fn ScheduledInstallationTime(&self) -> Result<i32>
pub unsafe fn SetScheduledInstallationTime(&self, value: i32) -> Result<()>
pub unsafe fn Refresh(&self) -> Result<()>
pub unsafe fn Save(&self) -> Result<()>
pub unsafe fn IncludeRecommendedUpdates(&self) -> Result<VARIANT_BOOL>
pub unsafe fn SetIncludeRecommendedUpdates<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<VARIANT_BOOL>,
pub unsafe fn CheckPermission( &self, usertype: AutomaticUpdatesUserType, permissiontype: AutomaticUpdatesPermissionType ) -> Result<VARIANT_BOOL>
pub unsafe fn NonAdministratorsElevated(&self) -> Result<VARIANT_BOOL>
pub unsafe fn SetNonAdministratorsElevated<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<VARIANT_BOOL>,
pub unsafe fn FeaturedUpdatesEnabled(&self) -> Result<VARIANT_BOOL>
pub unsafe fn SetFeaturedUpdatesEnabled<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<VARIANT_BOOL>,
Trait Implementations§
§impl Clone for IAutomaticUpdatesSettings3
impl Clone for IAutomaticUpdatesSettings3
§fn clone(&self) -> IAutomaticUpdatesSettings3
fn clone(&self) -> IAutomaticUpdatesSettings3
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 IAutomaticUpdatesSettings3
impl Debug for IAutomaticUpdatesSettings3
§impl From<&IAutomaticUpdatesSettings3> for &IAutomaticUpdatesSettings
impl From<&IAutomaticUpdatesSettings3> for &IAutomaticUpdatesSettings
§fn from(value: &IAutomaticUpdatesSettings3) -> Self
fn from(value: &IAutomaticUpdatesSettings3) -> Self
Converts to this type from the input type.
§impl From<&IAutomaticUpdatesSettings3> for &IAutomaticUpdatesSettings2
impl From<&IAutomaticUpdatesSettings3> for &IAutomaticUpdatesSettings2
§fn from(value: &IAutomaticUpdatesSettings3) -> Self
fn from(value: &IAutomaticUpdatesSettings3) -> Self
Converts to this type from the input type.
§impl From<&IAutomaticUpdatesSettings3> for &IDispatch
impl From<&IAutomaticUpdatesSettings3> for &IDispatch
§fn from(value: &IAutomaticUpdatesSettings3) -> Self
fn from(value: &IAutomaticUpdatesSettings3) -> Self
Converts to this type from the input type.
§impl From<&IAutomaticUpdatesSettings3> for &IUnknown
impl From<&IAutomaticUpdatesSettings3> for &IUnknown
§fn from(value: &IAutomaticUpdatesSettings3) -> Self
fn from(value: &IAutomaticUpdatesSettings3) -> Self
Converts to this type from the input type.
§impl From<IAutomaticUpdatesSettings3> for IAutomaticUpdatesSettings
impl From<IAutomaticUpdatesSettings3> for IAutomaticUpdatesSettings
§fn from(value: IAutomaticUpdatesSettings3) -> Self
fn from(value: IAutomaticUpdatesSettings3) -> Self
Converts to this type from the input type.
§impl From<IAutomaticUpdatesSettings3> for IAutomaticUpdatesSettings2
impl From<IAutomaticUpdatesSettings3> for IAutomaticUpdatesSettings2
§fn from(value: IAutomaticUpdatesSettings3) -> Self
fn from(value: IAutomaticUpdatesSettings3) -> Self
Converts to this type from the input type.
§impl From<IAutomaticUpdatesSettings3> for IDispatch
impl From<IAutomaticUpdatesSettings3> for IDispatch
§fn from(value: IAutomaticUpdatesSettings3) -> Self
fn from(value: IAutomaticUpdatesSettings3) -> Self
Converts to this type from the input type.
§impl From<IAutomaticUpdatesSettings3> for IUnknown
impl From<IAutomaticUpdatesSettings3> for IUnknown
§fn from(value: IAutomaticUpdatesSettings3) -> Self
fn from(value: IAutomaticUpdatesSettings3) -> Self
Converts to this type from the input type.
§impl Interface for IAutomaticUpdatesSettings3
impl Interface for IAutomaticUpdatesSettings3
§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 IAutomaticUpdatesSettings3
impl PartialEq for IAutomaticUpdatesSettings3
§fn eq(&self, other: &IAutomaticUpdatesSettings3) -> bool
fn eq(&self, other: &IAutomaticUpdatesSettings3) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IAutomaticUpdatesSettings3
impl StructuralPartialEq for IAutomaticUpdatesSettings3
Auto Trait Implementations§
impl RefUnwindSafe for IAutomaticUpdatesSettings3
impl !Send for IAutomaticUpdatesSettings3
impl !Sync for IAutomaticUpdatesSettings3
impl Unpin for IAutomaticUpdatesSettings3
impl UnwindSafe for IAutomaticUpdatesSettings3
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