videocomm.h
上传用户:zheng6500
上传日期:2007-05-15
资源大小:335k
文件大小:2k
- #if !defined(AFX_VIDEOCOMM_H__086E27A6_EBA7_4847_AA61_7C0E39F2469C__INCLUDED_)
- #define AFX_VIDEOCOMM_H__086E27A6_EBA7_4847_AA61_7C0E39F2469C__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
- // NOTE: Do not modify the contents of this file. If this class is regenerated by
- // Microsoft Visual C++, your modifications will be overwritten.
- /////////////////////////////////////////////////////////////////////////////
- // CVideoComm wrapper class
- class CVideoComm : public CWnd
- {
- protected:
- DECLARE_DYNCREATE(CVideoComm)
- public:
- CLSID const& GetClsid()
- {
- static CLSID const clsid
- = { 0x9a1702a6, 0xd28d, 0x42b0, { 0x9d, 0xa3, 0x49, 0x1d, 0x30, 0x20, 0xd4, 0x8b } };
- return clsid;
- }
- virtual BOOL Create(LPCTSTR lpszClassName,
- LPCTSTR lpszWindowName, DWORD dwStyle,
- const RECT& rect,
- CWnd* pParentWnd, UINT nID,
- CCreateContext* pContext = NULL)
- { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
- BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
- const RECT& rect, CWnd* pParentWnd, UINT nID,
- CFile* pPersist = NULL, BOOL bStorage = FALSE,
- BSTR bstrLicKey = NULL)
- { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
- pPersist, bStorage, bstrLicKey); }
- // Attributes
- public:
- short GetVideoWidth();
- void SetVideoWidth(short);
- short GetVideoHeight();
- void SetVideoHeight(short);
- // Operations
- public:
- void Init();
- void AddDestIp(LPCTSTR ipaddr);
- void DelDestIp(LPCTSTR ipaddr);
- void Start();
- void Stop();
- void ZoomIn();
- void ZoomOut();
- void ZoomToInital();
- void ShowLocalVideo(BOOL bShow);
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_VIDEOCOMM_H__086E27A6_EBA7_4847_AA61_7C0E39F2469C__INCLUDED_)