2010-09-08 15:46:36 -06:00
|
|
|
/****************************
|
|
|
|
* Typedefs.h
|
|
|
|
****************************/
|
|
|
|
#ifndef __TYPEDEFS_H__
|
|
|
|
#define __TYPEDEFS_H__
|
|
|
|
#define STATUS_SUCCESS 0
|
|
|
|
#define STATUS_FAILURE -1
|
|
|
|
|
2013-10-28 02:36:19 -06:00
|
|
|
|
2010-09-08 15:46:36 -06:00
|
|
|
#define TRUE 1
|
|
|
|
|
2013-10-28 02:35:59 -06:00
|
|
|
|
2010-09-08 15:46:36 -06:00
|
|
|
typedef char CHAR;
|
|
|
|
typedef int INT;
|
|
|
|
typedef short SHORT;
|
|
|
|
typedef long LONG;
|
|
|
|
typedef void VOID;
|
|
|
|
|
|
|
|
typedef unsigned char UCHAR;
|
|
|
|
typedef unsigned char B_UINT8;
|
|
|
|
typedef unsigned short USHORT;
|
|
|
|
typedef unsigned short B_UINT16;
|
|
|
|
typedef unsigned int UINT;
|
|
|
|
typedef unsigned int B_UINT32;
|
|
|
|
typedef unsigned long ULONG;
|
|
|
|
typedef unsigned long DWORD;
|
|
|
|
|
2014-03-15 22:14:43 -06:00
|
|
|
typedef char *PCHAR;
|
|
|
|
typedef short *PSHORT;
|
|
|
|
typedef int *PINT;
|
|
|
|
typedef long *PLONG;
|
|
|
|
typedef void *PVOID;
|
|
|
|
|
|
|
|
typedef unsigned char *PUCHAR;
|
|
|
|
typedef unsigned short *PUSHORT;
|
|
|
|
typedef unsigned int *PUINT;
|
|
|
|
typedef unsigned long *PULONG;
|
2010-09-08 15:46:36 -06:00
|
|
|
typedef unsigned long long ULONG64;
|
|
|
|
typedef unsigned long long LARGE_INTEGER;
|
|
|
|
typedef unsigned int UINT32;
|
|
|
|
#ifndef NULL
|
|
|
|
#define NULL 0
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2014-03-15 22:07:14 -06:00
|
|
|
#endif /* __TYPEDEFS_H__ */
|
2010-09-08 15:46:36 -06:00
|
|
|
|