#if !defined(AFX_WEBAGENT_H__58608A2C_EB25_41C4_A06F_7794991A9DED__INCLUDED_) #define AFX_WEBAGENT_H__58608A2C_EB25_41C4_A06F_7794991A9DED__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. ///////////////////////////////////////////////////////////////////////////// // CWebAgent wrapper class class CWebAgent : public CWnd { protected: DECLARE_DYNCREATE(CWebAgent) public: CLSID const& GetClsid() { static CLSID const clsid = { 0xfa740f50, 0x9e7f, 0x4eff, { 0xa7, 0xbf, 0xf7, 0x7d, 0x6f, 0x68, 0xae, 0xf8 } }; 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: CString GetHostIPAddress(); void SetHostIPAddress(LPCTSTR); long GetHostPort(); void SetHostPort(long); CString GetHostUserParam1(); void SetHostUserParam1(LPCTSTR); CString GetHostUserParam2(); void SetHostUserParam2(LPCTSTR); long GetUserDisplayMode(); void SetUserDisplayMode(long); long GetUserAgentType(); void SetUserAgentType(long); long GetUserSiteType(); void SetUserSiteType(long); // Operations public: BOOL MethodConnect(); BOOL MethodDisConnect(); long MethodSetDigitalOutput(short nPortNum, short nPortStatus); BOOL MethodPtzControl(short nPortNum, short nPtzAction, short nPtzIndex, short nPtzSpeed); BOOL MethodRequestData(long nDataType, long nParam, long nSecondParam, long nThirdParam); void MethodEnableSpeedControl(short nSpeedPos); void AboutBox(); }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_WEBAGENT_H__58608A2C_EB25_41C4_A06F_7794991A9DED__INCLUDED_)