Struct IBackgroundCopyFile6

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

Fields§

§lpVtbl: *const IBackgroundCopyFile6Vtbl

Implementations§

Source§

impl IBackgroundCopyFile6

Source

pub unsafe fn UpdateDownloadPosition(&self, offset: UINT64) -> HRESULT

Source

pub unsafe fn RequestFileRanges( &self, rangeCount: DWORD, ranges: *const BG_FILE_RANGE, ) -> HRESULT

Source

pub unsafe fn GetFilledFileRanges( &self, rangeCount: *mut DWORD, ranges: *mut *mut BG_FILE_RANGE, ) -> HRESULT

Methods from Deref<Target = IBackgroundCopyFile5>§

Source

pub unsafe fn SetProperty( &self, PropertyId: BITS_JOB_PROPERTY_ID, PropertyValue: BITS_JOB_PROPERTY_VALUE, ) -> HRESULT

Source

pub unsafe fn GetProperty( &self, PropertyId: BITS_JOB_PROPERTY_ID, PropertyValue: *mut BITS_JOB_PROPERTY_VALUE, ) -> HRESULT

Methods from Deref<Target = IBackgroundCopyFile4>§

Source

pub unsafe fn GetPeerDownloadStats( &self, pFromOrigin: PUINT64, pFromPeers: PUINT64, ) -> HRESULT

Methods from Deref<Target = IBackgroundCopyFile3>§

Source

pub unsafe fn GetTemporaryName(&self, pFilename: *mut LPWSTR) -> HRESULT

Source

pub unsafe fn SetValidationState(&self, state: BOOL) -> HRESULT

Source

pub unsafe fn GetValidationState(&self, pState: *mut BOOL) -> HRESULT

Source

pub unsafe fn IsDownloadedFromPeer(&self, pVal: *mut BOOL) -> HRESULT

Methods from Deref<Target = IBackgroundCopyFile2>§

Source

pub unsafe fn GetFileRanges( &self, RangeCount: *mut DWORD, Ranges: *mut *mut BG_FILE_RANGE, ) -> HRESULT

Source

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

Methods from Deref<Target = IBackgroundCopyFile>§

Source

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

Source

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

Source

pub unsafe fn GetProgress(&self, pVal: *mut BG_FILE_PROGRESS) -> 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 IBackgroundCopyFile6

Source§

type Target = IBackgroundCopyFile5

The resulting type after dereferencing.
Source§

fn deref(&self) -> &IBackgroundCopyFile5

Dereferences the value.
Source§

impl Interface for IBackgroundCopyFile6

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.