📄 util.h
字号:
// Util.h: interface for the CUtil class.
//
//////////////////////////////////////////////////////////////////////
#ifndef util_h
#define util_h
#include "stdafx.h"
#include "defs.h"
namespace PE {
class CUtil
{
private:
static const DWORD c_dwNumDebugTypes;
// Make constructor private so no objects can be created from CUtil
CUtil();
public:
static LPCSTR GetDebugTypeString(DWORD dwType);
static LPCSTR GetErrorString(PE_ERROR error);
static LPCSTR GetDateString(DWORD dwStamp);
// Get number of debug types supported by GetDebugTypeString
static DWORD GetNumDebugTypes(void);
// Align value to another value
static DWORD Align(DWORD dwVal, DWORD dwAlignVal);
static LPCSTR GetResourceName(DWORD dwID);
static std::string GetResourceString(LPBYTE pData);
};
}
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -