util.h
来自「一个用BCB写的壳!」· C头文件 代码 · 共 33 行
H
33 行
// 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 + =
减小字号Ctrl + -
显示快捷键?