pub trait IBackgroundCopyJob_Impl: Sized {
Show 32 methods
// Required methods
fn AddFileSet(
&self,
cfilecount: u32,
pfileset: *const BG_FILE_INFO
) -> Result<()>;
fn AddFile(&self, remoteurl: &PCWSTR, localname: &PCWSTR) -> Result<()>;
fn EnumFiles(&self) -> Result<IEnumBackgroundCopyFiles>;
fn Suspend(&self) -> Result<()>;
fn Resume(&self) -> Result<()>;
fn Cancel(&self) -> Result<()>;
fn Complete(&self) -> Result<()>;
fn GetId(&self) -> Result<GUID>;
fn GetType(&self) -> Result<BG_JOB_TYPE>;
fn GetProgress(&self, pval: *mut BG_JOB_PROGRESS) -> Result<()>;
fn GetTimes(&self, pval: *mut BG_JOB_TIMES) -> Result<()>;
fn GetState(&self) -> Result<BG_JOB_STATE>;
fn GetError(&self) -> Result<IBackgroundCopyError>;
fn GetOwner(&self) -> Result<PWSTR>;
fn SetDisplayName(&self, val: &PCWSTR) -> Result<()>;
fn GetDisplayName(&self) -> Result<PWSTR>;
fn SetDescription(&self, val: &PCWSTR) -> Result<()>;
fn GetDescription(&self) -> Result<PWSTR>;
fn SetPriority(&self, val: BG_JOB_PRIORITY) -> Result<()>;
fn GetPriority(&self) -> Result<BG_JOB_PRIORITY>;
fn SetNotifyFlags(&self, val: u32) -> Result<()>;
fn GetNotifyFlags(&self) -> Result<u32>;
fn SetNotifyInterface(&self, val: Option<&IUnknown>) -> Result<()>;
fn GetNotifyInterface(&self) -> Result<IUnknown>;
fn SetMinimumRetryDelay(&self, seconds: u32) -> Result<()>;
fn GetMinimumRetryDelay(&self) -> Result<u32>;
fn SetNoProgressTimeout(&self, seconds: u32) -> Result<()>;
fn GetNoProgressTimeout(&self) -> Result<u32>;
fn GetErrorCount(&self) -> Result<u32>;
fn SetProxySettings(
&self,
proxyusage: BG_JOB_PROXY_USAGE,
proxylist: &PCWSTR,
proxybypasslist: &PCWSTR
) -> Result<()>;
fn GetProxySettings(
&self,
pproxyusage: *mut BG_JOB_PROXY_USAGE,
pproxylist: *mut PWSTR,
pproxybypasslist: *mut PWSTR
) -> Result<()>;
fn TakeOwnership(&self) -> Result<()>;
}
Required Methods§
fn AddFileSet( &self, cfilecount: u32, pfileset: *const BG_FILE_INFO ) -> Result<()>
fn AddFile(&self, remoteurl: &PCWSTR, localname: &PCWSTR) -> Result<()>
fn EnumFiles(&self) -> Result<IEnumBackgroundCopyFiles>
fn Suspend(&self) -> Result<()>
fn Resume(&self) -> Result<()>
fn Cancel(&self) -> Result<()>
fn Complete(&self) -> Result<()>
fn GetId(&self) -> Result<GUID>
fn GetType(&self) -> Result<BG_JOB_TYPE>
fn GetProgress(&self, pval: *mut BG_JOB_PROGRESS) -> Result<()>
fn GetTimes(&self, pval: *mut BG_JOB_TIMES) -> Result<()>
fn GetState(&self) -> Result<BG_JOB_STATE>
fn GetError(&self) -> Result<IBackgroundCopyError>
fn GetOwner(&self) -> Result<PWSTR>
fn SetDisplayName(&self, val: &PCWSTR) -> Result<()>
fn GetDisplayName(&self) -> Result<PWSTR>
fn SetDescription(&self, val: &PCWSTR) -> Result<()>
fn GetDescription(&self) -> Result<PWSTR>
fn SetPriority(&self, val: BG_JOB_PRIORITY) -> Result<()>
fn GetPriority(&self) -> Result<BG_JOB_PRIORITY>
fn SetNotifyFlags(&self, val: u32) -> Result<()>
fn GetNotifyFlags(&self) -> Result<u32>
fn SetNotifyInterface(&self, val: Option<&IUnknown>) -> Result<()>
fn GetNotifyInterface(&self) -> Result<IUnknown>
fn SetMinimumRetryDelay(&self, seconds: u32) -> Result<()>
fn GetMinimumRetryDelay(&self) -> Result<u32>
fn SetNoProgressTimeout(&self, seconds: u32) -> Result<()>
fn GetNoProgressTimeout(&self) -> Result<u32>
fn GetErrorCount(&self) -> Result<u32>
fn SetProxySettings( &self, proxyusage: BG_JOB_PROXY_USAGE, proxylist: &PCWSTR, proxybypasslist: &PCWSTR ) -> Result<()>
fn GetProxySettings( &self, pproxyusage: *mut BG_JOB_PROXY_USAGE, pproxylist: *mut PWSTR, pproxybypasslist: *mut PWSTR ) -> Result<()>
fn TakeOwnership(&self) -> Result<()>
Object Safety§
This trait is not object safe.