⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 msgmoncl.h

📁 自动生成虚拟设备驱动(VXD)的C++代码的一个库 COOL!
💻 H
字号:
//////////////////////////////
// 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -