Mercurial > hg > boxv9x
view winhack.h @ 0:20b4ed4eebe3
Checked in Windows 9x display minidriver for VirtualBox.
author | Michal Necasek <mnecasek@yahoo.com> |
---|---|
date | Sun, 19 Jun 2022 17:39:17 +0200 |
parents | |
children |
line wrap: on
line source
/* The gdidefs.h header badly conflicts with windows.h. Microsoft's printer * drivers in the Windows DDK solve that by manually defining a large subset * of windows.h. We solve that by including the normal windows.h but hiding * the conflicting definitions. */ #define NOGDI #define PPOINT n_PPOINT #define LPPOINT n_LPPOINT #define RECT n_RECT #define PRECT n_PRECT #define LPRECT n_LPRECT #include <windows.h> #undef PPOINT #undef LPPOINT #undef RECT #undef PRECT #undef LPRECT