evil_windows.h

00001 //counter some of windows.h's evilnesses and include the file
00002 //Luke Lenhart, 2005-2007
00003 //See /docs/License.txt for details on how this code may be used.
00004 
00005 #pragma once
00006 
00007 #define VC_EXTRALEAN
00008 
00009 #include <windows.h>
00010 
00011 //fight the evilness!
00012 #undef DrawText //grr
00013 #undef GetObject //oof
00014 #undef min //ugh
00015 #undef max //ack
00016 #undef CreateDirectory //omg
00017 #undef SetPort //wow
00018 
00019 //we don't want anyone accidently using these windows.h things either
00020 #undef DWORD
00021 #undef WORD
00022 #undef BYTE
00023 #undef BOOL

Generated on Sat Aug 9 15:05:05 2008 for MPMA Framework by  doxygen 1.5.6