Struct windows::Win32::System::ComponentServices::IComSecurityEvents
pub struct IComSecurityEvents(/* private fields */);
Implementations§
§impl IComSecurityEvents
impl IComSecurityEvents
pub unsafe fn OnAuthenticate<P0>(
&self,
pinfo: *const COMSVCSEVENTINFO,
guidactivity: *const GUID,
objectid: u64,
guidiid: *const GUID,
imeth: u32,
psidoriginaluser: &[u8],
psidcurrentuser: &[u8],
bcurrentuserinpersonatinginproc: P0
) -> Result<()>where
P0: IntoParam<BOOL>,
pub unsafe fn OnAuthenticateFail<P0>(
&self,
pinfo: *const COMSVCSEVENTINFO,
guidactivity: *const GUID,
objectid: u64,
guidiid: *const GUID,
imeth: u32,
psidoriginaluser: &[u8],
psidcurrentuser: &[u8],
bcurrentuserinpersonatinginproc: P0
) -> Result<()>where
P0: IntoParam<BOOL>,
Trait Implementations§
§impl Clone for IComSecurityEvents
impl Clone for IComSecurityEvents
§fn clone(&self) -> IComSecurityEvents
fn clone(&self) -> IComSecurityEvents
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 IComSecurityEvents
impl Debug for IComSecurityEvents
§impl From<&IComSecurityEvents> for &IUnknown
impl From<&IComSecurityEvents> for &IUnknown
§fn from(value: &IComSecurityEvents) -> Self
fn from(value: &IComSecurityEvents) -> Self
Converts to this type from the input type.
§impl From<IComSecurityEvents> for IUnknown
impl From<IComSecurityEvents> for IUnknown
§fn from(value: IComSecurityEvents) -> Self
fn from(value: IComSecurityEvents) -> Self
Converts to this type from the input type.
§impl Interface for IComSecurityEvents
impl Interface for IComSecurityEvents
§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.
§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§impl PartialEq for IComSecurityEvents
impl PartialEq for IComSecurityEvents
§fn eq(&self, other: &IComSecurityEvents) -> bool
fn eq(&self, other: &IComSecurityEvents) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IComSecurityEvents
impl StructuralPartialEq for IComSecurityEvents
Auto Trait Implementations§
impl RefUnwindSafe for IComSecurityEvents
impl !Send for IComSecurityEvents
impl !Sync for IComSecurityEvents
impl Unpin for IComSecurityEvents
impl UnwindSafe for IComSecurityEvents
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