Struct windows::Win32::System::TaskScheduler::ITaskSettings3
pub struct ITaskSettings3(/* private fields */);
Implementations§
§impl ITaskSettings3
impl ITaskSettings3
pub unsafe fn AllowDemandStart( &self, pallowdemandstart: *mut VARIANT_BOOL ) -> Result<()>
pub unsafe fn SetAllowDemandStart<P0>(&self, allowdemandstart: P0) -> Result<()>where
P0: IntoParam<VARIANT_BOOL>,
pub unsafe fn RestartInterval(&self, prestartinterval: *mut BSTR) -> Result<()>
pub unsafe fn SetRestartInterval<P0>(&self, restartinterval: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn RestartCount(&self, prestartcount: *mut i32) -> Result<()>
pub unsafe fn SetRestartCount(&self, restartcount: i32) -> Result<()>
pub unsafe fn MultipleInstances( &self, ppolicy: *mut TASK_INSTANCES_POLICY ) -> Result<()>
pub unsafe fn SetMultipleInstances( &self, policy: TASK_INSTANCES_POLICY ) -> Result<()>
pub unsafe fn StopIfGoingOnBatteries( &self, pstopifonbatteries: *mut VARIANT_BOOL ) -> Result<()>
pub unsafe fn SetStopIfGoingOnBatteries<P0>(
&self,
stopifonbatteries: P0
) -> Result<()>where
P0: IntoParam<VARIANT_BOOL>,
pub unsafe fn DisallowStartIfOnBatteries( &self, pdisallowstart: *mut VARIANT_BOOL ) -> Result<()>
pub unsafe fn SetDisallowStartIfOnBatteries<P0>(
&self,
disallowstart: P0
) -> Result<()>where
P0: IntoParam<VARIANT_BOOL>,
pub unsafe fn AllowHardTerminate( &self, pallowhardterminate: *mut VARIANT_BOOL ) -> Result<()>
pub unsafe fn SetAllowHardTerminate<P0>(
&self,
allowhardterminate: P0
) -> Result<()>where
P0: IntoParam<VARIANT_BOOL>,
pub unsafe fn StartWhenAvailable( &self, pstartwhenavailable: *mut VARIANT_BOOL ) -> Result<()>
pub unsafe fn SetStartWhenAvailable<P0>(
&self,
startwhenavailable: P0
) -> Result<()>where
P0: IntoParam<VARIANT_BOOL>,
pub unsafe fn XmlText(&self, ptext: *mut BSTR) -> Result<()>
pub unsafe fn SetXmlText<P0>(&self, text: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn RunOnlyIfNetworkAvailable( &self, prunonlyifnetworkavailable: *mut VARIANT_BOOL ) -> Result<()>
pub unsafe fn SetRunOnlyIfNetworkAvailable<P0>(
&self,
runonlyifnetworkavailable: P0
) -> Result<()>where
P0: IntoParam<VARIANT_BOOL>,
pub unsafe fn ExecutionTimeLimit( &self, pexecutiontimelimit: *mut BSTR ) -> Result<()>
pub unsafe fn SetExecutionTimeLimit<P0>(
&self,
executiontimelimit: P0
) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn Enabled(&self, penabled: *mut VARIANT_BOOL) -> Result<()>
pub unsafe fn SetEnabled<P0>(&self, enabled: P0) -> Result<()>where
P0: IntoParam<VARIANT_BOOL>,
pub unsafe fn DeleteExpiredTaskAfter( &self, pexpirationdelay: *mut BSTR ) -> Result<()>
pub unsafe fn SetDeleteExpiredTaskAfter<P0>(
&self,
expirationdelay: P0
) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn Priority(&self, ppriority: *mut i32) -> Result<()>
pub unsafe fn SetPriority(&self, priority: i32) -> Result<()>
pub unsafe fn Compatibility( &self, pcompatlevel: *mut TASK_COMPATIBILITY ) -> Result<()>
pub unsafe fn SetCompatibility( &self, compatlevel: TASK_COMPATIBILITY ) -> Result<()>
pub unsafe fn Hidden(&self, phidden: *mut VARIANT_BOOL) -> Result<()>
pub unsafe fn SetHidden<P0>(&self, hidden: P0) -> Result<()>where
P0: IntoParam<VARIANT_BOOL>,
pub unsafe fn IdleSettings(&self) -> Result<IIdleSettings>
pub unsafe fn SetIdleSettings<P0>(&self, pidlesettings: P0) -> Result<()>where
P0: IntoParam<IIdleSettings>,
pub unsafe fn RunOnlyIfIdle( &self, prunonlyifidle: *mut VARIANT_BOOL ) -> Result<()>
pub unsafe fn SetRunOnlyIfIdle<P0>(&self, runonlyifidle: P0) -> Result<()>where
P0: IntoParam<VARIANT_BOOL>,
pub unsafe fn WakeToRun(&self, pwake: *mut VARIANT_BOOL) -> Result<()>
pub unsafe fn SetWakeToRun<P0>(&self, wake: P0) -> Result<()>where
P0: IntoParam<VARIANT_BOOL>,
pub unsafe fn NetworkSettings(&self) -> Result<INetworkSettings>
pub unsafe fn SetNetworkSettings<P0>(&self, pnetworksettings: P0) -> Result<()>where
P0: IntoParam<INetworkSettings>,
pub unsafe fn DisallowStartOnRemoteAppSession( &self, pdisallowstart: *mut VARIANT_BOOL ) -> Result<()>
pub unsafe fn SetDisallowStartOnRemoteAppSession<P0>(
&self,
disallowstart: P0
) -> Result<()>where
P0: IntoParam<VARIANT_BOOL>,
pub unsafe fn UseUnifiedSchedulingEngine( &self, puseunifiedengine: *mut VARIANT_BOOL ) -> Result<()>
pub unsafe fn SetUseUnifiedSchedulingEngine<P0>(
&self,
useunifiedengine: P0
) -> Result<()>where
P0: IntoParam<VARIANT_BOOL>,
pub unsafe fn MaintenanceSettings(&self) -> Result<IMaintenanceSettings>
pub unsafe fn SetMaintenanceSettings<P0>(
&self,
pmaintenancesettings: P0
) -> Result<()>where
P0: IntoParam<IMaintenanceSettings>,
pub unsafe fn CreateMaintenanceSettings(&self) -> Result<IMaintenanceSettings>
pub unsafe fn Volatile(&self, pvolatile: *mut VARIANT_BOOL) -> Result<()>
pub unsafe fn SetVolatile<P0>(&self, volatile: P0) -> Result<()>where
P0: IntoParam<VARIANT_BOOL>,
Trait Implementations§
§impl Clone for ITaskSettings3
impl Clone for ITaskSettings3
§fn clone(&self) -> ITaskSettings3
fn clone(&self) -> ITaskSettings3
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 ITaskSettings3
impl Debug for ITaskSettings3
§impl From<&ITaskSettings3> for &IDispatch
impl From<&ITaskSettings3> for &IDispatch
§fn from(value: &ITaskSettings3) -> Self
fn from(value: &ITaskSettings3) -> Self
Converts to this type from the input type.
§impl From<&ITaskSettings3> for &ITaskSettings
impl From<&ITaskSettings3> for &ITaskSettings
§fn from(value: &ITaskSettings3) -> Self
fn from(value: &ITaskSettings3) -> Self
Converts to this type from the input type.
§impl From<&ITaskSettings3> for &IUnknown
impl From<&ITaskSettings3> for &IUnknown
§fn from(value: &ITaskSettings3) -> Self
fn from(value: &ITaskSettings3) -> Self
Converts to this type from the input type.
§impl From<ITaskSettings3> for IDispatch
impl From<ITaskSettings3> for IDispatch
§fn from(value: ITaskSettings3) -> Self
fn from(value: ITaskSettings3) -> Self
Converts to this type from the input type.
§impl From<ITaskSettings3> for ITaskSettings
impl From<ITaskSettings3> for ITaskSettings
§fn from(value: ITaskSettings3) -> Self
fn from(value: ITaskSettings3) -> Self
Converts to this type from the input type.
§impl From<ITaskSettings3> for IUnknown
impl From<ITaskSettings3> for IUnknown
§fn from(value: ITaskSettings3) -> Self
fn from(value: ITaskSettings3) -> Self
Converts to this type from the input type.
§impl Interface for ITaskSettings3
impl Interface for ITaskSettings3
§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 ITaskSettings3
impl PartialEq for ITaskSettings3
§fn eq(&self, other: &ITaskSettings3) -> bool
fn eq(&self, other: &ITaskSettings3) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ITaskSettings3
impl StructuralPartialEq for ITaskSettings3
Auto Trait Implementations§
impl RefUnwindSafe for ITaskSettings3
impl !Send for ITaskSettings3
impl !Sync for ITaskSettings3
impl Unpin for ITaskSettings3
impl UnwindSafe for ITaskSettings3
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