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

From: Eli Zaretskii <[email-masked]>
Date: Mon, 06 Sep 2010 20:38:48 +0300

> Date: Mon, 06 Sep 2010 09:54:04 +0100
> From: Stephen Powell <[email-masked]>
> CC: [email-masked]
> 
> 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;
> |
> `----

Thanks.  One more question: is it true that w32api 3.14 didn't have
this typedef in psapi.h, and 3.15 introduced it?