 |
CreateToolhelp32Snapshot ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Takes a snapshot of the processes and the heaps, modules, and threads used by the processes. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
HANDLE WINAPI CreateToolhelp32Snapshot(
DWORD dwFlags,
DWORD th32ProcessID
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER CreateToolhelp32Snapshot IN kernel32;
INTEGER dwFlags,;
INTEGER th32ProcessID
|
 |
 |
 |
| Parameters: |
 |
dwFlags
[in] Specifies portions of the system to include in the snapshot.
th32ProcessID
[in] Specifies the process identifier. This parameter can be zero to indicate the current process. |
 |
 |
| Return value: |
 |
| Returns an open handle to the specified snapshot if successful or INVALID_HANDLE_VALUE (-1) otherwise. |
 |
 |
| My comment: |
 |
Windows NT/2000/XP: Included in Windows 2000 and later.
Windows 95/98/Me: Included in Windows 95 and later. |
 |
 |
| Word Index links for the CreateToolhelp32Snapshot : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2001-10-09 23:24:44 | | Modified: | 2001-11-26 16:03:45 | Visited in last 7 days: 12 |