📄 mlwinapputility.h
字号:
///////////////////////////////////////////////////////////////////////////////
//
// File: mlWinAppUtility.h
//
// Author: Frank Luna (C) All Rights Reserved
//
// System: Athlon 1800+ XP, 512 DDR, Radeon 9500 Pro, Windows XP, MSVC++ 7.0
//
// Desc: Contains generally useful types and functions for a variety of
// applications. Some of the code is dependent upon win32 architecture
// and COM.
//
///////////////////////////////////////////////////////////////////////////////
#ifndef __mlAppUtilityH__
#define __mlAppUtilityH__
#include <unknwn.h>
#include <string>
#include <vector>
#include <cstdlib>
typedef unsigned char byte;
typedef unsigned char uint8;
typedef unsigned short uint16;
typedef unsigned long uint32;
typedef unsigned __int64 uint64;
typedef char int8;
typedef short int16;
typedef long int32;
typedef __int64 int64;
typedef const std::string cstring;
#define Delete(x) { if(x){ delete x; x = 0; } }
#define DeleteArray(x){ if(x){ delete[] x; x = 0; } }
#define ReleaseCOM(x) { if(x){ x->Release();x = 0; } }
#endif // __mlAppUtilityH__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -