00001
00004
00005
00006 #if !defined(AFX_MOUSECLIENT_H__11A493E0_07F8_4B09_AAA5_4BF6847CC5FF__INCLUDED_)
00007 #define AFX_MOUSECLIENT_H__11A493E0_07F8_4B09_AAA5_4BF6847CC5FF__INCLUDED_
00008
00009 #if _MSC_VER > 1000
00010 #pragma once
00011 #endif // _MSC_VER > 1000
00012
00013 #include "mouseMessage.h"
00014
00018 #define MI_UNKNOWN_ERROR 0L
00019 #define MI_SUCCESS 1L
00020 #define MI_NO_MESSAGE 2L
00021 #define MI_INVALID_PTR 3L
00022 #define MI_NOT_CONNECTED 4L
00023
00032 class MouseClient : public PClient
00033 {
00034 public:
00035 DWORD deQueueMessage(mouseMessage *message);
00036
00037 virtual DWORD connect();
00038 virtual void disconnect();
00039
00040 MouseClient(const TString &);
00041 virtual ~MouseClient();
00042 private:
00043 HANDLE hasMessage;
00044
00045 TString semName;
00046
00047 };
00048
00049 #endif // !defined(AFX_MOUSECLIENT_H__11A493E0_07F8_4B09_AAA5_4BF6847CC5FF__INCLUDED_)