网站首页  词典首页

请输入您要查询的函数:

 

术语 toolhelp32readprocessmemory
释义 Toolhelp32ReadProcessMemory
语法:
C++
BOOL WINAPI Toolhelp32ReadProcessMemory(
__in DWORD th32ProcessID,
__in LPCVOID lpBaseAddress,
__out LPVOID lpBuffer,
__in SIZE_T cbRead,
__out SIZE_T lpNumberOfBytesRead
);
Toolhelp32ReadProcessMemory功能
副本内存分配到另一个进程进入一个应用程序提供的缓冲区。
参数
th32ProcessID [in]
因为其内存是被复制的进程标识符。此参数可以是零复制当前进程的内存。
lpBaseAddress [in]
在指定的进程的基本地址阅读。传输任何数据之前,系统验证,在基址和指定大小的内存中所有的数据进行读访问访问。如果是这样的情况下,函数的收益。否则,函数失败。
lpBuffer [out]
一个缓冲区收到指定进程地址空间的内容的指针。
cbRead [in]
的字节数来读取指定的进程。
lpNumberOfBytesRead [out]
在复制到指定的缓冲区的字节数。如果该参数是NULL,它将被忽略。
返回值
如果成功返回TRUE。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderTlhelp32.h
LibraryKernel32.lib
DLLKernel32.dll
参见
Process32First
Process32Next
工具帮助函数
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年8月27日
==英文原文==Toolhelp32ReadProcessMemory Function
Copies memory allocated to another process into an application-supplied buffer.
Syntax
C++
BOOL WINAPI Toolhelp32ReadProcessMemory(
__in DWORD th32ProcessID,
__in LPCVOID lpBaseAddress,
__out LPVOID lpBuffer,
__in SIZE_T cbRead,
__out SIZE_T lpNumberOfBytesRead
);
Parameters
th32ProcessID [in]
The identifier of the process whose memory is being copied. This parameter can be zero to copy the memory of the current process.
lpBaseAddress [in]
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.
lpBuffer [out]
A pointer to a buffer that receives the contents of the address space of the specified process.
cbRead [in]
The number of bytes to read from the specified process.
lpNumberOfBytesRead [out]
The number of bytes copied to the specified buffer. If this parameter is NULL, it is ignored.
Return Value
Returns TRUE if successful.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderTlhelp32.h
LibraryKernel32.lib
DLLKernel32.dll
See Also
Process32First
Process32Next
Tool Help Functions
Send comments about this topic to Microsoft
Build date: 8/27/2009
==原始网址==http://msdn.microsoft.com/en-us/library/ms686826(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 13:15:28