📄 mydef.h
字号:
/*
* BREW Extension Library
* Copyright (c) 2002-2003 BREW Development Team, Zhejiang University
* All Rights Reserved.
*/
/*!-----------------------------------
@file
@author 吴晓东<east_woo@163.com>
@par CVS Header:
$Header: /DEVELOP/BEL/include/MyDef.h,v 1.2 2003/11/06 09:19:51 wxd Exp $
@brief 一些抽象数据类型和常用宏的定义
-----------------------------------*/
#ifndef __MYDEF_H
#define __MYDEF_H
#include <assert.h>
#include "AEEStdLib.H"
typedef void* PVOID;
typedef char* PSTR;
typedef const char* PCSTR;
typedef boolean BOOL;
typedef BOOL* PBOOL;
typedef char CHAR;
typedef unsigned char UCHAR;
typedef short SHORT;
typedef SHORT* PSHORT;
typedef unsigned short USHORT;
typedef USHORT* PUSHORT;
typedef int INT;
typedef INT* PINT;
typedef unsigned int UINT;
typedef UINT* PUINT;
typedef long LONG;
typedef LONG* PLONG;
typedef unsigned long ULONG;
typedef ULONG* PULONG;
typedef int8 SBYTE;
typedef SBYTE* PSBYTE;
typedef int16 SWORD;
typedef SWORD* PSWORD;
typedef int32 SDWORD;
typedef SDWORD* PSDWORD;
typedef uint8 BYTE;
typedef BYTE* PBYTE;
typedef uint16 WORD;
typedef WORD* PWROD;
typedef uint32 DWORD;
typedef DWORD* PDWORD;
typedef WORD WPARAM;
typedef WPARAM* PWPARAM;
typedef DWORD DWPARAM;
typedef DWPARAM* PDWPARAM;
#define SUCCEED(x) ((x)==SUCCESS)
#define FAILED(x) ((x)!=SUCCESS)
#define MEM_ZERO(p,Size) MEMSET((p),0,(Size))
#define SAFE_DELETE(p) do{if (p){delete p;p=NULL;}}while(0)
#define SAFE_RELEASE(TYPE,p) do{if (p){TYPE##_Release(p);p=NULL;}}while(0)
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -