home *** CD-ROM | disk | FTP | other *** search
/ Windows Graphics Programming / Feng_Yuan_Win32_GDI_DirectX.iso / Samples / Chapt_04 / Diver / Report.h < prev    next >
C/C++ Source or Header  |  2000-05-16  |  1KB  |  37 lines

  1. //-----------------------------------------------------------------------------------//
  2. //              Windows Graphics Programming: Win32 GDI and DirectDraw               //
  3. //                             ISBN  0-13-086985-6                                   //
  4. //                                                                                   //
  5. //  Written            by  Yuan, Feng                             www.fengyuan.com   //
  6. //  Copyright (c) 2000 by  Hewlett-Packard Company                www.hp.com         //
  7. //  Published          by  Prentice Hall PTR, Prentice-Hall, Inc. www.phptr.com      //
  8. //                                                                                   //
  9. //  FileName   : report.h                                                             //
  10. //  Description: Send report to spy control program                                  //
  11. //  Version    : 1.00.000, May 31, 2000                                              //
  12. //-----------------------------------------------------------------------------------//
  13.  
  14. typedef enum
  15. {   
  16.     M_CREATE,
  17.     M_DESTROY,
  18.     M_ENTER,
  19.     M_LEAVE,
  20.     M_ENTERSUMMARY,
  21.     M_LEAVESUMMARY,
  22.     M_MAILBOX,
  23.     M_TEXT
  24. } ReportMessageId;
  25.  
  26.  
  27. class ReportMessage
  28. {
  29. public:
  30.     unsigned m_para;
  31.     unsigned m_time;
  32.     unsigned m_tick;
  33.     TCHAR    m_text[256];
  34. };
  35.  
  36. LRESULT Send(unsigned id, unsigned para, unsigned time, const char *messtext);
  37.