00001 /* 00002 * Basic types definitions 00003 * 00004 * Copyright 1996 Alexandre Julliard 00005 */ 00006 00007 #ifndef __WINE_WINDEF_H 00008 #define __WINE_WINDEF_H __WINE_WINDEF_H 00009 00010 typedef void VOID; 00011 typedef int INT; 00012 typedef unsigned int UINT; 00013 typedef unsigned short WORD; 00014 typedef unsigned int DWORD; 00015 typedef unsigned int ULONG; 00016 typedef unsigned char BYTE; 00017 typedef long LONG; 00018 typedef short SHORT; 00019 typedef unsigned short USHORT; 00020 typedef char CHAR; 00021 typedef unsigned char UCHAR; 00022 00023 typedef short INT16; 00024 typedef unsigned short UINT16; 00025 typedef unsigned short WIN_BOOL16; 00026 00027 /* Macro for structure packing. */ 00028 00029 #ifdef __GNUC__ 00030 #ifndef _EGCS_ 00031 #define WINE_PACKED __attribute__((packed)) 00032 #define WINE_UNUSED __attribute__((unused)) 00033 #define WINE_NORETURN __attribute__((noreturn)) 00034 #endif 00035 #else 00036 #define WINE_PACKED /* nothing */ 00037 #define WINE_UNUSED /* nothing */ 00038 #define WINE_NORETURN /* nothing */ 00039 #endif 00040 00041 /* The RECT structure */ 00042 typedef struct tagRECT 00043 { 00044 short left; 00045 short top; 00046 short right; 00047 short bottom; 00048 } RECT, *PRECT, *LPRECT; 00049 #endif /* __WINE_WINDEF_H */
1.4.2
Network-Integrated Multimedia Middleware
(NMM) www.networkmultimedia.org