msgmoncl.h
来自「自动生成虚拟设备驱动(VXD)的C++代码的一个库」· C头文件 代码 · 共 35 行
H
35 行
//////////////////////////////
// Declares MsgMon class
// FileName: MsgMonCl.h
// Copyright (c) 1997 by Somnath Kundu. All Rights Reserved.
#ifndef _MSGMONCL_H
#define _MSGMONCL_H
class MsgMon
{
struct MSGTIME
{
DWORD Msg; // Control message value
DWORD Time; // Time in ms.
};
MSGTIME* MsgTime; // Pointer to array of MSGTIME
static const char* MsgStr[];
DWORD *pSysTime; // pointer to system time variable
int MaxCount,MsgCount;
public:
MsgMon (); // allocate memory for
~MsgMon ();
int Count () { return MsgCount; } // returns the no. of message saved
void Save (int msg); // save message and its time stamp in ms.
int GetMsg (int msgno, char* pMsg); // retrive the message string
friend void __cdecl ControlProc (); // our private control proc
};
extern MsgMon SysMsgMon;
#endif // _MSGMON_H
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?