Struct IDebugEventCallbacks
pub struct IDebugEventCallbacks(/* private fields */);
Implementations§
§impl IDebugEventCallbacks
impl IDebugEventCallbacks
pub unsafe fn GetInterestMask(&self) -> Result<u32>
pub unsafe fn Breakpoint<P0>(&self, bp: P0) -> Result<()>where
P0: Param<IDebugBreakpoint>,
pub unsafe fn Exception( &self, exception: *const EXCEPTION_RECORD64, firstchance: u32, ) -> Result<()>
pub unsafe fn CreateThread( &self, handle: u64, dataoffset: u64, startoffset: u64, ) -> Result<()>
pub unsafe fn ExitThread(&self, exitcode: u32) -> Result<()>
pub unsafe fn CreateProcessA<P4, P5>(
&self,
imagefilehandle: u64,
handle: u64,
baseoffset: u64,
modulesize: u32,
modulename: P4,
imagename: P5,
checksum: u32,
timedatestamp: u32,
initialthreadhandle: u64,
threaddataoffset: u64,
startoffset: u64,
) -> Result<()>where
P4: Param<PCSTR>,
P5: Param<PCSTR>,
pub unsafe fn ExitProcess(&self, exitcode: u32) -> Result<()>
pub unsafe fn LoadModule<P3, P4>(
&self,
imagefilehandle: u64,
baseoffset: u64,
modulesize: u32,
modulename: P3,
imagename: P4,
checksum: u32,
timedatestamp: u32,
) -> Result<()>where
P3: Param<PCSTR>,
P4: Param<PCSTR>,
pub unsafe fn UnloadModule<P0>(
&self,
imagebasename: P0,
baseoffset: u64,
) -> Result<()>where
P0: Param<PCSTR>,
pub unsafe fn SystemError(&self, error: u32, level: u32) -> Result<()>
pub unsafe fn SessionStatus(&self, status: u32) -> Result<()>
pub unsafe fn ChangeDebuggeeState( &self, flags: u32, argument: u64, ) -> Result<()>
pub unsafe fn ChangeEngineState(&self, flags: u32, argument: u64) -> Result<()>
pub unsafe fn ChangeSymbolState(&self, flags: u32, argument: u64) -> Result<()>
Trait Implementations§
§impl CanInto<IDebugEventCallbacks> for DebugBaseEventCallbacks
impl CanInto<IDebugEventCallbacks> for DebugBaseEventCallbacks
§impl CanInto<IUnknown> for IDebugEventCallbacks
impl CanInto<IUnknown> for IDebugEventCallbacks
§impl Clone for IDebugEventCallbacks
impl Clone for IDebugEventCallbacks
§fn clone(&self) -> IDebugEventCallbacks
fn clone(&self) -> IDebugEventCallbacks
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 IDebugEventCallbacks
impl Debug for IDebugEventCallbacks
§impl From<&DebugBaseEventCallbacks> for &IDebugEventCallbacks
impl From<&DebugBaseEventCallbacks> for &IDebugEventCallbacks
§fn from(value: &DebugBaseEventCallbacks) -> Self
fn from(value: &DebugBaseEventCallbacks) -> Self
Converts to this type from the input type.
§impl From<&IDebugEventCallbacks> for &IUnknown
impl From<&IDebugEventCallbacks> for &IUnknown
§fn from(value: &IDebugEventCallbacks) -> Self
fn from(value: &IDebugEventCallbacks) -> Self
Converts to this type from the input type.
§impl From<DebugBaseEventCallbacks> for IDebugEventCallbacks
impl From<DebugBaseEventCallbacks> for IDebugEventCallbacks
§fn from(value: DebugBaseEventCallbacks) -> Self
fn from(value: DebugBaseEventCallbacks) -> Self
Converts to this type from the input type.
§impl From<IDebugEventCallbacks> for IUnknown
impl From<IDebugEventCallbacks> for IUnknown
§fn from(value: IDebugEventCallbacks) -> Self
fn from(value: IDebugEventCallbacks) -> Self
Converts to this type from the input type.
§impl Interface for IDebugEventCallbacks
impl Interface for IDebugEventCallbacks
§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 IDebugEventCallbacks
impl PartialEq for IDebugEventCallbacks
impl Eq for IDebugEventCallbacks
impl StructuralPartialEq for IDebugEventCallbacks
Auto Trait Implementations§
impl Freeze for IDebugEventCallbacks
impl RefUnwindSafe for IDebugEventCallbacks
impl !Send for IDebugEventCallbacks
impl !Sync for IDebugEventCallbacks
impl Unpin for IDebugEventCallbacks
impl UnwindSafe for IDebugEventCallbacks
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