blob: 738e625640c7e8f49c716f28e91a69d5ded32c4f [file] [log] [blame]
Alexandre Julliardd30dfd21998-09-27 18:28:36 +00001/*
Alexandre Julliard0799c1a2002-03-09 23:29:33 +00002 * 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
Alexandre Julliardd30dfd21998-09-27 18:28:36 +000019 */
20
21#ifndef __WINE_PSAPI_H
22#define __WINE_PSAPI_H
23
Patrik Stridvall1ed4ecf1999-06-26 14:58:24 +000024#include "windef.h"
25
Alexandre Julliarda3960291999-02-26 11:11:13 +000026typedef struct _MODULEINFO {
Alexandre Julliardd30dfd21998-09-27 18:28:36 +000027 LPVOID lpBaseOfDll;
28 DWORD SizeOfImage;
29 LPVOID EntryPoint;
Alexandre Julliarda3960291999-02-26 11:11:13 +000030} MODULEINFO, *LPMODULEINFO;
Alexandre Julliardd30dfd21998-09-27 18:28:36 +000031
Vincent Béron9a624912002-05-31 23:06:46 +000032typedef struct _PROCESS_MEMORY_COUNTERS {
33 DWORD cb;
Alexandre Julliardd30dfd21998-09-27 18:28:36 +000034 DWORD PageFaultCount;
35 DWORD PeakWorkingSetSize;
36 DWORD WorkingSetSize;
37 DWORD QuotaPeakPagedPoolUsage;
38 DWORD QuotaPagedPoolUsage;
Vincent Béron9a624912002-05-31 23:06:46 +000039 DWORD QuotaPeakNonPagedPoolUsage;
Alexandre Julliardd30dfd21998-09-27 18:28:36 +000040 DWORD QuotaNonPagedPoolUsage;
Vincent Béron9a624912002-05-31 23:06:46 +000041 DWORD PagefileUsage;
Alexandre Julliardd30dfd21998-09-27 18:28:36 +000042 DWORD PeakPagefileUsage;
Alexandre Julliarda3960291999-02-26 11:11:13 +000043} PROCESS_MEMORY_COUNTERS;
44typedef PROCESS_MEMORY_COUNTERS *PPROCESS_MEMORY_COUNTERS;
Alexandre Julliardd30dfd21998-09-27 18:28:36 +000045
Alexandre Julliarda3960291999-02-26 11:11:13 +000046typedef struct _PSAPI_WS_WATCH_INFORMATION {
Alexandre Julliardd30dfd21998-09-27 18:28:36 +000047 LPVOID FaultingPc;
48 LPVOID FaultingVa;
Alexandre Julliarda3960291999-02-26 11:11:13 +000049} PSAPI_WS_WATCH_INFORMATION, *PPSAPI_WS_WATCH_INFORMATION;
Alexandre Julliardd30dfd21998-09-27 18:28:36 +000050
51#endif /* __WINE_PSAPI_H */