Subject: bug#6989: 24.0.50; w32.c:99: error: redefinition of `struct _PROCESS_MEMORY_COUNTERS_EX'

From: Stephen Powell <[email-masked]>
Date: Mon, 06 Sep 2010 09:54:04 +0100

Eli Zaretskii <[email-masked]> writes:

> Can you show its definition in w32api 3.15-1, and also tell which
> header defines it?

,----[ c:/cygwin/usr/include/w32api/psapi.h ]
|
| typedef struct _PROCESS_MEMORY_COUNTERS_EX {
| 	DWORD cb;
| 	DWORD PageFaultCount;
| 	DWORD PeakWorkingSetSize;
| 	DWORD WorkingSetSize;
| 	DWORD QuotaPeakPagedPoolUsage;
| 	DWORD QuotaPagedPoolUsage;
| 	DWORD QuotaPeakNonPagedPoolUsage;
| 	DWORD QuotaNonPagedPoolUsage;
| 	DWORD PagefileUsage;
| 	DWORD PeakPagefileUsage;
| 	DWORD PrivateUsage;
| } PROCESS_MEMORY_COUNTERS_EX,*PPROCESS_MEMORY_COUNTERS_EX;
|
`----