Com.h
资源名称:视频会议系统.rar [点击查看]
上传用户:popouu88
上传日期:2013-02-11
资源大小:2894k
文件大小:1k
源码类别:
IP电话/视频会议
开发平台:
Visual C++
- // Com.h: interface for the CCom class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_COM_H__A825A5DF_6290_4A84_8CE3_E323010619DF__INCLUDED_)
- #define AFX_COM_H__A825A5DF_6290_4A84_8CE3_E323010619DF__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #define UP 1
- #define DOWN 2
- #define LEFT 3
- #define RIGHT 4
- #define AUTO 5
- #define FOCUS_LESSEN 6
- #define FOCUS_LARGEN 7
- #define ZOOM_LESSEN 8
- #define ZOOM_LARGEN 9
- #define IRIS_LESSEN 10
- #define IRIS_LARGEN 11
- #define FULLSCREEN 12
- class CCom
- {
- public:
- CCom( );
- virtual ~CCom( );
- virtual BOOL Open( int nPort , const char *buf );
- virtual void Close( void );
- virtual BOOL Write( void * buffer , DWORD size );
- virtual BOOL Read( void * buffer , DWORD size );
- private:
- HANDLE hCom;
- };
- #endif // !defined(AFX_COM_H__A825A5DF_6290_4A84_8CE3_E323010619DF__INCLUDED_)