#[repr(transparent)]pub struct ICoreWebView2DownloadOperation(_);
Implementations§
source§impl ICoreWebView2DownloadOperation
impl ICoreWebView2DownloadOperation
pub unsafe fn add_BytesReceivedChanged<P0>( &self, eventhandler: P0, token: *mut EventRegistrationToken ) -> Result<()>where P0: Into<InParam<ICoreWebView2BytesReceivedChangedEventHandler>>,
pub unsafe fn remove_BytesReceivedChanged( &self, token: EventRegistrationToken ) -> Result<()>
pub unsafe fn add_EstimatedEndTimeChanged<P0>( &self, eventhandler: P0, token: *mut EventRegistrationToken ) -> Result<()>where P0: Into<InParam<ICoreWebView2EstimatedEndTimeChangedEventHandler>>,
pub unsafe fn remove_EstimatedEndTimeChanged( &self, token: EventRegistrationToken ) -> Result<()>
pub unsafe fn add_StateChanged<P0>( &self, eventhandler: P0, token: *mut EventRegistrationToken ) -> Result<()>where P0: Into<InParam<ICoreWebView2StateChangedEventHandler>>,
pub unsafe fn remove_StateChanged( &self, token: EventRegistrationToken ) -> Result<()>
pub unsafe fn Uri(&self, uri: *mut PWSTR) -> Result<()>
pub unsafe fn ContentDisposition( &self, contentdisposition: *mut PWSTR ) -> Result<()>
pub unsafe fn MimeType(&self, mimetype: *mut PWSTR) -> Result<()>
pub unsafe fn TotalBytesToReceive( &self, totalbytestoreceive: *mut i64 ) -> Result<()>
pub unsafe fn BytesReceived(&self, bytesreceived: *mut i64) -> Result<()>
pub unsafe fn EstimatedEndTime(&self, estimatedendtime: *mut PWSTR) -> Result<()>
pub unsafe fn ResultFilePath(&self, resultfilepath: *mut PWSTR) -> Result<()>
pub unsafe fn State( &self, downloadstate: *mut COREWEBVIEW2_DOWNLOAD_STATE ) -> Result<()>
pub unsafe fn InterruptReason( &self, interruptreason: *mut COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON ) -> Result<()>
pub unsafe fn Cancel(&self) -> Result<()>
pub unsafe fn Pause(&self) -> Result<()>
pub unsafe fn Resume(&self) -> Result<()>
pub unsafe fn CanResume(&self, canresume: *mut BOOL) -> Result<()>
Trait Implementations§
source§impl From<&ICoreWebView2DownloadOperation> for &IUnknown
impl From<&ICoreWebView2DownloadOperation> for &IUnknown
source§fn from(value: &ICoreWebView2DownloadOperation) -> Self
fn from(value: &ICoreWebView2DownloadOperation) -> Self
Converts to this type from the input type.
source§impl From<&ICoreWebView2DownloadOperation> for IUnknown
impl From<&ICoreWebView2DownloadOperation> for IUnknown
source§fn from(value: &ICoreWebView2DownloadOperation) -> Self
fn from(value: &ICoreWebView2DownloadOperation) -> Self
Converts to this type from the input type.
source§impl From<ICoreWebView2DownloadOperation> for IUnknown
impl From<ICoreWebView2DownloadOperation> for IUnknown
source§fn from(value: ICoreWebView2DownloadOperation) -> Self
fn from(value: ICoreWebView2DownloadOperation) -> Self
Converts to this type from the input type.
source§impl Interface for ICoreWebView2DownloadOperation
impl Interface for ICoreWebView2DownloadOperation
source§impl PartialEq<ICoreWebView2DownloadOperation> for ICoreWebView2DownloadOperation
impl PartialEq<ICoreWebView2DownloadOperation> for ICoreWebView2DownloadOperation
source§impl Vtable for ICoreWebView2DownloadOperation
impl Vtable for ICoreWebView2DownloadOperation
type Vtable = ICoreWebView2DownloadOperation_Vtbl
source§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.source§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.