#ifndef BASE_DEBUG_GDI_DEBUG_UTIL_WIN_H_
#define BASE_DEBUG_GDI_DEBUG_UTIL_WIN_H_
#include <windows.h>
#include "base/base_export.h"
namespace base {
namespace debug {
struct BASE_EXPORT GdiHandleCounts {
int dcs = 0;
int regions = 0;
int bitmaps = 0;
int palettes = 0;
int fonts = 0;
int brushes = 0;
int pens = 0;
int unknown = 0;
int total_tracked = 0;
};
BASE_EXPORT void CollectGDIUsageAndDie(BITMAPINFOHEADER* header = nullptr,
HANDLE shared_section = nullptr);
BASE_EXPORT GdiHandleCounts GetGDIHandleCountsInCurrentProcessForTesting();
}
}
#endif