wintypes.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00015 #ifndef __wintypes_h__
00016 #define __wintypes_h__
00017
00018 #ifdef __cplusplus
00019 extern "C"
00020 {
00021 #endif
00022
00023 #if !defined(WIN32)
00024
00025 #ifndef BYTE
00026 typedef unsigned char BYTE;
00027 #endif
00028 typedef unsigned char UCHAR;
00029 typedef unsigned char *PUCHAR;
00030 typedef unsigned short USHORT;
00031
00032 #ifndef __COREFOUNDATION_CFPLUGINCOM__
00033 typedef unsigned long ULONG;
00034 typedef void *LPVOID;
00035 #endif
00036
00037 typedef const void *LPCVOID;
00038 typedef unsigned long DWORD;
00039 typedef unsigned long *PDWORD;
00040 typedef long LONG;
00041 typedef const char *LPCSTR;
00042 typedef const BYTE *LPCBYTE;
00043 typedef BYTE *LPBYTE;
00044 typedef DWORD *LPDWORD;
00045 typedef char *LPSTR;
00046
00047
00048
00049 typedef LPSTR LPTSTR;
00050 typedef LPCSTR LPCTSTR;
00051
00052
00053 typedef short BOOL;
00054 typedef unsigned short WORD;
00055 typedef unsigned long *PULONG;
00056
00057 #else
00058 #include <windows.h>
00059 #endif
00060
00061 #ifdef __cplusplus
00062 }
00063 #endif
00064
00065 #endif