MAIN.H
上传用户:bjghjy
上传日期:2007-01-07
资源大小:379k
文件大小:1k
- #define SERVER_VERSION 1
- #define WM_HQ_INIT WM_USER+1
- #define WM_UDP_HQ WM_USER+5
- #define WM_UDP_JY WM_USER+6
- #define TIMER_CHECKECHO 1
- #define TIMER_CHECKSEND 2
- #define TIMER_CHECKTIME 3
- HWND ghWndMain;
- HINSTANCE ghInstance;
- //LONG g_lNumReaders ;
- //HANDLE g_hEventDataReady;
- //HANDLE g_hSemReaders;
- HANDLE g_hEventDataWrite;
- BOOL ErrMsg(HWND hWnd, LPSTR msg);
- BOOL AppInit(void);
- void AppExit(void);
- //short CheckTime(void);
- void MsgSend(char far *msg);
- void MsgRecv(char far *msg);
- void MsgLocal(LPSTR msg);
- HBRUSH DrawChild(HDC hDC, HWND hWnd);
- BOOL PASCAL DrawDlgFrame(HWND,int, int);
- BOOL GetInitString(char *Entry, char *Item, char *buf);
- BOOL PutInitString(char *Entry, char *Item, char *buf);
- void GlobalVaryInit(void);