;--- include file created by h2incx v0.82, copyright 2005 japheth
;--- source file: TlHelp32.h, last modified: 5/23/2001 19:38
ifndef _INC_TOOLHELP32
_INC_TOOLHELP32	EQU	<>
if _MSC_VER gt 1000
;#pragma once 
endif 
ifdef __cplusplus 
;extern "C"{ 
endif 
MAX_MODULE_NAME32	EQU	255
proto_CreateToolhelp32Snapshot typedef proto stdcall  :DWORD, :DWORD
externdef stdcall _imp__CreateToolhelp32Snapshot@8: ptr proto_CreateToolhelp32Snapshot
CreateToolhelp32Snapshot equ <_imp__CreateToolhelp32Snapshot@8>
TH32CS_SNAPHEAPLIST	EQU	00000001h
TH32CS_SNAPPROCESS	EQU	00000002h
TH32CS_SNAPTHREAD	EQU	00000004h
TH32CS_SNAPMODULE	EQU	00000008h
TH32CS_SNAPMODULE32	EQU	00000010h
TH32CS_SNAPALL	EQU	( TH32CS_SNAPHEAPLIST  or  TH32CS_SNAPPROCESS  or  TH32CS_SNAPTHREAD  or  TH32CS_SNAPMODULE )
TH32CS_INHERIT	EQU	80000000h
HEAPLIST32	struct
dwSize	DWORD	?
th32ProcessID	DWORD	?
th32HeapID	DWORD	?
dwFlags	DWORD	?
HEAPLIST32	ends

PHEAPLIST32  typedef ptr HEAPLIST32
LPHEAPLIST32  typedef ptr HEAPLIST32
HF32_DEFAULT	EQU	1
HF32_SHARED	EQU	2
proto_Heap32ListFirst typedef proto stdcall  :HANDLE, :LPHEAPLIST32
externdef stdcall _imp__Heap32ListFirst@8: ptr proto_Heap32ListFirst
Heap32ListFirst equ <_imp__Heap32ListFirst@8>
proto_Heap32ListNext typedef proto stdcall  :HANDLE, :LPHEAPLIST32
externdef stdcall _imp__Heap32ListNext@8: ptr proto_Heap32ListNext
Heap32ListNext equ <_imp__Heap32ListNext@8>
HEAPENTRY32	struct
dwSize	DWORD	?
hHandle	HANDLE	?
dwAddress	DWORD	?
dwBlockSize	DWORD	?
dwFlags	DWORD	?
dwLockCount	DWORD	?
dwResvd	DWORD	?
th32ProcessID	DWORD	?
th32HeapID	DWORD	?
HEAPENTRY32	ends

PHEAPENTRY32  typedef ptr HEAPENTRY32
LPHEAPENTRY32  typedef ptr HEAPENTRY32
LF32_FIXED	EQU	00000001h
LF32_FREE	EQU	00000002h
LF32_MOVEABLE	EQU	00000004h
proto_Heap32First typedef proto stdcall  :LPHEAPENTRY32, :DWORD, :DWORD
externdef stdcall _imp__Heap32First@12: ptr proto_Heap32First
Heap32First equ <_imp__Heap32First@12>
proto_Heap32Next typedef proto stdcall  :LPHEAPENTRY32
externdef stdcall _imp__Heap32Next@4: ptr proto_Heap32Next
Heap32Next equ <_imp__Heap32Next@4>
proto_Toolhelp32ReadProcessMemory typedef proto stdcall  :DWORD, :LPCVOID, :LPVOID, :DWORD, :ptr DWORD
externdef stdcall _imp__Toolhelp32ReadProcessMemory@20: ptr proto_Toolhelp32ReadProcessMemory
Toolhelp32ReadProcessMemory equ <_imp__Toolhelp32ReadProcessMemory@20>
PROCESSENTRY32W	struct
dwSize	DWORD	?
cntUsage	DWORD	?
th32ProcessID	DWORD	?
th32DefaultHeapID	DWORD	?
th32ModuleID	DWORD	?
cntThreads	DWORD	?
th32ParentProcessID	DWORD	?
pcPriClassBase	SDWORD	?
dwFlags	DWORD	?
szExeFile	WCHAR MAX_PATH dup (?)
PROCESSENTRY32W	ends

PPROCESSENTRY32W  typedef ptr PROCESSENTRY32W
LPPROCESSENTRY32W  typedef ptr PROCESSENTRY32W
proto_Process32FirstW typedef proto stdcall  :HANDLE, :LPPROCESSENTRY32W
externdef stdcall _imp__Process32FirstW@8: ptr proto_Process32FirstW
Process32FirstW equ <_imp__Process32FirstW@8>
proto_Process32NextW typedef proto stdcall  :HANDLE, :LPPROCESSENTRY32W
externdef stdcall _imp__Process32NextW@8: ptr proto_Process32NextW
Process32NextW equ <_imp__Process32NextW@8>
PROCESSENTRY32	struct
dwSize	DWORD	?
cntUsage	DWORD	?
th32ProcessID	DWORD	?
th32DefaultHeapID	DWORD	?
th32ModuleID	DWORD	?
cntThreads	DWORD	?
th32ParentProcessID	DWORD	?
pcPriClassBase	SDWORD	?
dwFlags	DWORD	?
szExeFile	CHAR MAX_PATH dup (?)
PROCESSENTRY32	ends

PPROCESSENTRY32  typedef ptr PROCESSENTRY32
LPPROCESSENTRY32  typedef ptr PROCESSENTRY32
proto_Process32First typedef proto stdcall  :HANDLE, :LPPROCESSENTRY32
externdef stdcall _imp__Process32First@8: ptr proto_Process32First
Process32First equ <_imp__Process32First@8>
proto_Process32Next typedef proto stdcall  :HANDLE, :LPPROCESSENTRY32
externdef stdcall _imp__Process32Next@8: ptr proto_Process32Next
Process32Next equ <_imp__Process32Next@8>
ifdef UNICODE 
Process32First	EQU	<Process32FirstW>
Process32Next	EQU	<Process32NextW>
PROCESSENTRY32	EQU	<PROCESSENTRY32W>
PPROCESSENTRY32	EQU	<PPROCESSENTRY32W>
LPPROCESSENTRY32	EQU	<LPPROCESSENTRY32W>
endif 
THREADENTRY32	struct
dwSize	DWORD	?
cntUsage	DWORD	?
th32ThreadID	DWORD	?
th32OwnerProcessID	DWORD	?
tpBasePri	SDWORD	?
tpDeltaPri	SDWORD	?
dwFlags	DWORD	?
THREADENTRY32	ends

PTHREADENTRY32  typedef ptr THREADENTRY32
LPTHREADENTRY32  typedef ptr THREADENTRY32
proto_Thread32First typedef proto stdcall  :HANDLE, :LPTHREADENTRY32
externdef stdcall _imp__Thread32First@8: ptr proto_Thread32First
Thread32First equ <_imp__Thread32First@8>
proto_Thread32Next typedef proto stdcall  :HANDLE, :LPTHREADENTRY32
externdef stdcall _imp__Thread32Next@8: ptr proto_Thread32Next
Thread32Next equ <_imp__Thread32Next@8>
MODULEENTRY32W	struct
dwSize	DWORD	?
th32ModuleID	DWORD	?
th32ProcessID	DWORD	?
GlblcntUsage	DWORD	?
ProccntUsage	DWORD	?
modBaseAddr	DWORD	?
modBaseSize	DWORD	?
hModule	HMODULE	?
szModule	WCHAR MAX_MODULE_NAME32+1 dup (?)
szExePath	WCHAR MAX_PATH dup (?)
MODULEENTRY32W	ends

PMODULEENTRY32W  typedef ptr MODULEENTRY32W
LPMODULEENTRY32W  typedef ptr MODULEENTRY32W
proto_Module32FirstW typedef proto stdcall  :HANDLE, :LPMODULEENTRY32W
externdef stdcall _imp__Module32FirstW@8: ptr proto_Module32FirstW
Module32FirstW equ <_imp__Module32FirstW@8>
proto_Module32NextW typedef proto stdcall  :HANDLE, :LPMODULEENTRY32W
externdef stdcall _imp__Module32NextW@8: ptr proto_Module32NextW
Module32NextW equ <_imp__Module32NextW@8>
MODULEENTRY32	struct
dwSize	DWORD	?
th32ModuleID	DWORD	?
th32ProcessID	DWORD	?
GlblcntUsage	DWORD	?
ProccntUsage	DWORD	?
modBaseAddr	DWORD	?
modBaseSize	DWORD	?
hModule	HMODULE	?
szModule	SBYTE MAX_MODULE_NAME32+1 dup (?)
szExePath	SBYTE MAX_PATH dup (?)
MODULEENTRY32	ends

PMODULEENTRY32  typedef ptr MODULEENTRY32
LPMODULEENTRY32  typedef ptr MODULEENTRY32
proto_Module32First typedef proto stdcall  :HANDLE, :LPMODULEENTRY32
externdef stdcall _imp__Module32First@8: ptr proto_Module32First
Module32First equ <_imp__Module32First@8>
proto_Module32Next typedef proto stdcall  :HANDLE, :LPMODULEENTRY32
externdef stdcall _imp__Module32Next@8: ptr proto_Module32Next
Module32Next equ <_imp__Module32Next@8>
ifdef UNICODE 
Module32First	EQU	<Module32FirstW>
Module32Next	EQU	<Module32NextW>
MODULEENTRY32	EQU	<MODULEENTRY32W>
PMODULEENTRY32	EQU	<PMODULEENTRY32W>
LPMODULEENTRY32	EQU	<LPMODULEENTRY32W>
endif 
ifdef __cplusplus 
endif 
endif 
