ITaskSettingsVtbl

Struct ITaskSettingsVtbl 

Source
#[repr(C)]
pub struct ITaskSettingsVtbl {
Show 41 fields pub parent: IDispatchVtbl, pub get_AllowDemandStart: unsafe extern "system" fn(This: *mut ITaskSettings, pAllowDemandStart: *mut VARIANT_BOOL) -> HRESULT, pub put_AllowDemandStart: unsafe extern "system" fn(This: *mut ITaskSettings, pAllowDemandStart: VARIANT_BOOL) -> HRESULT, pub get_RestartInterval: unsafe extern "system" fn(This: *mut ITaskSettings, pRestartInterval: *mut BSTR) -> HRESULT, pub put_RestartInterval: unsafe extern "system" fn(This: *mut ITaskSettings, pRestartInterval: BSTR) -> HRESULT, pub get_RestartCount: unsafe extern "system" fn(This: *mut ITaskSettings, pRestartCount: *mut INT) -> HRESULT, pub put_RestartCount: unsafe extern "system" fn(This: *mut ITaskSettings, pRestartCount: INT) -> HRESULT, pub get_MultipleInstances: unsafe extern "system" fn(This: *mut ITaskSettings, pPolicy: *mut TASK_INSTANCES_POLICY) -> HRESULT, pub put_MultipleInstances: unsafe extern "system" fn(This: *mut ITaskSettings, pPolicy: TASK_INSTANCES_POLICY) -> HRESULT, pub get_StopIfGoingOnBatteries: unsafe extern "system" fn(This: *mut ITaskSettings, pStopIfOnBatteries: *mut VARIANT_BOOL) -> HRESULT, pub put_StopIfGoingOnBatteries: unsafe extern "system" fn(This: *mut ITaskSettings, pStopIfOnBatteries: VARIANT_BOOL) -> HRESULT, pub get_DisallowStartIfOnBatteries: unsafe extern "system" fn(This: *mut ITaskSettings, pDisallowStart: *mut VARIANT_BOOL) -> HRESULT, pub put_DisallowStartIfOnBatteries: unsafe extern "system" fn(This: *mut ITaskSettings, pDisallowStart: VARIANT_BOOL) -> HRESULT, pub get_AllowHardTerminate: unsafe extern "system" fn(This: *mut ITaskSettings, pAllowHardTerminate: *mut VARIANT_BOOL) -> HRESULT, pub put_AllowHardTerminate: unsafe extern "system" fn(This: *mut ITaskSettings, pAllowHardTerminate: VARIANT_BOOL) -> HRESULT, pub get_StartWhenAvailable: unsafe extern "system" fn(This: *mut ITaskSettings, pStartWhenAvailable: *mut VARIANT_BOOL) -> HRESULT, pub put_StartWhenAvailable: unsafe extern "system" fn(This: *mut ITaskSettings, pStartWhenAvailable: VARIANT_BOOL) -> HRESULT, pub get_XmlText: unsafe extern "system" fn(This: *mut ITaskSettings, pText: *mut BSTR) -> HRESULT, pub put_XmlText: unsafe extern "system" fn(This: *mut ITaskSettings, pText: BSTR) -> HRESULT, pub get_RunOnlyIfNetworkAvailable: unsafe extern "system" fn(This: *mut ITaskSettings, pRunOnlyIfNetworkAvailable: *mut VARIANT_BOOL) -> HRESULT, pub put_RunOnlyIfNetworkAvailable: unsafe extern "system" fn(This: *mut ITaskSettings, pRunOnlyIfNetworkAvailable: VARIANT_BOOL) -> HRESULT, pub get_ExecutionTimeLimit: unsafe extern "system" fn(This: *mut ITaskSettings, pExecutionTimeLimit: *mut BSTR) -> HRESULT, pub put_ExecutionTimeLimit: unsafe extern "system" fn(This: *mut ITaskSettings, pExecutionTimeLimit: BSTR) -> HRESULT, pub get_Enabled: unsafe extern "system" fn(This: *mut ITaskSettings, pEnabled: *mut VARIANT_BOOL) -> HRESULT, pub put_Enabled: unsafe extern "system" fn(This: *mut ITaskSettings, pEnabled: VARIANT_BOOL) -> HRESULT, pub get_DeleteExpiredTaskAfter: unsafe extern "system" fn(This: *mut ITaskSettings, pExpirationDelay: *mut BSTR) -> HRESULT, pub put_DeleteExpiredTaskAfter: unsafe extern "system" fn(This: *mut ITaskSettings, pExpirationDelay: BSTR) -> HRESULT, pub get_Priority: unsafe extern "system" fn(This: *mut ITaskSettings, pPriority: *mut INT) -> HRESULT, pub put_Priority: unsafe extern "system" fn(This: *mut ITaskSettings, pPriority: INT) -> HRESULT, pub get_Compatibility: unsafe extern "system" fn(This: *mut ITaskSettings, pCompatLevel: *mut TASK_COMPATIBILITY) -> HRESULT, pub put_Compatibility: unsafe extern "system" fn(This: *mut ITaskSettings, pCompatLevel: TASK_COMPATIBILITY) -> HRESULT, pub get_Hidden: unsafe extern "system" fn(This: *mut ITaskSettings, pHidden: *mut VARIANT_BOOL) -> HRESULT, pub put_Hidden: unsafe extern "system" fn(This: *mut ITaskSettings, pHidden: VARIANT_BOOL) -> HRESULT, pub get_IdleSettings: unsafe extern "system" fn(This: *mut ITaskSettings, ppIdleSettings: *mut *mut IIdleSettings) -> HRESULT, pub put_IdleSettings: unsafe extern "system" fn(This: *mut ITaskSettings, ppIdleSettings: *const IIdleSettings) -> HRESULT, pub get_RunOnlyIfIdle: unsafe extern "system" fn(This: *mut ITaskSettings, pRunOnlyIfIdle: *mut VARIANT_BOOL) -> HRESULT, pub put_RunOnlyIfIdle: unsafe extern "system" fn(This: *mut ITaskSettings, pRunOnlyIfIdle: VARIANT_BOOL) -> HRESULT, pub get_WakeToRun: unsafe extern "system" fn(This: *mut ITaskSettings, pWake: *mut VARIANT_BOOL) -> HRESULT, pub put_WakeToRun: unsafe extern "system" fn(This: *mut ITaskSettings, pWake: VARIANT_BOOL) -> HRESULT, pub get_NetworkSettings: unsafe extern "system" fn(This: *mut ITaskSettings, ppNetworkSettings: *mut *mut INetworkSettings) -> HRESULT, pub put_NetworkSettings: unsafe extern "system" fn(This: *mut ITaskSettings, ppNetworkSettings: *const INetworkSettings) -> HRESULT,
}

Fields§

§parent: IDispatchVtbl§get_AllowDemandStart: unsafe extern "system" fn(This: *mut ITaskSettings, pAllowDemandStart: *mut VARIANT_BOOL) -> HRESULT§put_AllowDemandStart: unsafe extern "system" fn(This: *mut ITaskSettings, pAllowDemandStart: VARIANT_BOOL) -> HRESULT§get_RestartInterval: unsafe extern "system" fn(This: *mut ITaskSettings, pRestartInterval: *mut BSTR) -> HRESULT§put_RestartInterval: unsafe extern "system" fn(This: *mut ITaskSettings, pRestartInterval: BSTR) -> HRESULT§get_RestartCount: unsafe extern "system" fn(This: *mut ITaskSettings, pRestartCount: *mut INT) -> HRESULT§put_RestartCount: unsafe extern "system" fn(This: *mut ITaskSettings, pRestartCount: INT) -> HRESULT§get_MultipleInstances: unsafe extern "system" fn(This: *mut ITaskSettings, pPolicy: *mut TASK_INSTANCES_POLICY) -> HRESULT§put_MultipleInstances: unsafe extern "system" fn(This: *mut ITaskSettings, pPolicy: TASK_INSTANCES_POLICY) -> HRESULT§get_StopIfGoingOnBatteries: unsafe extern "system" fn(This: *mut ITaskSettings, pStopIfOnBatteries: *mut VARIANT_BOOL) -> HRESULT§put_StopIfGoingOnBatteries: unsafe extern "system" fn(This: *mut ITaskSettings, pStopIfOnBatteries: VARIANT_BOOL) -> HRESULT§get_DisallowStartIfOnBatteries: unsafe extern "system" fn(This: *mut ITaskSettings, pDisallowStart: *mut VARIANT_BOOL) -> HRESULT§put_DisallowStartIfOnBatteries: unsafe extern "system" fn(This: *mut ITaskSettings, pDisallowStart: VARIANT_BOOL) -> HRESULT§get_AllowHardTerminate: unsafe extern "system" fn(This: *mut ITaskSettings, pAllowHardTerminate: *mut VARIANT_BOOL) -> HRESULT§put_AllowHardTerminate: unsafe extern "system" fn(This: *mut ITaskSettings, pAllowHardTerminate: VARIANT_BOOL) -> HRESULT§get_StartWhenAvailable: unsafe extern "system" fn(This: *mut ITaskSettings, pStartWhenAvailable: *mut VARIANT_BOOL) -> HRESULT§put_StartWhenAvailable: unsafe extern "system" fn(This: *mut ITaskSettings, pStartWhenAvailable: VARIANT_BOOL) -> HRESULT§get_XmlText: unsafe extern "system" fn(This: *mut ITaskSettings, pText: *mut BSTR) -> HRESULT§put_XmlText: unsafe extern "system" fn(This: *mut ITaskSettings, pText: BSTR) -> HRESULT§get_RunOnlyIfNetworkAvailable: unsafe extern "system" fn(This: *mut ITaskSettings, pRunOnlyIfNetworkAvailable: *mut VARIANT_BOOL) -> HRESULT§put_RunOnlyIfNetworkAvailable: unsafe extern "system" fn(This: *mut ITaskSettings, pRunOnlyIfNetworkAvailable: VARIANT_BOOL) -> HRESULT§get_ExecutionTimeLimit: unsafe extern "system" fn(This: *mut ITaskSettings, pExecutionTimeLimit: *mut BSTR) -> HRESULT§put_ExecutionTimeLimit: unsafe extern "system" fn(This: *mut ITaskSettings, pExecutionTimeLimit: BSTR) -> HRESULT§get_Enabled: unsafe extern "system" fn(This: *mut ITaskSettings, pEnabled: *mut VARIANT_BOOL) -> HRESULT§put_Enabled: unsafe extern "system" fn(This: *mut ITaskSettings, pEnabled: VARIANT_BOOL) -> HRESULT§get_DeleteExpiredTaskAfter: unsafe extern "system" fn(This: *mut ITaskSettings, pExpirationDelay: *mut BSTR) -> HRESULT§put_DeleteExpiredTaskAfter: unsafe extern "system" fn(This: *mut ITaskSettings, pExpirationDelay: BSTR) -> HRESULT§get_Priority: unsafe extern "system" fn(This: *mut ITaskSettings, pPriority: *mut INT) -> HRESULT§put_Priority: unsafe extern "system" fn(This: *mut ITaskSettings, pPriority: INT) -> HRESULT§get_Compatibility: unsafe extern "system" fn(This: *mut ITaskSettings, pCompatLevel: *mut TASK_COMPATIBILITY) -> HRESULT§put_Compatibility: unsafe extern "system" fn(This: *mut ITaskSettings, pCompatLevel: TASK_COMPATIBILITY) -> HRESULT§get_Hidden: unsafe extern "system" fn(This: *mut ITaskSettings, pHidden: *mut VARIANT_BOOL) -> HRESULT§put_Hidden: unsafe extern "system" fn(This: *mut ITaskSettings, pHidden: VARIANT_BOOL) -> HRESULT§get_IdleSettings: unsafe extern "system" fn(This: *mut ITaskSettings, ppIdleSettings: *mut *mut IIdleSettings) -> HRESULT§put_IdleSettings: unsafe extern "system" fn(This: *mut ITaskSettings, ppIdleSettings: *const IIdleSettings) -> HRESULT§get_RunOnlyIfIdle: unsafe extern "system" fn(This: *mut ITaskSettings, pRunOnlyIfIdle: *mut VARIANT_BOOL) -> HRESULT§put_RunOnlyIfIdle: unsafe extern "system" fn(This: *mut ITaskSettings, pRunOnlyIfIdle: VARIANT_BOOL) -> HRESULT§get_WakeToRun: unsafe extern "system" fn(This: *mut ITaskSettings, pWake: *mut VARIANT_BOOL) -> HRESULT§put_WakeToRun: unsafe extern "system" fn(This: *mut ITaskSettings, pWake: VARIANT_BOOL) -> HRESULT§get_NetworkSettings: unsafe extern "system" fn(This: *mut ITaskSettings, ppNetworkSettings: *mut *mut INetworkSettings) -> HRESULT§put_NetworkSettings: unsafe extern "system" fn(This: *mut ITaskSettings, ppNetworkSettings: *const INetworkSettings) -> HRESULT

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.