windows::Win32::System::Diagnostics::Debug::ActiveScript

Trait IJsDebugDataTarget_Impl

pub trait IJsDebugDataTarget_Impl: IUnknownImpl {
    // Required methods
    fn ReadMemory(
        &self,
        address: u64,
        flags: JsDebugReadMemoryFlags,
        pbuffer: *mut u8,
        size: u32,
        pbytesread: *mut u32,
    ) -> Result<()>;
    fn WriteMemory(
        &self,
        address: u64,
        pmemory: *const u8,
        size: u32,
    ) -> Result<()>;
    fn AllocateVirtualMemory(
        &self,
        address: u64,
        size: u32,
        allocationtype: u32,
        pageprotection: u32,
    ) -> Result<u64>;
    fn FreeVirtualMemory(
        &self,
        address: u64,
        size: u32,
        freetype: u32,
    ) -> Result<()>;
    fn GetTlsValue(&self, threadid: u32, tlsindex: u32) -> Result<u64>;
    fn ReadBSTR(&self, address: u64) -> Result<BSTR>;
    fn ReadNullTerminatedString(
        &self,
        address: u64,
        charactersize: u16,
        maxcharacters: u32,
    ) -> Result<BSTR>;
    fn CreateStackFrameEnumerator(
        &self,
        threadid: u32,
    ) -> Result<IEnumJsStackFrames>;
    fn GetThreadContext(
        &self,
        threadid: u32,
        contextflags: u32,
        contextsize: u32,
        pcontext: *mut c_void,
    ) -> Result<()>;
}

Required Methods§

fn ReadMemory( &self, address: u64, flags: JsDebugReadMemoryFlags, pbuffer: *mut u8, size: u32, pbytesread: *mut u32, ) -> Result<()>

fn WriteMemory(&self, address: u64, pmemory: *const u8, size: u32) -> Result<()>

fn AllocateVirtualMemory( &self, address: u64, size: u32, allocationtype: u32, pageprotection: u32, ) -> Result<u64>

fn FreeVirtualMemory( &self, address: u64, size: u32, freetype: u32, ) -> Result<()>

fn GetTlsValue(&self, threadid: u32, tlsindex: u32) -> Result<u64>

fn ReadBSTR(&self, address: u64) -> Result<BSTR>

fn ReadNullTerminatedString( &self, address: u64, charactersize: u16, maxcharacters: u32, ) -> Result<BSTR>

fn CreateStackFrameEnumerator( &self, threadid: u32, ) -> Result<IEnumJsStackFrames>

fn GetThreadContext( &self, threadid: u32, contextflags: u32, contextsize: u32, pcontext: *mut c_void, ) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§