NtReadVirtualMemoryEx

Function NtReadVirtualMemoryEx 

Source
pub unsafe extern "C" fn NtReadVirtualMemoryEx(
    ProcessHandle: HANDLE,
    BaseAddress: PVOID,
    Buffer: PVOID,
    NumberOfBytesToRead: SIZE_T,
    NumberOfBytesRead: PSIZE_T,
    Flags: ULONG,
) -> NTSTATUS
Expand description

Reads virtual memory from a process with extended options.

§Arguments

  • ProcessHandle - A handle to the process whose memory is to be read.
  • BaseAddress - A pointer to the base address in the specified process from which to read.
  • Buffer - A pointer to a buffer that receives the contents from the address space of the specified process.
  • NumberOfBytesToRead - The number of bytes to be read from the specified process.
  • NumberOfBytesRead - A pointer to a variable that receives the number of bytes transferred into the specified buffer.
  • Flags - Additional flags for the read operation.

§Returns

NTSTATUS Successful or errant status.