The following table shows the ToolHelp functions with a description of the purpose of each.
| Programming element | Description |
|---|---|
| CloseToolhelp32Snapshot | Closes a handle to a snapshot. |
| CreateToolhelp32Snapshot | Takes a snapshot of the processes, heaps, modules, and threads used by the processes. |
| Heap32First | Retrieves information about the first block of a heap allocated by a process. |
| Heap32ListFirst | Retrieves information about the first heap allocated by a specified process. |
| Heap32ListNext | Retrieves information about the next heap allocated by a process. |
| Heap32Next | Retrieves information about the next block of a heap allocated by a process. |
| Module32First | Retrieves information about the first module associated with a process. |
| Module32Next | Retrieves information about the next module associated with a process or thread. |
| Process32First | Retrieves information about the first process encountered in a system snapshot. |
| Process32Next | Retrieves information about the next process recorded in a system snapshot. |
| Thread32First | Retrieves information about the first thread of a process encountered in a system snapshot. |
| Thread32Next | Retrieves information about the next thread of a process encountered in the system memory snapshot. |
| Toolhelp32ReadProcessMemory | Copies memory allocated to another process into an application-supplied buffer. |
See Also
Send Feedback on this topic to the authors