Trait IInternetSession_Impl
pub trait IInternetSession_Impl: IUnknownImpl {
// Required methods
fn RegisterNameSpace(
&self,
pcf: Ref<'_, IClassFactory>,
rclsid: *const GUID,
pwzprotocol: &PCWSTR,
cpatterns: u32,
ppwzpatterns: *const PCWSTR,
dwreserved: u32,
) -> Result<()>;
fn UnregisterNameSpace(
&self,
pcf: Ref<'_, IClassFactory>,
pszprotocol: &PCWSTR,
) -> Result<()>;
fn RegisterMimeFilter(
&self,
pcf: Ref<'_, IClassFactory>,
rclsid: *const GUID,
pwztype: &PCWSTR,
) -> Result<()>;
fn UnregisterMimeFilter(
&self,
pcf: Ref<'_, IClassFactory>,
pwztype: &PCWSTR,
) -> Result<()>;
fn CreateBinding(
&self,
pbc: Ref<'_, IBindCtx>,
szurl: &PCWSTR,
punkouter: Ref<'_, IUnknown>,
ppunk: OutRef<'_, IUnknown>,
ppoinetprot: OutRef<'_, IInternetProtocol>,
dwoption: u32,
) -> Result<()>;
fn SetSessionOption(
&self,
dwoption: u32,
pbuffer: *const c_void,
dwbufferlength: u32,
dwreserved: u32,
) -> Result<()>;
fn GetSessionOption(
&self,
dwoption: u32,
pbuffer: *mut c_void,
pdwbufferlength: *mut u32,
dwreserved: u32,
) -> Result<()>;
}
Required Methods§
fn RegisterNameSpace( &self, pcf: Ref<'_, IClassFactory>, rclsid: *const GUID, pwzprotocol: &PCWSTR, cpatterns: u32, ppwzpatterns: *const PCWSTR, dwreserved: u32, ) -> Result<()>
fn UnregisterNameSpace( &self, pcf: Ref<'_, IClassFactory>, pszprotocol: &PCWSTR, ) -> Result<()>
fn RegisterMimeFilter( &self, pcf: Ref<'_, IClassFactory>, rclsid: *const GUID, pwztype: &PCWSTR, ) -> Result<()>
fn UnregisterMimeFilter( &self, pcf: Ref<'_, IClassFactory>, pwztype: &PCWSTR, ) -> Result<()>
fn CreateBinding( &self, pbc: Ref<'_, IBindCtx>, szurl: &PCWSTR, punkouter: Ref<'_, IUnknown>, ppunk: OutRef<'_, IUnknown>, ppoinetprot: OutRef<'_, IInternetProtocol>, dwoption: u32, ) -> Result<()>
fn SetSessionOption( &self, dwoption: u32, pbuffer: *const c_void, dwbufferlength: u32, dwreserved: u32, ) -> Result<()>
fn GetSessionOption( &self, dwoption: u32, pbuffer: *mut c_void, pdwbufferlength: *mut u32, dwreserved: u32, ) -> Result<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.