www.pudn.com > OS.rar > Typedef.h, change:2006-10-21,size:2355b
/*-------------------------------------------------*
* Function :
* Usage :
* Version :
* Return Code :
* Revision :
* Remark :
*--------------------------------------------------*/
#ifndef _TYPEDEF_H_
#define _TYPEDEF_H_
#define WINAPI
#define HINSTANCE void *
#ifndef PSTR
#define PSTR unsigned short
#endif
#define HH_FILE int
#ifndef I8
#define I8 signed char
#endif
#ifndef U8
#define U8 unsigned char
#endif
#ifndef I16
#define I16 signed short
#endif
#ifndef U16
#define U16 unsigned short
#endif
#ifndef I32
#define I32 signed long
#endif
#ifndef U32
#define U32 unsigned long
#endif
#ifndef INT8
#define INT8 char
#endif
#ifndef INT16
#define INT16 short
#endif
#ifndef INT32
#define INT32 long
#endif
#ifndef UINT8
#define UINT8 unsigned char
#endif
#ifndef UINT16
#define UINT16 unsigned short
#endif
#ifndef UINT32
#define UINT32 unsigned long
#endif
#ifndef HWIN
#define HWIN U16
#endif
#ifndef WINMESSAGE
#define WINMESSAGE U16
#endif
#ifndef BOOL
#define BOOL int
#endif
#ifndef SHORT
#define SHORT short
#endif
#ifndef INT
#define INT int
#endif
#ifndef UINT
#define UINT unsigned int
#endif
#ifndef LONG
#define LONG long
#endif
#ifndef ULONG
#define ULONG unsigned long // unsigned 32-bit quantity
#endif
#ifndef LPSTR
#define LPSTR unsigned long
#endif
#ifndef LPDATA
#define LPDATA unsigned long
#endif
#ifndef LPSTRETTS
#define LPSTRETTS char *
#endif
#ifndef LPTR
#define LPTR unsigned long
#endif
#ifndef LPVOID
#define LPVOID void *
#endif
#ifndef BYTE
#define BYTE char
#endif
#ifndef UBYTE
#define UBYTE unsigned char // unsigned 8-bit quantity
#endif
#ifndef WORD
#define WORD short
#endif
#ifndef UWORD
#define UWORD unsigned short // unsigned 16-bit quantity
#endif
#ifndef DWORD
#define DWORD long
#endif
#ifndef UDWORD
#define UDWORD unsigned long
#endif
#endif //_TYPEDEF_H_