术语 | heap32next |
释义 | Heap32Next 语法: C++ BOOL WINAPI Heap32Next( __out LPHEAPENTRY32 lphe ); Heap32Next功能 获取信息的一个已经被一个进程分配的堆下一个块。 参数 lphe [out] 一个 HEAPENTRY32结构的指针。 返回值 返回TRUE,如果对未来的堆块信息已被复制到缓冲区或否则返回FALSE。 GetLastError函数返回ERROR_NO_MORE_FILES时,在堆对象不再存在,ERROR_INVALID_DATA如果堆似乎已损坏或是,在这种方式Heap32Next不能继续走修改。 备注 要检索的堆的第一个块,使用Heap32First函数的信息。 该Heap32Next函数不会保持到目标进程的参考。如果目标过程中死亡,系统会创建一个新的进程使用相同的进程标识符。因此,打电话者应保持的,只要目标进程中的提法,它使用Heap32Next。 实例 有关示例,请参见遍历堆名单。 要求: 最低支持:client-Windows 2000专业版 最低支持server-Windows 2000服务器 HeaderTlhelp32.h LibraryKernel32.lib DLLKernel32.dll 参见 堆列表和堆散步 Heap32First HEAPENTRY32 工具帮助函数 如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com) 生成日期:2009年8月27日 ==英文原文==Heap32Next Function Retrieves information about the next block of a heap that has been allocated by a process. Syntax C++ BOOL WINAPI Heap32Next( __out LPHEAPENTRY32 lphe ); Parameters lphe [out] A pointer to a HEAPENTRY32 structure. Return Value Returns TRUE if information about the next block in the heap has been copied to the buffer or FALSE otherwise. The GetLastError function returns ERROR_NO_MORE_FILES when no more objects in the heap exist and ERROR_INVALID_DATA if the heap appears to be corrupt or is modified during the walk in such a way that Heap32Next cannot continue. Remarks To retrieve information for the first block of a heap, use the Heap32First function. The Heap32Next function does not maintain a reference to the target process. If the target process dies, the system may create a new process using the same process identifier. Therefore, the caller should maintain a reference to the target process as long as it is using Heap32Next. Examples For an example, see Traversing the Heap List . Requirements Minimum supported clientWindows 2000 Professional Minimum supported serverWindows 2000 Server HeaderTlhelp32.h LibraryKernel32.lib DLLKernel32.dll See Also Heap Lists and Heap Walking Heap32First HEAPENTRY32 Tool Help Functions Send comments about this topic to Microsoft Build date: 8/27/2009 ==原始网址==http://msdn.microsoft.com/en-us/library/ms683440(VS.85).aspx\n |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。