psapi.h 1.54 KB
Newer Older
Alexandre Julliard's avatar
Alexandre Julliard committed
1
/*
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
 * Declarations for PSAPI
 *
 * Copyright (C) 1998 Patrik Stridvall
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
Alexandre Julliard's avatar
Alexandre Julliard committed
19 20 21 22 23
 */

#ifndef __WINE_PSAPI_H
#define __WINE_PSAPI_H

Patrik Stridvall's avatar
Patrik Stridvall committed
24 25
#include "windef.h"

26
typedef struct _MODULEINFO {
Alexandre Julliard's avatar
Alexandre Julliard committed
27 28 29
  LPVOID lpBaseOfDll;
  DWORD SizeOfImage;
  LPVOID EntryPoint;
30
} MODULEINFO, *LPMODULEINFO;
Alexandre Julliard's avatar
Alexandre Julliard committed
31

32 33
typedef struct _PROCESS_MEMORY_COUNTERS {
  DWORD cb;
Alexandre Julliard's avatar
Alexandre Julliard committed
34 35 36 37 38
  DWORD PageFaultCount;
  DWORD PeakWorkingSetSize;
  DWORD WorkingSetSize;
  DWORD QuotaPeakPagedPoolUsage;
  DWORD QuotaPagedPoolUsage;
39
  DWORD QuotaPeakNonPagedPoolUsage;
Alexandre Julliard's avatar
Alexandre Julliard committed
40
  DWORD QuotaNonPagedPoolUsage;
41
  DWORD PagefileUsage;
Alexandre Julliard's avatar
Alexandre Julliard committed
42
  DWORD PeakPagefileUsage;
43 44
} PROCESS_MEMORY_COUNTERS;
typedef PROCESS_MEMORY_COUNTERS *PPROCESS_MEMORY_COUNTERS;
Alexandre Julliard's avatar
Alexandre Julliard committed
45

46
typedef struct _PSAPI_WS_WATCH_INFORMATION {
Alexandre Julliard's avatar
Alexandre Julliard committed
47 48
  LPVOID FaultingPc;
  LPVOID FaultingVa;
49
} PSAPI_WS_WATCH_INFORMATION, *PPSAPI_WS_WATCH_INFORMATION;
Alexandre Julliard's avatar
Alexandre Julliard committed
50 51

#endif  /* __WINE_PSAPI_H */