ver10.h
上传用户:thirty
上传日期:2007-01-08
资源大小:37k
文件大小:3k
源码类别:

串口编程

开发平台:

Visual C++

  1. // ver10.h : main header file for the VER10 DLL
  2. //
  3. /*--------------------------------------------------*/
  4. //HERE WE DEFINET THE WINDOW MESSAGE 
  5. //
  6. const UINT WM_SHOWTHREADBEGIN = RegisterWindowMessage("ShowThreadBegin");
  7. const UINT WM_SHOWTHREADSETTING = RegisterWindowMessage("ShowThreadSetting");
  8. const UINT WM_SHOWTHREADPLAY = RegisterWindowMessage("ShowThreadPlay");
  9. const UINT WM_SHOWTHREADSTOP = RegisterWindowMessage("ShowThreadStop");
  10. const UINT WM_SHOWTHREADCLEAR = RegisterWindowMessage("ShowThreadClear");
  11. const UINT WM_SHOWTHREADEND = RegisterWindowMessage("ShowThreadEnd");
  12. //const UINT WM_FLICNOTIFY = RegisterWindowMessage("Flic Play Notify");
  13. const UINT WM_COMM_CTS_DETECTED = RegisterWindowMessage("CommuDetect");
  14. const UINT WM_COMM_RXFLAG_DETECTED=RegisterWindowMessage("CommuRfxflag");
  15. const UINT WM_COMM_BREAK_DETECTED=RegisterWindowMessage("CommuBreak");
  16. const UINT WM_COMM_ERR_DETECTED=RegisterWindowMessage("CommuErr");
  17. const UINT WM_COMM_RING_DETECTED=RegisterWindowMessage("CommuRing");
  18. const UINT WM_COMM_RXCHAR=RegisterWindowMessage("CommuRxchar");
  19. /*
  20. const UINT WM_CHANGEWINDOWPOS = RegisterWindowMessage("ChangeWindowPos");
  21. const UINT WM_CHANGENETPARAMETERS=RegisterWindowMessage("ServeSocket Parameters Changed");
  22. const UINT WM_SERVERECEIVEDATA = RegisterWindowMessage("ServeSocket Received Data");
  23. const UINT WM_CLOSESOCKET = RegisterWindowMessage("ServeSocket is Closeed");
  24. const UINT WM_CLIENTSTATIC     = RegisterWindowMessage("Client Socket Static is Changed");
  25. const UINT WM_DATACHANGE  =RegisterWindowMessage("String Data Changed");
  26. */
  27. //-----------------------------------------------------------------------------
  28. #if !defined(AFX_VER10_H__D9916CE6_EEC9_11D3_84B8_0080C866EAF1__INCLUDED_)
  29. #define AFX_VER10_H__D9916CE6_EEC9_11D3_84B8_0080C866EAF1__INCLUDED_
  30. #if _MSC_VER > 1000
  31. #pragma once
  32. #endif // _MSC_VER > 1000
  33. #ifndef __AFXWIN_H__
  34. #error include 'stdafx.h' before including this file for PCH
  35. #endif
  36. #include "resource.h" // main symbols
  37. /////////////////////////////////////////////////////////////////////////////
  38. // CVer10App
  39. // See ver10.cpp for the implementation of this class
  40. //
  41. class CVer10App : public CWinApp
  42. {
  43. public:
  44. int test();
  45. int close();
  46. int gooo();
  47. int runcomm();
  48. CVer10App();
  49. // Overrides
  50. // ClassWizard generated virtual function overrides
  51. //{{AFX_VIRTUAL(CVer10App)
  52. //}}AFX_VIRTUAL
  53. //{{AFX_MSG(CVer10App)
  54. // NOTE - the ClassWizard will add and remove member functions here.
  55. //    DO NOT EDIT what you see in these blocks of generated code !
  56. //}}AFX_MSG
  57. DECLARE_MESSAGE_MAP()
  58. };
  59. /////////////////////////////////////////////////////////////////////////////
  60. //{{AFX_INSERT_LOCATION}}
  61. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  62. #endif // !defined(AFX_VER10_H__D9916CE6_EEC9_11D3_84B8_0080C866EAF1__INCLUDED_)