#ifndef _NTMMAPI_H
//
// Virtual memory
//
#if (PHNT_MODE != PHNT_MODE_KERNEL)
// rev
/**
* The NtWow64ReadVirtualMemory64 routine reads virtual memory of a 64-bit process from a 32-bit process.
*
* \param ProcessHandle A handle to the process whose memory is to be read.
* \param BaseAddress A pointer to the base address in the specified process from which to read.
* \param Buffer A pointer to a buffer that receives the contents from the address space of the specified process.
* \param NumberOfBytesToRead The number of bytes to be read from the specified process.
* \param NumberOfBytesRead A pointer to a variable that receives the number of bytes transferred into the specified buffer.
* \return NTSTATUS Successful or errant status.
*/
NTSYSAPI
NTSTATUS
NTAPI
NtWow64ReadVirtualMemory64(
_In_ HANDLE ProcessHandle,
_In_opt_ ULONGLONG BaseAddress,
_Out_writes_bytes_to_(NumberOfBytesToRead, *NumberOfBytesRead) PVOID Buffer,
_In_ ULONGLONG NumberOfBytesToRead,
_Out_opt_ PULONGLONG NumberOfBytesRead
);
View code on GitHubNo description available.