pub trait ITaskScheduler_Impl: Sized {
    // 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: Option<&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: Option<&IScheduledWorkItem>, ) -> Result<()>

fn IsOfType(&self, pwszname: &PCWSTR, riid: *const GUID) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§