#[repr(C)]
pub struct ITaskSettings_Vtbl {
Show 41 fields pub base__: IDispatch_Vtbl, pub AllowDemandStart: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT, pub SetAllowDemandStart: unsafe extern "system" fn(_: *mut c_void, _: VARIANT_BOOL) -> HRESULT, pub RestartInterval: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT, pub SetRestartInterval: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>) -> HRESULT, pub RestartCount: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub SetRestartCount: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT, pub MultipleInstances: unsafe extern "system" fn(_: *mut c_void, _: *mut TASK_INSTANCES_POLICY) -> HRESULT, pub SetMultipleInstances: unsafe extern "system" fn(_: *mut c_void, _: TASK_INSTANCES_POLICY) -> HRESULT, pub StopIfGoingOnBatteries: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT, pub SetStopIfGoingOnBatteries: unsafe extern "system" fn(_: *mut c_void, _: VARIANT_BOOL) -> HRESULT, pub DisallowStartIfOnBatteries: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT, pub SetDisallowStartIfOnBatteries: unsafe extern "system" fn(_: *mut c_void, _: VARIANT_BOOL) -> HRESULT, pub AllowHardTerminate: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT, pub SetAllowHardTerminate: unsafe extern "system" fn(_: *mut c_void, _: VARIANT_BOOL) -> HRESULT, pub StartWhenAvailable: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT, pub SetStartWhenAvailable: unsafe extern "system" fn(_: *mut c_void, _: VARIANT_BOOL) -> HRESULT, pub XmlText: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT, pub SetXmlText: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>) -> HRESULT, pub RunOnlyIfNetworkAvailable: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT, pub SetRunOnlyIfNetworkAvailable: unsafe extern "system" fn(_: *mut c_void, _: VARIANT_BOOL) -> HRESULT, pub ExecutionTimeLimit: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT, pub SetExecutionTimeLimit: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>) -> HRESULT, pub Enabled: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT, pub SetEnabled: unsafe extern "system" fn(_: *mut c_void, _: VARIANT_BOOL) -> HRESULT, pub DeleteExpiredTaskAfter: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT, pub SetDeleteExpiredTaskAfter: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>) -> HRESULT, pub Priority: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub SetPriority: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT, pub Compatibility: unsafe extern "system" fn(_: *mut c_void, _: *mut TASK_COMPATIBILITY) -> HRESULT, pub SetCompatibility: unsafe extern "system" fn(_: *mut c_void, _: TASK_COMPATIBILITY) -> HRESULT, pub Hidden: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT, pub SetHidden: unsafe extern "system" fn(_: *mut c_void, _: VARIANT_BOOL) -> HRESULT, pub IdleSettings: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub SetIdleSettings: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT, pub RunOnlyIfIdle: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT, pub SetRunOnlyIfIdle: unsafe extern "system" fn(_: *mut c_void, _: VARIANT_BOOL) -> HRESULT, pub WakeToRun: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT, pub SetWakeToRun: unsafe extern "system" fn(_: *mut c_void, _: VARIANT_BOOL) -> HRESULT, pub NetworkSettings: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub SetNetworkSettings: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT,
}

Fields§

§base__: IDispatch_Vtbl§AllowDemandStart: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT§SetAllowDemandStart: unsafe extern "system" fn(_: *mut c_void, _: VARIANT_BOOL) -> HRESULT§RestartInterval: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT§SetRestartInterval: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>) -> HRESULT§RestartCount: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§SetRestartCount: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT§MultipleInstances: unsafe extern "system" fn(_: *mut c_void, _: *mut TASK_INSTANCES_POLICY) -> HRESULT§SetMultipleInstances: unsafe extern "system" fn(_: *mut c_void, _: TASK_INSTANCES_POLICY) -> HRESULT§StopIfGoingOnBatteries: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT§SetStopIfGoingOnBatteries: unsafe extern "system" fn(_: *mut c_void, _: VARIANT_BOOL) -> HRESULT§DisallowStartIfOnBatteries: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT§SetDisallowStartIfOnBatteries: unsafe extern "system" fn(_: *mut c_void, _: VARIANT_BOOL) -> HRESULT§AllowHardTerminate: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT§SetAllowHardTerminate: unsafe extern "system" fn(_: *mut c_void, _: VARIANT_BOOL) -> HRESULT§StartWhenAvailable: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT§SetStartWhenAvailable: unsafe extern "system" fn(_: *mut c_void, _: VARIANT_BOOL) -> HRESULT§XmlText: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT§SetXmlText: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>) -> HRESULT§RunOnlyIfNetworkAvailable: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT§SetRunOnlyIfNetworkAvailable: unsafe extern "system" fn(_: *mut c_void, _: VARIANT_BOOL) -> HRESULT§ExecutionTimeLimit: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT§SetExecutionTimeLimit: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>) -> HRESULT§Enabled: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT§SetEnabled: unsafe extern "system" fn(_: *mut c_void, _: VARIANT_BOOL) -> HRESULT§DeleteExpiredTaskAfter: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT§SetDeleteExpiredTaskAfter: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>) -> HRESULT§Priority: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§SetPriority: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT§Compatibility: unsafe extern "system" fn(_: *mut c_void, _: *mut TASK_COMPATIBILITY) -> HRESULT§SetCompatibility: unsafe extern "system" fn(_: *mut c_void, _: TASK_COMPATIBILITY) -> HRESULT§Hidden: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT§SetHidden: unsafe extern "system" fn(_: *mut c_void, _: VARIANT_BOOL) -> HRESULT§IdleSettings: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§SetIdleSettings: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT§RunOnlyIfIdle: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT§SetRunOnlyIfIdle: unsafe extern "system" fn(_: *mut c_void, _: VARIANT_BOOL) -> HRESULT§WakeToRun: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT§SetWakeToRun: unsafe extern "system" fn(_: *mut c_void, _: VARIANT_BOOL) -> HRESULT§NetworkSettings: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§SetNetworkSettings: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT

Implementations§

§

impl ITaskSettings_Vtbl

pub const fn new<Identity: IUnknownImpl<Impl = Impl>, Impl: ITaskSettings_Impl, const OFFSET: isize>( ) -> ITaskSettings_Vtbl

pub fn matches(iid: &GUID) -> bool

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>,

§

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>,

§

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.