📄 tmwindef.h
字号:
/*
* Copyright (c) 1995,1996,1997 by Philips Semiconductors.
*
* +------------------------------------------------------------------+
* | This software is furnished under a license and may only be used |
* | and copied in accordance with the terms and conditions of such |
* | a license and with the inclusion of this copyright notice. This |
* | software or any other copies of this software may not be provided|
* | or otherwise made available to any other person. The ownership |
* | and title of this software is not transferred. |
* | |
* | The information in this software is subject to change without |
* | any prior notice and should not be construed as a commitment by |
* | Philips Semiconductors. |
* | |
* | this code and information is provided "as is" without any |
* | warranty of any kind, either expressed or implied, including but |
* | not limited to the implied warranties of merchantability and/or |
* | fitness for any particular purpose. |
* +------------------------------------------------------------------+
*
* Module name : tmwindef.h 1.2
*
* Last update : 09:12:17 - 97/03/21
*
* Description :
*
* Contains the type defines that are available pn the host via standard
* windows sdk & ddk include files but are not avaiable on the target.
* This file should be included on the target only
*
*
* Revision :
* 951110 Tilakraj Roy Created
*
*/
#ifndef TMWINDEF_INCLUDED
#define TMWINDEF_INCLUDED
#ifdef __cplusplus
extern "C" {
#endif
/*-------------------------------types----------------------------------------*/
typedef unsigned long DWORD;
typedef DWORD *PDWORD;
typedef unsigned short WORD;
typedef WORD *PWORD;
typedef unsigned char BYTE;
typedef BYTE *PBYTE;
#define VOID void
typedef VOID *PVOID;
typedef DWORD BOOL;
typedef BOOL *PBOOL;
/*
Removed due to conflicts with pSOS
#ifndef ULONG
#define ULONG unsigned long
#endif
typedef ULONG *PULONG;
*/
typedef signed char CHAR;
typedef CHAR *PCHAR;
/*-----------------------------includes-------------------------------------*/
/*-----------------------------defines---------------------------------------*/
#ifndef TRUE
#define TRUE 1
#endif
#ifndef FALSE
#define FALSE 0
#endif
#ifndef NULL
#define NULL (0)
#endif
#define MIN(a,b) ((a) < (b) ? (a) : (b) )
#ifdef __cplusplus
};
#endif /* C++ */
#endif /* TMWINDEF_INCLUDED */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -