Struct winsafe::IExecAction
source · pub struct IExecAction(/* private fields */);
Available on crate feature
taskschd
only.Expand description
IExecAction
COM interface over IExecActionVT
.
Automatically calls
Release
when the object goes out of scope.
§Examples
use winsafe::{self as w, prelude::*};
let action: w::IAction; // initialized somewhere
let exec_action = action
.QueryInterface::<w::IExecAction>()?;
Trait Implementations§
source§impl Clone for IExecAction
impl Clone for IExecAction
source§impl Drop for IExecAction
impl Drop for IExecAction
source§impl ole_IUnknown for IExecAction
impl ole_IUnknown for IExecAction
source§unsafe fn from_ptr(p: *mut c_void) -> Self
unsafe fn from_ptr(p: *mut c_void) -> Self
Available on crate feature
ole
only.Creates an object from a COM virtual table pointer. Read more
source§unsafe fn as_mut(&mut self) -> &mut *mut c_void
unsafe fn as_mut(&mut self) -> &mut *mut c_void
Available on crate feature
ole
only.Returns a mutable reference do the underlying COM virtual table pointer. Read more
source§fn ptr(&self) -> *mut c_void
fn ptr(&self) -> *mut c_void
Available on crate feature
ole
only.Returns the pointer to the underlying COM virtual table. Read more
source§unsafe fn null() -> Self
unsafe fn null() -> Self
Available on crate feature
ole
only.Creates an object from a null COM virtual table pointer. Read more
source§fn QueryInterface<T>(&self) -> HrResult<T>where
T: ole_IUnknown,
fn QueryInterface<T>(&self) -> HrResult<T>where
T: ole_IUnknown,
Available on crate feature
ole
only.IUnknown::QueryInterface
method.source§impl oleaut_IDispatch for IExecAction
impl oleaut_IDispatch for IExecAction
source§fn GetIDsOfNames(
&self,
names: &[impl AsRef<str>],
lcid: LCID
) -> HrResult<Vec<i32>>
fn GetIDsOfNames( &self, names: &[impl AsRef<str>], lcid: LCID ) -> HrResult<Vec<i32>>
Available on crate feature
oleaut
only.IDispatch::GetIDsOfNames
method.source§fn GetTypeInfoCount(&self) -> HrResult<u32>
fn GetTypeInfoCount(&self) -> HrResult<u32>
Available on crate feature
oleaut
only.IDispatch::GetTypeInfoCount
method.source§fn GetTypeInfo(&self, info_type: u32, lcid: LCID) -> HrResult<ITypeInfo>
fn GetTypeInfo(&self, info_type: u32, lcid: LCID) -> HrResult<ITypeInfo>
Available on crate feature
oleaut
only.IDispatch::GetTypeInfo
method.source§impl taskschd_IAction for IExecAction
impl taskschd_IAction for IExecAction
source§fn get_Type(&self) -> HrResult<TASK_ACTION_TYPE>
fn get_Type(&self) -> HrResult<TASK_ACTION_TYPE>
IAction::get_Type
method.source§impl taskschd_IExecAction for IExecAction
impl taskschd_IExecAction for IExecAction
source§fn get_Arguments(&self) -> HrResult<String>
fn get_Arguments(&self) -> HrResult<String>
IExecAction::get_Arguments
method.source§fn get_WorkingDirectory(&self) -> HrResult<String>
fn get_WorkingDirectory(&self) -> HrResult<String>
source§fn put_Arguments(&self, arguments: &str) -> HrResult<()>
fn put_Arguments(&self, arguments: &str) -> HrResult<()>
IExecAction::get_Arguments
method.impl Send for IExecAction
Auto Trait Implementations§
impl Freeze for IExecAction
impl RefUnwindSafe for IExecAction
impl !Sync for IExecAction
impl Unpin for IExecAction
impl UnwindSafe for IExecAction
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