cromwell_types.h

来自「ReactOs中的USB驱动」· C头文件 代码 · 共 28 行

H
28
字号
#ifndef cromwell_types_h
#define cromwell_types_h

/////////////////////////////////
// some typedefs to make for easy sizing

//typedef unsigned long ULONG;
typedef unsigned int u32;
typedef unsigned short u16;
typedef unsigned char u8;
#ifndef bool_already_defined_
	typedef int bool;
#endif
typedef unsigned long RGBA; // LSB=R -> MSB = A
//typedef long long __int64;

#define guint int
#define guint8 unsigned char

#define true 1
#define false 0

#ifndef NULL
#define NULL ((void *)0)
#endif

#endif /* #ifndef cromwell_types_h */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?