Struct IBackgroundCopyJob2

Source
#[repr(C)]
pub struct IBackgroundCopyJob2 { pub lpVtbl: *const IBackgroundCopyJob2Vtbl, }

Fields§

§lpVtbl: *const IBackgroundCopyJob2Vtbl

Implementations§

Source§

impl IBackgroundCopyJob2

Source

pub unsafe fn SetNotifyCmdLine( &self, Program: LPCWSTR, Parameters: LPCWSTR, ) -> HRESULT

Source

pub unsafe fn GetNotifyCmdLine( &self, pProgram: *mut LPWSTR, pParameters: *mut LPWSTR, ) -> HRESULT

Source

pub unsafe fn GetReplyProgress( &self, pProgress: *mut BG_JOB_REPLY_PROGRESS, ) -> HRESULT

Source

pub unsafe fn GetReplyData( &self, ppBuffer: *mut *mut byte, pLength: *mut UINT64, ) -> HRESULT

Source

pub unsafe fn SetReplyFileName(&self, ReplyFileName: LPCWSTR) -> HRESULT

Source

pub unsafe fn GetReplyFileName(&self, pReplyFileName: *mut LPWSTR) -> HRESULT

Source

pub unsafe fn SetCredentials( &self, credentials: *mut BG_AUTH_CREDENTIALS, ) -> HRESULT

Source

pub unsafe fn RemoveCredentials( &self, Target: BG_AUTH_TARGET, Scheme: BG_AUTH_SCHEME, ) -> HRESULT

Methods from Deref<Target = IBackgroundCopyJob>§

Source

pub unsafe fn AddFileSet( &self, cFileCount: ULONG, pFileSet: *mut BG_FILE_INFO, ) -> HRESULT

Source

pub unsafe fn AddFile(&self, RemoteUrl: LPCWSTR, LocalName: LPCWSTR) -> HRESULT

Source

pub unsafe fn EnumFiles( &self, pErrorDescription: *mut *mut IEnumBackgroundCopyFiles, ) -> HRESULT

Source

pub unsafe fn Suspend(&self) -> HRESULT

Source

pub unsafe fn Resume(&self) -> HRESULT

Source

pub unsafe fn Cancel(&self) -> HRESULT

Source

pub unsafe fn Complete(&self) -> HRESULT

Source

pub unsafe fn GetId(&self, pVal: *mut GUID) -> HRESULT

Source

pub unsafe fn GetType(&self, pVal: *mut BG_JOB_TYPE) -> HRESULT

Source

pub unsafe fn GetProgress(&self, pVal: *mut BG_JOB_PROGRESS) -> HRESULT

Source

pub unsafe fn GetTimes(&self, pVal: *mut BG_JOB_TIMES) -> HRESULT

Source

pub unsafe fn GetState(&self, pVal: *mut BG_JOB_STATE) -> HRESULT

Source

pub unsafe fn GetError( &self, ppError: *mut *mut IBackgroundCopyError, ) -> HRESULT

Source

pub unsafe fn GetOwner(&self, pVal: *mut LPWSTR) -> HRESULT

Source

pub unsafe fn SetDisplayName(&self, Val: LPCWSTR) -> HRESULT

Source

pub unsafe fn GetDisplayName(&self, pVal: *mut LPWSTR) -> HRESULT

Source

pub unsafe fn SetDescription(&self, Val: LPCWSTR) -> HRESULT

Source

pub unsafe fn GetDescription(&self, pVal: *mut LPWSTR) -> HRESULT

Source

pub unsafe fn SetPriority(&self, Val: BG_JOB_PRIORITY) -> HRESULT

Source

pub unsafe fn GetPriority(&self, pVal: *mut BG_JOB_PRIORITY) -> HRESULT

Source

pub unsafe fn SetNotifyFlags(&self, Val: ULONG) -> HRESULT

Source

pub unsafe fn GetNotifyFlags(&self, pVal: *mut ULONG) -> HRESULT

Source

pub unsafe fn SetNotifyInterface(&self, Val: *mut IUnknown) -> HRESULT

Source

pub unsafe fn GetNotifyInterface(&self, pVal: *mut *mut IUnknown) -> HRESULT

Source

pub unsafe fn SetMinimumRetryDelay(&self, Seconds: ULONG) -> HRESULT

Source

pub unsafe fn GetMinimumRetryDelay(&self, Seconds: *mut ULONG) -> HRESULT

Source

pub unsafe fn SetNoProgressTimeout(&self, Seconds: ULONG) -> HRESULT

Source

pub unsafe fn GetNoProgressTimeout(&self, Seconds: *mut ULONG) -> HRESULT

Source

pub unsafe fn GetErrorCount(&self, Errors: *mut ULONG) -> HRESULT

Source

pub unsafe fn SetProxySettings( &self, ProxyUsage: BG_JOB_PROXY_USAGE, ProxyList: *const WCHAR, ProxyBypassList: *const WCHAR, ) -> HRESULT

Source

pub unsafe fn GetProxySettings( &self, pProxyUsage: *mut BG_JOB_PROXY_USAGE, pProxyList: *mut LPWSTR, pProxyBypassListpProxyList: *mut LPWSTR, ) -> HRESULT

Source

pub unsafe fn TakeOwnership(&self) -> HRESULT

Methods from Deref<Target = IUnknown>§

Source

pub unsafe fn QueryInterface( &self, riid: REFIID, ppvObject: *mut *mut c_void, ) -> HRESULT

Source

pub unsafe fn AddRef(&self) -> ULONG

Source

pub unsafe fn Release(&self) -> ULONG

Trait Implementations§

Source§

impl Deref for IBackgroundCopyJob2

Source§

type Target = IBackgroundCopyJob

The resulting type after dereferencing.
Source§

fn deref(&self) -> &IBackgroundCopyJob

Dereferences the value.
Source§

impl Interface for IBackgroundCopyJob2

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.