Struct windows::Win32::System::TaskScheduler::IExecAction2
pub struct IExecAction2(/* private fields */);
Implementations§
§impl IExecAction2
impl IExecAction2
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>,
pub unsafe fn HideAppWindow( &self, phideappwindow: *mut VARIANT_BOOL ) -> Result<()>
pub unsafe fn SetHideAppWindow<P0>(&self, hideappwindow: P0) -> Result<()>where
P0: IntoParam<VARIANT_BOOL>,
Trait Implementations§
§impl Clone for IExecAction2
impl Clone for IExecAction2
§fn clone(&self) -> IExecAction2
fn clone(&self) -> IExecAction2
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 IExecAction2
impl Debug for IExecAction2
§impl From<&IExecAction2> for &IAction
impl From<&IExecAction2> for &IAction
§fn from(value: &IExecAction2) -> Self
fn from(value: &IExecAction2) -> Self
Converts to this type from the input type.
§impl From<&IExecAction2> for &IDispatch
impl From<&IExecAction2> for &IDispatch
§fn from(value: &IExecAction2) -> Self
fn from(value: &IExecAction2) -> 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<&IExecAction2> for &IUnknown
impl From<&IExecAction2> for &IUnknown
§fn from(value: &IExecAction2) -> Self
fn from(value: &IExecAction2) -> Self
Converts to this type from the input type.
§impl From<IExecAction2> for IAction
impl From<IExecAction2> for IAction
§fn from(value: IExecAction2) -> Self
fn from(value: IExecAction2) -> Self
Converts to this type from the input type.
§impl From<IExecAction2> for IDispatch
impl From<IExecAction2> for IDispatch
§fn from(value: IExecAction2) -> Self
fn from(value: IExecAction2) -> 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<IExecAction2> for IUnknown
impl From<IExecAction2> for IUnknown
§fn from(value: IExecAction2) -> Self
fn from(value: IExecAction2) -> Self
Converts to this type from the input type.
§impl Interface for IExecAction2
impl Interface for IExecAction2
§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 IExecAction2
impl PartialEq for IExecAction2
§fn eq(&self, other: &IExecAction2) -> bool
fn eq(&self, other: &IExecAction2) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IExecAction2
impl StructuralPartialEq for IExecAction2
Auto Trait Implementations§
impl RefUnwindSafe for IExecAction2
impl !Send for IExecAction2
impl !Sync for IExecAction2
impl Unpin for IExecAction2
impl UnwindSafe for IExecAction2
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