Fix for mingw32.
[wine/wine64.git] / include / psapi.h
blob79f57d5b10e6dca0d23da224acd1eceff9f94054
1 /*
2 * Declarations for PSAPI
4 * Copyright (C) 1998 Patrik Stridvall
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 #ifndef __WINE_PSAPI_H
22 #define __WINE_PSAPI_H
24 #include "windef.h"
26 typedef struct _MODULEINFO {
27 LPVOID lpBaseOfDll;
28 DWORD SizeOfImage;
29 LPVOID EntryPoint;
30 } MODULEINFO, *LPMODULEINFO;
32 typedef struct _PROCESS_MEMORY_COUNTERS {
33 DWORD cb;
34 DWORD PageFaultCount;
35 DWORD PeakWorkingSetSize;
36 DWORD WorkingSetSize;
37 DWORD QuotaPeakPagedPoolUsage;
38 DWORD QuotaPagedPoolUsage;
39 DWORD QuotaPeakNonPagedPoolUsage;
40 DWORD QuotaNonPagedPoolUsage;
41 DWORD PagefileUsage;
42 DWORD PeakPagefileUsage;
43 } PROCESS_MEMORY_COUNTERS;
44 typedef PROCESS_MEMORY_COUNTERS *PPROCESS_MEMORY_COUNTERS;
46 typedef struct _PSAPI_WS_WATCH_INFORMATION {
47 LPVOID FaultingPc;
48 LPVOID FaultingVa;
49 } PSAPI_WS_WATCH_INFORMATION, *PPSAPI_WS_WATCH_INFORMATION;
51 #endif /* __WINE_PSAPI_H */