Struct winsafe::ITaskFolder
source · pub struct ITaskFolder(/* private fields */);
Available on crate feature
taskschd
only.Expand description
ITaskFolder
COM interface over ITaskFolderVT
.
Automatically calls
Release
when the object goes out of scope.
Trait Implementations§
source§impl Clone for ITaskFolder
impl Clone for ITaskFolder
source§impl Drop for ITaskFolder
impl Drop for ITaskFolder
source§impl ole_IUnknown for ITaskFolder
impl ole_IUnknown for ITaskFolder
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 ITaskFolder
impl oleaut_IDispatch for ITaskFolder
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_ITaskFolder for ITaskFolder
impl taskschd_ITaskFolder for ITaskFolder
source§fn DeleteTask(&self, name: &str) -> HrResult<()>
fn DeleteTask(&self, name: &str) -> HrResult<()>
ITaskFolder::DeleteTask
method.source§fn RegisterTaskDefinition(
&self,
path: Option<&str>,
definition: &impl taskschd_ITaskDefinition,
flags: TASK_CREATION,
user_id: Option<&str>,
password: Option<&str>,
logon_type: TASK_LOGON,
sddl: Option<VARIANT>
) -> HrResult<IRegisteredTask>
fn RegisterTaskDefinition( &self, path: Option<&str>, definition: &impl taskschd_ITaskDefinition, flags: TASK_CREATION, user_id: Option<&str>, password: Option<&str>, logon_type: TASK_LOGON, sddl: Option<VARIANT> ) -> HrResult<IRegisteredTask>
impl Send for ITaskFolder
Auto Trait Implementations§
impl Freeze for ITaskFolder
impl RefUnwindSafe 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