typedef struct _HEAP_COUNTERS
{
    unsigned __int64 TotalMemoryReserved;
    unsigned __int64 TotalMemoryCommitted;
    unsigned __int64 TotalMemoryLargeUCR;
    unsigned __int64 TotalSizeInVirtualBlocks;
    unsigned long TotalSegments;
    unsigned long TotalUCRs;
    unsigned long CommittOps;
    unsigned long DeCommitOps;
    unsigned long LockAcquires;
    unsigned long LockCollisions;
    unsigned long CommitRate;
    unsigned long DecommittRate;
    unsigned long CommitFailures;
    unsigned long InBlockCommitFailures;
    unsigned long CompactHeapCalls;
    unsigned long CompactedUCRs;
    unsigned long AllocAndFreeOps;
    unsigned long InBlockDeccommits;
    unsigned __int64 InBlockDeccomitSize;
    unsigned __int64 HighWatermarkSize;
    unsigned __int64 LastPolledSize;
} HEAP_COUNTERS, *PHEAP_COUNTERS;