ITek_type.h
资源名称:mac.zip [点击查看]
上传用户:cnfair
上传日期:2007-01-07
资源大小:32k
文件大小:1k
源码类别:
驱动编程
开发平台:
Visual C++
- //
- // ITek_type.h
- //
- // ImpressTek MAC driver type definition header file
- //
- #ifndef _ITEK_TYPE_H_
- #define _ITEK_TYPE_H_
- /*
- #ifndef TRUE
- #define TRUE (1)
- #endif
- #ifndef FALSE
- #define FALSE (0)
- #endif
- #ifndef BOOLEAN
- typedef int BOOLEAN;
- #endif
- #ifndef BOOL
- typedef int BOOL;
- #endif
- */
- #ifndef NDIS_API
- #define NDIS_API _stdcall
- #endif
- #ifndef VOID
- #define VOID void
- #endif
- #ifndef STATIC
- #define STATIC static
- #endif
- #ifndef BYTE
- typedef unsigned char BYTE;
- #endif
- #ifndef WORD
- typedef unsigned short WORD;
- #endif
- #ifndef DWORD
- typedef unsigned long DWORD;
- #endif
- #ifndef PDWORD
- typedef unsigned long *PDWORD;
- #endif
- #ifndef ULONG
- typedef unsigned long ULONG;
- #endif
- #ifndef UINT
- typedef unsigned int UINT;
- #endif
- #ifndef CHAR
- typedef char CHAR;
- #endif
- #ifndef PCHAR
- typedef CHAR *PCHAR;
- #endif
- #ifndef UCHAR
- typedef unsigned char UCHAR;
- #endif
- typedef enum {NIC_DISABLED = 0, NIC_CONFIGURING, NIC_RESETTING, NIC_ENABLED} NIC_STATUS;
- typedef enum {ITEK_NOT_FOUND = 0, ITEK_FOUND = 1} ITEK_STATUS;
- #endif // _ITEK_TYPE_H_