pub trait IInternetSecurityManager_Impl: Sized {
// Required methods
fn SetSecuritySite(
&self,
psite: Option<&IInternetSecurityMgrSite>,
) -> Result<()>;
fn GetSecuritySite(&self) -> Result<IInternetSecurityMgrSite>;
fn MapUrlToZone(
&self,
pwszurl: &PCWSTR,
pdwzone: *mut u32,
dwflags: u32,
) -> Result<()>;
fn GetSecurityId(
&self,
pwszurl: &PCWSTR,
pbsecurityid: *mut u8,
pcbsecurityid: *mut u32,
dwreserved: usize,
) -> Result<()>;
fn ProcessUrlAction(
&self,
pwszurl: &PCWSTR,
dwaction: u32,
ppolicy: *mut u8,
cbpolicy: u32,
pcontext: *const u8,
cbcontext: u32,
dwflags: u32,
dwreserved: u32,
) -> Result<()>;
fn QueryCustomPolicy(
&self,
pwszurl: &PCWSTR,
guidkey: *const GUID,
pppolicy: *mut *mut u8,
pcbpolicy: *mut u32,
pcontext: *const u8,
cbcontext: u32,
dwreserved: u32,
) -> Result<()>;
fn SetZoneMapping(
&self,
dwzone: u32,
lpszpattern: &PCWSTR,
dwflags: u32,
) -> Result<()>;
fn GetZoneMappings(
&self,
dwzone: u32,
ppenumstring: *mut Option<IEnumString>,
dwflags: u32,
) -> Result<()>;
}
Required Methods§
fn SetSecuritySite( &self, psite: Option<&IInternetSecurityMgrSite>, ) -> Result<()>
fn GetSecuritySite(&self) -> Result<IInternetSecurityMgrSite>
fn MapUrlToZone( &self, pwszurl: &PCWSTR, pdwzone: *mut u32, dwflags: u32, ) -> Result<()>
fn GetSecurityId( &self, pwszurl: &PCWSTR, pbsecurityid: *mut u8, pcbsecurityid: *mut u32, dwreserved: usize, ) -> Result<()>
fn ProcessUrlAction( &self, pwszurl: &PCWSTR, dwaction: u32, ppolicy: *mut u8, cbpolicy: u32, pcontext: *const u8, cbcontext: u32, dwflags: u32, dwreserved: u32, ) -> Result<()>
fn QueryCustomPolicy( &self, pwszurl: &PCWSTR, guidkey: *const GUID, pppolicy: *mut *mut u8, pcbpolicy: *mut u32, pcontext: *const u8, cbcontext: u32, dwreserved: u32, ) -> Result<()>
fn SetZoneMapping( &self, dwzone: u32, lpszpattern: &PCWSTR, dwflags: u32, ) -> Result<()>
fn GetZoneMappings( &self, dwzone: u32, ppenumstring: *mut Option<IEnumString>, dwflags: u32, ) -> Result<()>
Object Safety§
This trait is not object safe.