UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:tlhelp32.Toolhelp32ReadProcessMemory |
Toolhelp32ReadProcessMemory function (tlhelp32.h) |
Copies memory allocated to another process into an application-supplied buffer. |
|
toolhelp\toolhelp32readprocessmemory.htm |
ToolHelp |
e579b813-32ef-481d-8dc6-f959ec9b6bad |
12/05/2018 |
Toolhelp32ReadProcessMemory, Toolhelp32ReadProcessMemory function [ToolHelp], _win32_toolhelp32readprocessmemory, base.toolhelp32readprocessmemory, tlhelp32/Toolhelp32ReadProcessMemory, toolhelp.toolhelp32readprocessmemory |
tlhelp32.h |
Windows |
Windows XP [desktop apps only] |
Windows Server 2003 [desktop apps only] |
Kernel32.lib |
Kernel32.dll |
Windows |
19H1 |
|
|
|
|
|
|
Copies memory allocated to another process into an application-supplied buffer.
The identifier of the process whose memory is being copied. This parameter can be zero to copy the memory of the current process.
The base address in the specified process to read. Before transferring any data, the system verifies that all data in the base address and memory of the specified size is accessible for read access. If this is the case, the function proceeds. Otherwise, the function fails.
A pointer to a buffer that receives the contents of the address space of the specified process.
The number of bytes to read from the specified process.
The number of bytes copied to the specified buffer. If this parameter is NULL, it is ignored.
Returns TRUE if successful.
This function opens a handle to the target process and closes it once the read operation has completed. If you're planning to perform several reads, use ReadProcessMemory instead.