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§
Sourceunsafe fn get_count(&self, count: *mut u32) -> HRESULT
unsafe fn get_count(&self, count: *mut u32) -> HRESULT
The number of cookies contained in the ICoreWebView2CookieList.
Sourceunsafe fn get_value_at_index(
&self,
index: u32,
cookie: *mut *mut *mut ICoreWebView2CookieVTable,
) -> HRESULT
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
impl ComInterface for dyn ICoreWebView2CookieList
Source§type VTable = ICoreWebView2CookieListVTable
type VTable = ICoreWebView2CookieListVTable
A COM compatible V-Table
Source§fn is_iid_in_inheritance_chain(riid: &GUID) -> bool
fn is_iid_in_inheritance_chain(riid: &GUID) -> bool
Check whether a given IID is in the inheritance hierarchy of this interface