ICoreWebView2CapturePreviewCompletedHandler

Trait ICoreWebView2CapturePreviewCompletedHandler 

Source
pub trait ICoreWebView2CapturePreviewCompletedHandler: IUnknown {
    // Required method
    unsafe fn invoke(&self, error_code: HRESULT) -> HRESULT;
}
Expand description

Receives the result of the CapturePreview method. The result is written to the stream provided in the CapturePreview method.

Required Methods§

Source

unsafe fn invoke(&self, error_code: HRESULT) -> HRESULT

Provides the completion status of the corresponding asynchronous method.

Trait Implementations§

Source§

impl ComInterface for dyn ICoreWebView2CapturePreviewCompletedHandler

Source§

const IID: IID = IID_ICORE_WEB_VIEW2_CAPTURE_PREVIEW_COMPLETED_HANDLER

The associated id for this interface
Source§

type VTable = ICoreWebView2CapturePreviewCompletedHandlerVTable

A COM compatible V-Table
Source§

type Super = dyn IUnknown

The interface that this interface inherits from
Source§

fn is_iid_in_inheritance_chain(riid: &GUID) -> bool

Check whether a given IID is in the inheritance hierarchy of this interface
Source§

impl<C: ICoreWebView2CapturePreviewCompletedHandler> ProductionComInterface<C> for dyn ICoreWebView2CapturePreviewCompletedHandler

Source§

fn vtable<O: Offset>() -> Self::VTable

Get the vtable for a particular COM interface

Implementations on Foreign Types§

Source§

impl<T: ICoreWebView2CapturePreviewCompletedHandler + ComInterface + ?Sized> ICoreWebView2CapturePreviewCompletedHandler for ComPtr<T>

Source§

unsafe fn invoke(&self, error_code: HRESULT) -> HRESULT

Source§

impl<T: ICoreWebView2CapturePreviewCompletedHandler + ComInterface + ?Sized> ICoreWebView2CapturePreviewCompletedHandler for ComRc<T>

Source§

unsafe fn invoke(&self, error_code: HRESULT) -> HRESULT

Implementors§