MyUdpThread.h
上传用户:deligs
上传日期:2007-01-08
资源大小:43k
文件大小:1k
源码类别:

网络编程

开发平台:

Visual C++

  1. #if !defined(MYUDP_THREAD_H_INCLUDED_)
  2. #define MYUDP_THREAD_H_INCLUDED_
  3. #include "LogIt.h"
  4. // MyUdpThread.h : interface of the controlling function of the MyUdp communication thread
  5. //
  6. struct MessageInfo
  7. {
  8. HANDLE hEvent_GetParametersOK;
  9. HWND hwndShowMsg;
  10. BOOL* pbMsgShowing;
  11. CString strMsgText;
  12. CString strMsgTitle;
  13. UINT uMsgStyle;
  14. };
  15. // Controlling function for the MyUdp communication thread.
  16. UINT MyUdpThreadProc(LPVOID pParam /* CMyUdpInfo ptr */);
  17. UINT ThreadMessageBox(LPVOID pParam /* MsgInfo ptr */);
  18. #endif // !defined(MYUDP_THREAD_H_INCLUDED_)