Struct IBackgroundCopyGroup
pub struct IBackgroundCopyGroup(/* private fields */);
Implementations§
§impl IBackgroundCopyGroup
impl IBackgroundCopyGroup
pub unsafe fn GetProp(&self, propid: GROUPPROP) -> Result<VARIANT>
pub unsafe fn SetProp( &self, propid: GROUPPROP, pvarval: *const VARIANT, ) -> Result<()>
pub unsafe fn GetProgress(&self, dwflags: u32) -> Result<u32>
pub unsafe fn GetStatus( &self, pdwstatus: *mut u32, pdwjobindex: *mut u32, ) -> Result<()>
pub unsafe fn GetJob(&self, jobid: GUID) -> Result<IBackgroundCopyJob1>
pub unsafe fn SuspendGroup(&self) -> Result<()>
pub unsafe fn ResumeGroup(&self) -> Result<()>
pub unsafe fn CancelGroup(&self) -> Result<()>
pub unsafe fn Size(&self) -> Result<u32>
pub unsafe fn GroupID(&self) -> Result<GUID>
pub unsafe fn CreateJob(&self, guidjobid: GUID) -> Result<IBackgroundCopyJob1>
pub unsafe fn EnumJobs(&self, dwflags: u32) -> Result<IEnumBackgroundCopyJobs1>
pub unsafe fn SwitchToForeground(&self) -> Result<()>
pub unsafe fn QueryNewJobInterface(&self, iid: *const GUID) -> Result<IUnknown>
pub unsafe fn SetNotificationPointer<P1>(
&self,
iid: *const GUID,
punk: P1,
) -> Result<()>where
P1: Param<IUnknown>,
Trait Implementations§
§impl CanInto<IUnknown> for IBackgroundCopyGroup
impl CanInto<IUnknown> for IBackgroundCopyGroup
§impl Clone for IBackgroundCopyGroup
impl Clone for IBackgroundCopyGroup
§fn clone(&self) -> IBackgroundCopyGroup
fn clone(&self) -> IBackgroundCopyGroup
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for IBackgroundCopyGroup
impl Debug for IBackgroundCopyGroup
§impl From<&IBackgroundCopyGroup> for &IUnknown
impl From<&IBackgroundCopyGroup> for &IUnknown
§fn from(value: &IBackgroundCopyGroup) -> Self
fn from(value: &IBackgroundCopyGroup) -> Self
Converts to this type from the input type.
§impl From<IBackgroundCopyGroup> for IUnknown
impl From<IBackgroundCopyGroup> for IUnknown
§fn from(value: IBackgroundCopyGroup) -> Self
fn from(value: IBackgroundCopyGroup) -> Self
Converts to this type from the input type.
§impl Interface for IBackgroundCopyGroup
impl Interface for IBackgroundCopyGroup
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. Read more§fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. &MyApp_Impl
, not the inner &MyApp
object. Read more§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. MyApp_Impl
, not the inner MyApp
object. Read more§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a [
Weak
] reference to this object.§impl PartialEq for IBackgroundCopyGroup
impl PartialEq for IBackgroundCopyGroup
impl Eq for IBackgroundCopyGroup
impl StructuralPartialEq for IBackgroundCopyGroup
Auto Trait Implementations§
impl Freeze for IBackgroundCopyGroup
impl RefUnwindSafe for IBackgroundCopyGroup
impl !Send for IBackgroundCopyGroup
impl !Sync for IBackgroundCopyGroup
impl Unpin for IBackgroundCopyGroup
impl UnwindSafe for IBackgroundCopyGroup
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more