Tool Help Library

Overview of the Tool Help Library technology.

To develop Tool Help Library, you need these headers:

For programming guidance for this technology, see:

Functions

Title Description
CreateToolhelp32Snapshot Takes a snapshot of the specified processes, as well as the heaps, modules, and threads used by these processes.
Heap32First Retrieves information about the first block of a heap that has been allocated by a process.
Heap32ListFirst Retrieves information about the first heap that has been allocated by a specified process.
Heap32ListNext Retrieves information about the next heap that has been allocated by a process.
Heap32Next Retrieves information about the next block of a heap that has been allocated by a process.
Module32First Retrieves information about the first module associated with a process.
Module32FirstW Retrieves information about the first module associated with a process.
Module32Next Retrieves information about the next module associated with a process or thread.
Module32NextW Retrieves information about the next module associated with a process or thread.
Process32First Retrieves information about the first process encountered in a system snapshot.
Process32FirstW Retrieves information about the first process encountered in a system snapshot.
Process32Next Retrieves information about the next process recorded in a system snapshot.
Process32NextW Retrieves information about the next process recorded in a system snapshot.
Thread32First Retrieves information about the first thread of any process encountered in a system snapshot.
Thread32Next Retrieves information about the next thread of any process encountered in the system memory snapshot.
Toolhelp32ReadProcessMemory Copies memory allocated to another process into an application-supplied buffer.

Structures

Title Description
HEAPENTRY32 Describes one entry (block) of a heap that is being examined.
HEAPLIST32 Describes an entry from a list that enumerates the heaps used by a specified process.
MODULEENTRY32 Describes an entry from a list of the modules belonging to the specified process.
MODULEENTRY32W Describes an entry from a list of the modules belonging to the specified process.
PROCESSENTRY32 Describes an entry from a list of the processes residing in the system address space when a snapshot was taken.
PROCESSENTRY32W Describes an entry from a list of the processes residing in the system address space when a snapshot was taken.
THREADENTRY32 Describes an entry from a list of the threads executing in the system when a snapshot was taken.