📄 multibuff.h
字号:
#ifndef __MULTIBUFF_H__
#define __MULTIBUFF_H__
typedef int (CALLBACK *LPCOMPAREFUNC)(LPARAM, LPARAM, LPARAM);
typedef BOOL (CALLBACK *LPFINDFUNC)(LPARAM, LPARAM);
#define __CHECK_VALUE
class CMultiBuff
{
protected:
DWORD* m_pData;
int m_nSize;
public:
CMultiBuff();
~CMultiBuff();
DWORD GetAt(int iPos);
void SetAt(int iPos, DWORD dwValue);
DWORD RemoveAt(int iPos);
void RemoveAll();
void Insert(DWORD dwValue, int nIndex);
int Add(DWORD dwValue);
int GetCount();
BOOL IsEmpty();
BOOL Sort(LPCOMPAREFUNC pfnCompare, DWORD dwParam);
int Find(LPFINDFUNC pfnFind, int iStart, DWORD dwParam);
};
#endif //!__MULTIBUFF_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -