Struct windows::Win32::System::TaskScheduler::IExecAction
pub struct IExecAction(/* private fields */);
Implementations§
§impl IExecAction
impl IExecAction
pub unsafe fn Id(&self, pid: *mut BSTR) -> Result<()>
pub unsafe fn SetId<P0>(&self, id: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn Type(&self, ptype: *mut TASK_ACTION_TYPE) -> Result<()>
pub unsafe fn Path(&self, ppath: *mut BSTR) -> Result<()>
pub unsafe fn SetPath<P0>(&self, path: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn Arguments(&self, pargument: *mut BSTR) -> Result<()>
pub unsafe fn SetArguments<P0>(&self, argument: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn WorkingDirectory( &self, pworkingdirectory: *mut BSTR ) -> Result<()>
pub unsafe fn SetWorkingDirectory<P0>(&self, workingdirectory: P0) -> Result<()>where
P0: IntoParam<BSTR>,
Trait Implementations§
§impl Clone for IExecAction
impl Clone for IExecAction
§fn clone(&self) -> IExecAction
fn clone(&self) -> IExecAction
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 IExecAction
impl Debug for IExecAction
§impl From<&IExecAction> for &IAction
impl From<&IExecAction> for &IAction
§fn from(value: &IExecAction) -> Self
fn from(value: &IExecAction) -> Self
Converts to this type from the input type.
§impl From<&IExecAction> for &IDispatch
impl From<&IExecAction> for &IDispatch
§fn from(value: &IExecAction) -> Self
fn from(value: &IExecAction) -> Self
Converts to this type from the input type.
§impl From<&IExecAction> for &IUnknown
impl From<&IExecAction> for &IUnknown
§fn from(value: &IExecAction) -> Self
fn from(value: &IExecAction) -> Self
Converts to this type from the input type.
§impl From<&IExecAction2> for &IExecAction
impl From<&IExecAction2> for &IExecAction
§fn from(value: &IExecAction2) -> Self
fn from(value: &IExecAction2) -> Self
Converts to this type from the input type.
§impl From<IExecAction> for IAction
impl From<IExecAction> for IAction
§fn from(value: IExecAction) -> Self
fn from(value: IExecAction) -> Self
Converts to this type from the input type.
§impl From<IExecAction> for IDispatch
impl From<IExecAction> for IDispatch
§fn from(value: IExecAction) -> Self
fn from(value: IExecAction) -> Self
Converts to this type from the input type.
§impl From<IExecAction> for IUnknown
impl From<IExecAction> for IUnknown
§fn from(value: IExecAction) -> Self
fn from(value: IExecAction) -> Self
Converts to this type from the input type.
§impl From<IExecAction2> for IExecAction
impl From<IExecAction2> for IExecAction
§fn from(value: IExecAction2) -> Self
fn from(value: IExecAction2) -> Self
Converts to this type from the input type.
§impl Interface for IExecAction
impl Interface for IExecAction
§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 IExecAction
impl PartialEq for IExecAction
§fn eq(&self, other: &IExecAction) -> bool
fn eq(&self, other: &IExecAction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IExecAction
impl StructuralPartialEq for IExecAction
Auto Trait Implementations§
impl RefUnwindSafe for IExecAction
impl !Send 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