Added LGPL standard comment, and copyright notices where necessary.
[wine] / include / psapi.h
1 /*
2  * Declarations for PSAPI
3  *
4  * Copyright (C) 1998 Patrik Stridvall
5  *
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.
10  *
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.
15  *
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
19  */
20
21 #ifndef __WINE_PSAPI_H
22 #define __WINE_PSAPI_H
23
24 #include "windef.h"
25
26 typedef struct _MODULEINFO {
27   LPVOID lpBaseOfDll;
28   DWORD SizeOfImage;
29   LPVOID EntryPoint;
30 } MODULEINFO, *LPMODULEINFO;
31
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;
45
46 typedef struct _PSAPI_WS_WATCH_INFORMATION {
47   LPVOID FaultingPc;
48   LPVOID FaultingVa;
49 } PSAPI_WS_WATCH_INFORMATION, *PPSAPI_WS_WATCH_INFORMATION;
50
51 #endif  /* __WINE_PSAPI_H */