CVS: winex/include psapi.h,1.1.1.2,1.2

[email protected] 31 Jul 2007 19:43:08 -0000
Newsgroups gmane.comp.emulators.winex.cvs
Message-ID <[email protected]>
Subject: winex/include psapi.h,1.1.1.2,1.2Update of /var/lib/cvsd/cvsroot/winex/include
In directory agravaine:/tmp/cvs-serv32096/include

Modified Files:
	psapi.h 
Log Message:

- implement EnumPageFilesA/W


Index: psapi.h
===================================================================
RCS file: /var/lib/cvsd/cvsroot/winex/include/psapi.h,v
retrieving revision 1.1.1.2
retrieving revision 1.2
diff -u -d -r1.1.1.2 -r1.2
--- psapi.h	25 Sep 2002 19:22:00 -0000	1.1.1.2
+++ psapi.h	31 Jul 2007 19:43:06 -0000	1.2
@@ -32,4 +32,30 @@
   LPVOID FaultingVa;
 } PSAPI_WS_WATCH_INFORMATION, *PPSAPI_WS_WATCH_INFORMATION;
 
+typedef struct _ENUM_PAGE_FILE_INFORMATION {
+  DWORD cb;
+  DWORD Reserved;
+  SIZE_T TotalSize;
+  SIZE_T TotalInUse;
+  SIZE_T PeakUsage;
+} ENUM_PAGE_FILE_INFORMATION, *PENUM_PAGE_FILE_INFORMATION;
+
+typedef BOOL (*EnumPageFilesProcA) (LPVOID pContext,
+                                    PENUM_PAGE_FILE_INFORMATION pPageFileInfo,
+                                    LPCSTR lpFilename);
+
+typedef BOOL (*EnumPageFilesProcW) (LPVOID pContext,
+                                    PENUM_PAGE_FILE_INFORMATION pPageFileInfo,
+                                    LPWSTR lpFilename);
+
+typedef EnumPageFilesProcA PENUM_PAGE_CALLBACKA;
+typedef EnumPageFilesProcW PENUM_PAGE_CALLBACKW;
+DECL_WINELIB_TYPE_AW(EnumPageFilesProc);
+
+BOOL WINAPI EnumPageFilesA(PENUM_PAGE_CALLBACKA pCallback,
+                           LPVOID lpContext);
+BOOL WINAPI EnumPageFilesW(PENUM_PAGE_CALLBACKW pCallback,
+                           LPVOID lpContext);
+#define EnumPageFiles WINELIB_NAME_AW(EnumPageFiles);
+
 #endif  /* __WINE_PSAPI_H */