retypes.h

来自「一个类似与Windows环境下的softice的源代码」· C头文件 代码 · 共 84 行

H
84
字号
/******************************************************************************* * * Copyright (c) 2003 Gerhard W. Gruber * * PROJECT: pICE * $Source: /cvsroot/pice/pice/module/retypes.h,v $ * $Revision: 1.5 $ * $Date: 2004/02/17 23:07:37 $ * $Author: lightweave $ * $Name:  $ * * $Log: retypes.h,v $ * Revision 1.5  2004/02/17 23:07:37  lightweave * * Improved the DEBUG facillity and replaced the configuration handler with a * new code which now can read MS Windows INI style files. See CHANGES.txt for * more details. * Also added a macro which prevents compiling for kernels before 2.4.19. * * Revision 1.4  2003/06/18 22:00:22  lightweave * DEBUG and DEBUG_SERIAL added * * *****************************************************************************//*++Copyright (c) 1998-2001 Klaus P. GerlicherModule Name:    retypes.hAbstract:    HEADER for type remapping (porting from NT code)Environment:    LINUX 2.2.X    Kernel mode onlyAuthor:     Klaus P. GerlicherRevision History:    15-Nov-2000:    general cleanup of source filesCopyright notice:  This file may be distributed under the terms of the GNU Public License.--*/#ifndef _RETYPES_H#define _RETYPES_Htypedef unsigned int ULONG,*PULONG;typedef unsigned short USHORT,*PUSHORT, UWORD;typedef unsigned char UCHAR,*PUCHAR,BYTE,*PBYTE, UBYTE;typedef signed int LONG,*PLONG;typedef signed short SHORT,*PSHORT, WORD;typedef signed char CHAR,*PCHAR,*LPSTR,*PSTR;typedef void VOID,*PVOID;typedef char BOOLEAN,*PBOOLEAN;#define FALSE (0==1)#define TRUE (1==1)#ifndef NULL#define NULL ((void*)0)#endif // dimension macro#define DIM(name) (sizeof(name)/sizeof(name[0]))#endif

⌨️ 快捷键说明

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