ICoreWebView2CookieList

Trait ICoreWebView2CookieList 

Source
pub trait ICoreWebView2CookieList: IUnknown {
    // Required methods
    unsafe fn get_count(&self, count: *mut u32) -> HRESULT;
    unsafe fn get_value_at_index(
        &self,
        index: u32,
        cookie: *mut *mut *mut ICoreWebView2CookieVTable,
    ) -> HRESULT;
}
Expand description

A list of cookie objects. See ICoreWebView2Cookie. \snippet ScenarioCookieManagement.cpp GetCookies

Required Methods§

Source

unsafe fn get_count(&self, count: *mut u32) -> HRESULT

The number of cookies contained in the ICoreWebView2CookieList.

Source

unsafe fn get_value_at_index( &self, index: u32, cookie: *mut *mut *mut ICoreWebView2CookieVTable, ) -> HRESULT

Gets the cookie object at the given index.

Trait Implementations§

Source§

impl ComInterface for dyn ICoreWebView2CookieList

Source§

const IID: IID = IID_ICORE_WEB_VIEW2_COOKIE_LIST

The associated id for this interface
Source§

type VTable = ICoreWebView2CookieListVTable

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

Source§

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

Get the vtable for a particular COM interface

Implementations on Foreign Types§

Source§

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

Source§

unsafe fn get_count(&self, count: *mut u32) -> HRESULT

Source§

unsafe fn get_value_at_index( &self, index: u32, cookie: *mut *mut *mut ICoreWebView2CookieVTable, ) -> HRESULT

Source§

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

Source§

unsafe fn get_count(&self, count: *mut u32) -> HRESULT

Source§

unsafe fn get_value_at_index( &self, index: u32, cookie: *mut *mut *mut ICoreWebView2CookieVTable, ) -> HRESULT

Implementors§