Struct webview2_com_sys::Microsoft::Web::WebView2::Win32::ICoreWebView2DownloadOperation_Vtbl
source · #[repr(C)]pub struct ICoreWebView2DownloadOperation_Vtbl {Show 20 fields
pub base__: IUnknown_Vtbl,
pub add_BytesReceivedChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT,
pub remove_BytesReceivedChanged: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT,
pub add_EstimatedEndTimeChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT,
pub remove_EstimatedEndTimeChanged: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT,
pub add_StateChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT,
pub remove_StateChanged: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT,
pub Uri: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT,
pub ContentDisposition: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT,
pub MimeType: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT,
pub TotalBytesToReceive: unsafe extern "system" fn(_: *mut c_void, _: *mut i64) -> HRESULT,
pub BytesReceived: unsafe extern "system" fn(_: *mut c_void, _: *mut i64) -> HRESULT,
pub EstimatedEndTime: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT,
pub ResultFilePath: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT,
pub State: unsafe extern "system" fn(_: *mut c_void, _: *mut COREWEBVIEW2_DOWNLOAD_STATE) -> HRESULT,
pub InterruptReason: unsafe extern "system" fn(_: *mut c_void, _: *mut COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON) -> HRESULT,
pub Cancel: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub Pause: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub Resume: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub CanResume: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT,
}
Fields§
§base__: IUnknown_Vtbl
§add_BytesReceivedChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT
§remove_BytesReceivedChanged: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT
§add_EstimatedEndTimeChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT
§remove_EstimatedEndTimeChanged: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT
§add_StateChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT
§remove_StateChanged: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT
§Uri: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT
§ContentDisposition: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT
§MimeType: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT
§TotalBytesToReceive: unsafe extern "system" fn(_: *mut c_void, _: *mut i64) -> HRESULT
§BytesReceived: unsafe extern "system" fn(_: *mut c_void, _: *mut i64) -> HRESULT
§EstimatedEndTime: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT
§ResultFilePath: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT
§State: unsafe extern "system" fn(_: *mut c_void, _: *mut COREWEBVIEW2_DOWNLOAD_STATE) -> HRESULT
§InterruptReason: unsafe extern "system" fn(_: *mut c_void, _: *mut COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON) -> HRESULT
§Cancel: unsafe extern "system" fn(_: *mut c_void) -> HRESULT
§Pause: unsafe extern "system" fn(_: *mut c_void) -> HRESULT
§Resume: unsafe extern "system" fn(_: *mut c_void) -> HRESULT
§CanResume: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT
Implementations§
source§impl ICoreWebView2DownloadOperation_Vtbl
impl ICoreWebView2DownloadOperation_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> ICoreWebView2DownloadOperation_Vtblwhere
Identity: ICoreWebView2DownloadOperation_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for ICoreWebView2DownloadOperation_Vtbl
impl RefUnwindSafe for ICoreWebView2DownloadOperation_Vtbl
impl Send for ICoreWebView2DownloadOperation_Vtbl
impl Sync for ICoreWebView2DownloadOperation_Vtbl
impl Unpin for ICoreWebView2DownloadOperation_Vtbl
impl UnwindSafe for ICoreWebView2DownloadOperation_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