ICoreWebView2FrameInfo

Trait ICoreWebView2FrameInfo 

Source
pub trait ICoreWebView2FrameInfo: IUnknown {
    // Required methods
    unsafe fn get_name(&self, name: *mut LPWSTR) -> HRESULT;
    unsafe fn get_source(&self, source: *mut LPWSTR) -> HRESULT;
}
Expand description

Provides a set of properties for a frame in the ICoreWebView2.

Required Methods§

Source

unsafe fn get_name(&self, name: *mut LPWSTR) -> HRESULT

The name attribute of the frame, as in <iframe name="frame-name" ...>. The returned string is empty when the frame has no name attribute.

Source

unsafe fn get_source(&self, source: *mut LPWSTR) -> HRESULT

The URI of the document in the frame.

Trait Implementations§

Source§

impl ComInterface for dyn ICoreWebView2FrameInfo

Source§

const IID: IID = IID_ICORE_WEB_VIEW2_FRAME_INFO

The associated id for this interface
Source§

type VTable = ICoreWebView2FrameInfoVTable

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: ICoreWebView2FrameInfo> ProductionComInterface<C> for dyn ICoreWebView2FrameInfo

Source§

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

Get the vtable for a particular COM interface

Implementations on Foreign Types§

Source§

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

Source§

unsafe fn get_name(&self, name: *mut LPWSTR) -> HRESULT

Source§

unsafe fn get_source(&self, source: *mut LPWSTR) -> HRESULT

Source§

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

Source§

unsafe fn get_name(&self, name: *mut LPWSTR) -> HRESULT

Source§

unsafe fn get_source(&self, source: *mut LPWSTR) -> HRESULT

Implementors§