Implemented CreateToolhelp32Snapshot, including two of the routines using snapshots, Process32First and Process32Next.
diff --git a/include/tlhelp32.h b/include/tlhelp32.h new file mode 100644 index 0000000..b8b798a --- /dev/null +++ b/include/tlhelp32.h
@@ -0,0 +1,29 @@ +#ifndef __WINE_TLHELP32_H +#define __WINE_TLHELP32_H + +#include "windows.h" + +#ifdef __cplusplus +extern "C" { +#endif + + /*=================================================================== + * Arguments for Toolhelp routines + */ + + /* + * CreateToolhelp32Snapshot + */ + +#define TH32CS_SNAPHEAPLIST 0x00000001 +#define TH32CS_SNAPPROCESS 0x00000002 +#define TH32CS_SNAPTHREAD 0x00000004 +#define TH32CS_SNAPMODULE 0x00000008 +#define TH32CS_SNAPALL (TH32CS_SNAPHEAPLIST | TH32CS_SNAPPROCESS | TH32CS_SNAPTHREAD | TH32CS_SNAPMODULE) +#define TH32CS_INHERIT 0x80000000 + +#ifdef __cplusplus +extern "C" { +#endif + +#endif /* __WINE_TLHELP32_H */