Struct webview2_com_sys::Microsoft::Web::WebView2::Win32::ICoreWebView2CookieManager
source · #[repr(transparent)]pub struct ICoreWebView2CookieManager(_);
Implementations§
source§impl ICoreWebView2CookieManager
impl ICoreWebView2CookieManager
pub unsafe fn CreateCookie<P0, P1, P2, P3>(
&self,
name: P0,
value: P1,
domain: P2,
path: P3
) -> Result<ICoreWebView2Cookie>where
P0: Into<InParam<PCWSTR>>,
P1: Into<InParam<PCWSTR>>,
P2: Into<InParam<PCWSTR>>,
P3: Into<InParam<PCWSTR>>,
pub unsafe fn CopyCookie<P0>(
&self,
cookieparam: P0
) -> Result<ICoreWebView2Cookie>where
P0: Into<InParam<ICoreWebView2Cookie>>,
pub unsafe fn GetCookies<P0, P1>(&self, uri: P0, handler: P1) -> Result<()>where
P0: Into<InParam<PCWSTR>>,
P1: Into<InParam<ICoreWebView2GetCookiesCompletedHandler>>,
pub unsafe fn AddOrUpdateCookie<P0>(&self, cookie: P0) -> Result<()>where
P0: Into<InParam<ICoreWebView2Cookie>>,
pub unsafe fn DeleteCookie<P0>(&self, cookie: P0) -> Result<()>where
P0: Into<InParam<ICoreWebView2Cookie>>,
pub unsafe fn DeleteCookies<P0, P1>(&self, name: P0, uri: P1) -> Result<()>where
P0: Into<InParam<PCWSTR>>,
P1: Into<InParam<PCWSTR>>,
pub unsafe fn DeleteCookiesWithDomainAndPath<P0, P1, P2>(
&self,
name: P0,
domain: P1,
path: P2
) -> Result<()>where
P0: Into<InParam<PCWSTR>>,
P1: Into<InParam<PCWSTR>>,
P2: Into<InParam<PCWSTR>>,
pub unsafe fn DeleteAllCookies(&self) -> Result<()>
Trait Implementations§
source§impl Clone for ICoreWebView2CookieManager
impl Clone for ICoreWebView2CookieManager
source§impl Debug for ICoreWebView2CookieManager
impl Debug for ICoreWebView2CookieManager
source§impl From<&ICoreWebView2CookieManager> for &IUnknown
impl From<&ICoreWebView2CookieManager> for &IUnknown
source§fn from(value: &ICoreWebView2CookieManager) -> Self
fn from(value: &ICoreWebView2CookieManager) -> Self
Converts to this type from the input type.
source§impl From<&ICoreWebView2CookieManager> for IUnknown
impl From<&ICoreWebView2CookieManager> for IUnknown
source§fn from(value: &ICoreWebView2CookieManager) -> Self
fn from(value: &ICoreWebView2CookieManager) -> Self
Converts to this type from the input type.
source§impl From<ICoreWebView2CookieManager> for IUnknown
impl From<ICoreWebView2CookieManager> for IUnknown
source§fn from(value: ICoreWebView2CookieManager) -> Self
fn from(value: ICoreWebView2CookieManager) -> Self
Converts to this type from the input type.
source§impl Interface for ICoreWebView2CookieManager
impl Interface for ICoreWebView2CookieManager
source§impl PartialEq<ICoreWebView2CookieManager> for ICoreWebView2CookieManager
impl PartialEq<ICoreWebView2CookieManager> for ICoreWebView2CookieManager
source§impl Vtable for ICoreWebView2CookieManager
impl Vtable for ICoreWebView2CookieManager
type Vtable = ICoreWebView2CookieManager_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.