#[repr(C)]pub struct IBackgroundTaskInstance_Vtbl {
pub base__: IInspectable_Vtbl,
pub InstanceId: unsafe extern "system" fn(_: *mut c_void, _: *mut GUID) -> HRESULT,
pub Task: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub Progress: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT,
pub SetProgress: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT,
pub TriggerDetails: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub Canceled: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT,
pub RemoveCanceled: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT,
pub SuspendedCount: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT,
pub GetDeferral: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
}
Fields§
§base__: IInspectable_Vtbl
§InstanceId: unsafe extern "system" fn(_: *mut c_void, _: *mut GUID) -> HRESULT
§Task: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
§Progress: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT
§SetProgress: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT
§TriggerDetails: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
§Canceled: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT
§RemoveCanceled: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT
§SuspendedCount: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT
§GetDeferral: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
Implementations§
§impl IBackgroundTaskInstance_Vtbl
impl IBackgroundTaskInstance_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> IBackgroundTaskInstance_Vtblwhere
Identity: IBackgroundTaskInstance_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IBackgroundTaskInstance_Vtbl
impl RefUnwindSafe for IBackgroundTaskInstance_Vtbl
impl Send for IBackgroundTaskInstance_Vtbl
impl Sync for IBackgroundTaskInstance_Vtbl
impl Unpin for IBackgroundTaskInstance_Vtbl
impl UnwindSafe for IBackgroundTaskInstance_Vtbl
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