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

 
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

The Module32First function (tlhelp32.h) retrieves information about the first module associated with a process.
Module32FirstW

The Module32FirstW (Unicode) function (tlhelp32.h) retrieves information about the first module associated with a process.
Module32Next

The Module32Next function (tlhelp32.h) retrieves information about the next module associated with a process or thread.
Module32NextW

The Module32NextW (Unicode) function (tlhelp32.h) retrieves information about the next module associated with a process or thread.
Process32First

The Process32First function (tlhelp32.h) retrieves information about the first process encountered in a system snapshot.
Process32FirstW

The Process32FirstW (Unicode) function (tlhelp32.h) retrieves information about the first process encountered in a system snapshot.
Process32Next

The Process32Next function (tlhelp32.h) retrieves information about the next process recorded in a system snapshot.
Process32NextW

The Process32NextW (Unicode) function (tlhelp32.h) 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

 
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

The MODULEENTRY32 (tlhelp32.h) structure describes an entry from a list of the modules belonging to the specified process.
MODULEENTRY32W

The MODULEENTRY32W (Unicode) structure (tlhelp32.h) describes an entry from a list of the modules belonging to the specified process.
PROCESSENTRY32

The PROCESSENTRY32 (tlhelp32.h) structure describes an entry from a list of the processes residing in the system address space when a snapshot was taken.
PROCESSENTRY32W

The PROCESSENTRY32W (Unicode) structure (tlhelp32.h) 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.