Trait ITaskScheduler_Impl
pub trait ITaskScheduler_Impl: IUnknownImpl {
// Required methods
fn SetTargetComputer(&self, pwszcomputer: &PCWSTR) -> Result<()>;
fn GetTargetComputer(&self) -> Result<PWSTR>;
fn Enum(&self) -> Result<IEnumWorkItems>;
fn Activate(&self, pwszname: &PCWSTR, riid: *const GUID) -> Result<IUnknown>;
fn Delete(&self, pwszname: &PCWSTR) -> Result<()>;
fn NewWorkItem(
&self,
pwsztaskname: &PCWSTR,
rclsid: *const GUID,
riid: *const GUID,
) -> Result<IUnknown>;
fn AddWorkItem(
&self,
pwsztaskname: &PCWSTR,
pworkitem: Ref<'_, IScheduledWorkItem>,
) -> Result<()>;
fn IsOfType(&self, pwszname: &PCWSTR, riid: *const GUID) -> Result<()>;
}
Required Methods§
fn SetTargetComputer(&self, pwszcomputer: &PCWSTR) -> Result<()>
fn GetTargetComputer(&self) -> Result<PWSTR>
fn Enum(&self) -> Result<IEnumWorkItems>
fn Activate(&self, pwszname: &PCWSTR, riid: *const GUID) -> Result<IUnknown>
fn Delete(&self, pwszname: &PCWSTR) -> Result<()>
fn NewWorkItem( &self, pwsztaskname: &PCWSTR, rclsid: *const GUID, riid: *const GUID, ) -> Result<IUnknown>
fn AddWorkItem( &self, pwsztaskname: &PCWSTR, pworkitem: Ref<'_, IScheduledWorkItem>, ) -> Result<()>
fn IsOfType(&self, pwszname: &PCWSTR, riid: *const GUID) -> Result<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.