Struct ISCPSecureQuery2
pub struct ISCPSecureQuery2(/* private fields */);
Implementations§
§impl ISCPSecureQuery2
impl ISCPSecureQuery2
pub unsafe fn MakeDecision2<P6, P15>(
&self,
fuflags: u32,
pdata: &[u8],
dwappsec: u32,
pbspsessionkey: &[u8],
pstorageglobals: P6,
pappcertapp: &[u8],
pappcertsp: &[u8],
pszrevocationurl: *mut PWSTR,
pdwrevocationurllen: *mut u32,
pdwrevocationbitflag: *mut u32,
pqwfilesize: Option<*mut u64>,
punknown: P15,
ppexchange: *mut Option<ISCPSecureExchange>,
abmac: &mut [u8; 8],
) -> Result<()>where
P6: Param<IMDSPStorageGlobals>,
P15: Param<IUnknown>,
Methods from Deref<Target = ISCPSecureQuery>§
pub unsafe fn GetDataDemands( &self, pfuflags: *mut u32, pdwminrightsdata: *mut u32, pdwminexaminedata: *mut u32, pdwmindecidedata: *mut u32, abmac: &mut [u8; 8], ) -> Result<()>
pub unsafe fn ExamineData<P1>(
&self,
fuflags: u32,
pwszextension: P1,
pdata: &[u8],
abmac: &mut [u8; 8],
) -> Result<()>where
P1: Param<PCWSTR>,
pub unsafe fn MakeDecision<P6>(
&self,
fuflags: u32,
pdata: &[u8],
dwappsec: u32,
pbspsessionkey: &[u8],
pstorageglobals: P6,
ppexchange: *mut Option<ISCPSecureExchange>,
abmac: &mut [u8; 8],
) -> Result<()>where
P6: Param<IMDSPStorageGlobals>,
pub unsafe fn GetRights<P4>(
&self,
pdata: &[u8],
pbspsessionkey: &[u8],
pstgglobals: P4,
pprights: *mut *mut WMDMRIGHTS,
pnrightscount: *mut u32,
abmac: &mut [u8; 8],
) -> Result<()>where
P4: Param<IMDSPStorageGlobals>,
Trait Implementations§
§impl CanInto<ISCPSecureQuery> for ISCPSecureQuery2
impl CanInto<ISCPSecureQuery> for ISCPSecureQuery2
§impl CanInto<ISCPSecureQuery2> for ISCPSecureQuery3
impl CanInto<ISCPSecureQuery2> for ISCPSecureQuery3
§impl CanInto<IUnknown> for ISCPSecureQuery2
impl CanInto<IUnknown> for ISCPSecureQuery2
§impl Clone for ISCPSecureQuery2
impl Clone for ISCPSecureQuery2
§fn clone(&self) -> ISCPSecureQuery2
fn clone(&self) -> ISCPSecureQuery2
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for ISCPSecureQuery2
impl Debug for ISCPSecureQuery2
§impl Deref for ISCPSecureQuery2
impl Deref for ISCPSecureQuery2
§impl From<&ISCPSecureQuery2> for &ISCPSecureQuery
impl From<&ISCPSecureQuery2> for &ISCPSecureQuery
§fn from(value: &ISCPSecureQuery2) -> Self
fn from(value: &ISCPSecureQuery2) -> Self
Converts to this type from the input type.
§impl From<&ISCPSecureQuery2> for &IUnknown
impl From<&ISCPSecureQuery2> for &IUnknown
§fn from(value: &ISCPSecureQuery2) -> Self
fn from(value: &ISCPSecureQuery2) -> Self
Converts to this type from the input type.
§impl From<&ISCPSecureQuery3> for &ISCPSecureQuery2
impl From<&ISCPSecureQuery3> for &ISCPSecureQuery2
§fn from(value: &ISCPSecureQuery3) -> Self
fn from(value: &ISCPSecureQuery3) -> Self
Converts to this type from the input type.
§impl From<ISCPSecureQuery2> for ISCPSecureQuery
impl From<ISCPSecureQuery2> for ISCPSecureQuery
§fn from(value: ISCPSecureQuery2) -> Self
fn from(value: ISCPSecureQuery2) -> Self
Converts to this type from the input type.
§impl From<ISCPSecureQuery2> for IUnknown
impl From<ISCPSecureQuery2> for IUnknown
§fn from(value: ISCPSecureQuery2) -> Self
fn from(value: ISCPSecureQuery2) -> Self
Converts to this type from the input type.
§impl From<ISCPSecureQuery3> for ISCPSecureQuery2
impl From<ISCPSecureQuery3> for ISCPSecureQuery2
§fn from(value: ISCPSecureQuery3) -> Self
fn from(value: ISCPSecureQuery3) -> Self
Converts to this type from the input type.
§impl Interface for ISCPSecureQuery2
impl Interface for ISCPSecureQuery2
§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.§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.
§unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. Read more§fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. &MyApp_Impl
, not the inner &MyApp
object. Read more§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. MyApp_Impl
, not the inner MyApp
object. Read more§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a [
Weak
] reference to this object.§impl PartialEq for ISCPSecureQuery2
impl PartialEq for ISCPSecureQuery2
impl Eq for ISCPSecureQuery2
impl StructuralPartialEq for ISCPSecureQuery2
Auto Trait Implementations§
impl Freeze for ISCPSecureQuery2
impl RefUnwindSafe for ISCPSecureQuery2
impl !Send for ISCPSecureQuery2
impl !Sync for ISCPSecureQuery2
impl Unpin for ISCPSecureQuery2
impl UnwindSafe for ISCPSecureQuery2
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more