windows.h

Go to the documentation of this file.
00001 #ifndef _WINDOWS_H_
00002 #define _WINDOWS_H_
00003 
00004 #include <stdio.h>
00005 #include <stdlib.h>
00006 #include <string.h>
00007 #include <strings.h>
00008 #include <stdarg.h>
00009 #include <ctype.h>
00010 #include <common/Defines.h>
00011 
00012 typedef char *          LPSTR;
00013 typedef const char *    LPCTSTR;
00014 typedef unsigned int    DWORD;
00015 typedef unsigned int *  LPDWORD;
00016 typedef unsigned char * LPBYTE;
00017 typedef int             INT;
00018 typedef long            LONG;
00019 typedef unsigned int    UINT;
00020 typedef unsigned short  WORD;
00021 typedef unsigned char   BYTE;
00022 
00023 typedef int     HWND;
00024 typedef void *  HINSTANCE;
00025 typedef int     WPARAM;
00026 typedef int     LPARAM;
00027 typedef int     LRESULT;
00028 typedef void *  HDC;
00029 typedef void *  HGLRC;
00030 
00031 #define _strnicmp(a,b,c)        strncasecmp(a,b,c)
00032 #define stricmp(a,b)            strcasecmp(a,b)
00033 #define _strlwr(a)              { for (char *b=a; *b; b++) *b=tolower(*b); }
00034 
00035 /* registry */
00036 typedef int     HKEY; 
00037 #define HKEY_CURRENT_USER 0
00038 
00039 #ifndef TRUE
00040 #define TRUE true
00041 #endif
00042 #ifndef FALSE
00043 #define FALSE false
00044 #endif
00045 
00046 #endif

Generated on Mon Feb 16 15:14:51 2009 for Scorched3D by  doxygen 1.5.3