HeavenInterface.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:1k
- /********************************************************************
- created: 2003/03/17
- file base: HeavenInterface
- file ext: h
- author: liupeng
-
- purpose:
- *********************************************************************/
- #ifndef __INCLUDE_INTERFACE_HEAVENINTERFACE_H__
- #define __INCLUDE_INTERFACE_HEAVENINTERFACE_H__
- #if defined (_MSC_VER) && (_MSC_VER >= 1020)
- #pragma once
- #endif
- #ifndef _WINDOWS_
- #define WIN32_LEAN_AND_MEAN
- #include <windows.h>
- #undef WIN32_LEAN_AND_MEAN
- #endif
- #define CLIENT_MSG_BASE 0x100
- #define CLIENT_CONNECT_CREATE CLIENT_MSG_BASE + 1
- #define CLIENT_CONNECT_CLOSE CLIENT_MSG_BASE + 2
- /*
- * If you install this function, You can get some event that
- * it happend on all whole client. example: a connect come from client,
- * a client close the current link, etc.
- */
- typedef VOID ( CALLBACK *CALLBACK_SERVER_EVENT )(
- const unsigned long &ulnID,
- const unsigned long &ulnEventType
- /* CLIENT_CONNECT_CREATE | CLIENT_CONNECT_CLOSE */ );
- #endif // __INCLUDE_INTERFACE_HEAVENINTERFACE_H__