Add scripting to your application with Vbsedit !

IJsDebugDataTarget::ReadMemory Method

 

Reads the memory of the target process.

HRESULT ReadMemory(
   UINT64 address,
   JsDebugReadMemoryFlags flags,
   BYTE *pBuffer,
   DWORD size,
   DWORD *pBytesRead
);

address

[in] The base address from which to read the target process's memory.

flags

[in] Flags controlling the behavior of ReadMemory.

pBuffer

[out] A buffer that receives the contents from the address space of the target process. On failure, the content of this buffer is unspecified.

size

[in] The number of bytes to be read from the process.

pBytesRead

[out] Indicates the number of bytes read from the target process. If JsDebugAllowPartialRead is clear, on success this value will always be exactly equal to the input size. If JsDebugAllowPartialRead is specified, on success, this value will be greater than zero.

Returns S_OK on success, and failure codes are used for any error. Returns E_JsDEBUG_INVALID_MEMORY_ADDRESS if the address is not valid. Fore more information, see JsDebugAllowPartialRead.

Requirements

Header: jscript9diag.h


Add VBScript and Javascript scripting
to your application with VbsEdit !



Download Vbsedit

This package includes VbsEdit 32-bit and 64-bit.




Home  

Copyright © 2001-2022 adersοft