Struct ISCPSecureQuery
pub struct ISCPSecureQuery(/* private fields */);
Implementations§
§impl ISCPSecureQuery
impl 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<ISCPSecureQuery> for ISCPSecureQuery3
impl CanInto<ISCPSecureQuery> for ISCPSecureQuery3
§impl CanInto<IUnknown> for ISCPSecureQuery
impl CanInto<IUnknown> for ISCPSecureQuery
§impl Clone for ISCPSecureQuery
impl Clone for ISCPSecureQuery
§fn clone(&self) -> ISCPSecureQuery
fn clone(&self) -> ISCPSecureQuery
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 ISCPSecureQuery
impl Debug for ISCPSecureQuery
§impl From<&ISCPSecureQuery> for &IUnknown
impl From<&ISCPSecureQuery> for &IUnknown
§fn from(value: &ISCPSecureQuery) -> Self
fn from(value: &ISCPSecureQuery) -> 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<&ISCPSecureQuery3> for &ISCPSecureQuery
impl From<&ISCPSecureQuery3> for &ISCPSecureQuery
§fn from(value: &ISCPSecureQuery3) -> Self
fn from(value: &ISCPSecureQuery3) -> Self
Converts to this type from the input type.
§impl From<ISCPSecureQuery> for IUnknown
impl From<ISCPSecureQuery> for IUnknown
§fn from(value: ISCPSecureQuery) -> Self
fn from(value: ISCPSecureQuery) -> 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<ISCPSecureQuery3> for ISCPSecureQuery
impl From<ISCPSecureQuery3> for ISCPSecureQuery
§fn from(value: ISCPSecureQuery3) -> Self
fn from(value: ISCPSecureQuery3) -> Self
Converts to this type from the input type.
§impl Interface for ISCPSecureQuery
impl Interface for ISCPSecureQuery
§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 ISCPSecureQuery
impl PartialEq for ISCPSecureQuery
impl Eq for ISCPSecureQuery
impl StructuralPartialEq for ISCPSecureQuery
Auto Trait Implementations§
impl Freeze for ISCPSecureQuery
impl RefUnwindSafe for ISCPSecureQuery
impl !Send for ISCPSecureQuery
impl !Sync for ISCPSecureQuery
impl Unpin for ISCPSecureQuery
impl UnwindSafe for ISCPSecureQuery
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