Hey

here is a patch that adds LIST_MODULES_* values in psapi.h. See
http://msdn.microsoft.com/en-us/library/ms682633%28v=VS.85%29.aspx

Vincent Torri
--- psapi.h	2011-09-14 06:20:12 +0000
+++ psapi_new.h	2011-09-14 06:48:47 +0000
@@ -21,6 +21,19 @@
 #define EnumPageFiles __MINGW_NAME_AW(EnumPageFiles)
 #define GetProcessImageFileName __MINGW_NAME_AW(GetProcessImageFileName)
 
+#ifndef LIST_MODULES_DEFAULT
+#define LIST_MODULES_DEFAULT 0x0
+#endif
+#ifndef LIST_MODULES_32BIT
+#define LIST_MODULES_32BIT 0x01
+#endif
+#ifndef LIST_MODULES_64BIT
+#define LIST_MODULES_32BIT 0x02
+#endif
+#ifndef LIST_MODULES_ALL
+#define LIST_MODULES_ALL 0x03
+#endif
+
   WINBOOL WINAPI EnumProcesses(DWORD *lpidProcess,DWORD cb,DWORD *cbNeeded);
   WINBOOL WINAPI EnumProcessModules(HANDLE hProcess,HMODULE *lphModule,DWORD cb,LPDWORD lpcbNeeded);
   DWORD WINAPI GetModuleBaseNameA(HANDLE hProcess,HMODULE hModule,LPSTR lpBaseName,DWORD nSize);
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry® mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry® DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to