Struct windows::Win32::System::TaskScheduler::ITaskFolder
pub struct ITaskFolder(/* private fields */);
Implementations§
§impl ITaskFolder
impl ITaskFolder
pub unsafe fn Name(&self) -> Result<BSTR>
pub unsafe fn Path(&self) -> Result<BSTR>
pub unsafe fn GetFolder<P0>(&self, path: P0) -> Result<ITaskFolder>where
P0: IntoParam<BSTR>,
pub unsafe fn GetFolders(&self, flags: i32) -> Result<ITaskFolderCollection>
pub unsafe fn CreateFolder<P0, P1>( &self, subfoldername: P0, sddl: P1 ) -> Result<ITaskFolder>
pub unsafe fn DeleteFolder<P0>(
&self,
subfoldername: P0,
flags: i32
) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn GetTask<P0>(&self, path: P0) -> Result<IRegisteredTask>where
P0: IntoParam<BSTR>,
pub unsafe fn GetTasks(&self, flags: i32) -> Result<IRegisteredTaskCollection>
pub unsafe fn DeleteTask<P0>(&self, name: P0, flags: i32) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn RegisterTask<P0, P1, P2, P3, P4>( &self, path: P0, xmltext: P1, flags: i32, userid: P2, password: P3, logontype: TASK_LOGON_TYPE, sddl: P4 ) -> Result<IRegisteredTask>
pub unsafe fn RegisterTaskDefinition<P0, P1, P2, P3, P4>(
&self,
path: P0,
pdefinition: P1,
flags: i32,
userid: P2,
password: P3,
logontype: TASK_LOGON_TYPE,
sddl: P4
) -> Result<IRegisteredTask>where
P0: IntoParam<BSTR>,
P1: IntoParam<ITaskDefinition>,
P2: IntoParam<VARIANT>,
P3: IntoParam<VARIANT>,
P4: IntoParam<VARIANT>,
pub unsafe fn GetSecurityDescriptor( &self, securityinformation: i32 ) -> Result<BSTR>
pub unsafe fn SetSecurityDescriptor<P0>(
&self,
sddl: P0,
flags: i32
) -> Result<()>where
P0: IntoParam<BSTR>,
Trait Implementations§
§impl Clone for ITaskFolder
impl Clone for ITaskFolder
§fn clone(&self) -> ITaskFolder
fn clone(&self) -> ITaskFolder
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 ITaskFolder
impl Debug for ITaskFolder
§impl From<&ITaskFolder> for &IDispatch
impl From<&ITaskFolder> for &IDispatch
§fn from(value: &ITaskFolder) -> Self
fn from(value: &ITaskFolder) -> Self
Converts to this type from the input type.
§impl From<&ITaskFolder> for &IUnknown
impl From<&ITaskFolder> for &IUnknown
§fn from(value: &ITaskFolder) -> Self
fn from(value: &ITaskFolder) -> Self
Converts to this type from the input type.
§impl From<ITaskFolder> for IDispatch
impl From<ITaskFolder> for IDispatch
§fn from(value: ITaskFolder) -> Self
fn from(value: ITaskFolder) -> Self
Converts to this type from the input type.
§impl From<ITaskFolder> for IUnknown
impl From<ITaskFolder> for IUnknown
§fn from(value: ITaskFolder) -> Self
fn from(value: ITaskFolder) -> Self
Converts to this type from the input type.
§impl Interface for ITaskFolder
impl Interface for ITaskFolder
§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 ITaskFolder
impl PartialEq for ITaskFolder
§fn eq(&self, other: &ITaskFolder) -> bool
fn eq(&self, other: &ITaskFolder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ITaskFolder
impl StructuralPartialEq for ITaskFolder
Auto Trait Implementations§
impl RefUnwindSafe for ITaskFolder
impl !Send for ITaskFolder
impl !Sync for ITaskFolder
impl Unpin for ITaskFolder
impl UnwindSafe for ITaskFolder
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