#if !defined(AFX__VCC5CTRL_H__082F608C_22CB_4A29_8956_5AD15F0C69E1__INCLUDED_)
#define AFX__VCC5CTRL_H__082F608C_22CB_4A29_8956_5AD15F0C69E1__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.

/////////////////////////////////////////////////////////////////////////////
// C_Vcc5Ctrl wrapper class

class C_Vcc5Ctrl : public CWnd
{
protected:
	DECLARE_DYNCREATE(C_Vcc5Ctrl)
public:
	CLSID const& GetClsid()
	{
		static CLSID const clsid
			= { 0xf17cb714, 0x1512, 0x4f35, { 0x9e, 0x1b, 0xaf, 0xea, 0x56, 0xd7, 0x33, 0xd7 } };
		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:

// Operations
public:
	long GetErrorcode();
	void SetErrorcode(long nNewValue);
	void Terminate();
	long CommOpen(long prPort, long prSpeed, long prBytesize, long prParity, long prStopbit);
	long CommClose();
	long GetLastError(long* lError);
	short GetPicData(long lindex);
	long GetLastCmdStr();
	short GetPicLastCmd(long lindex);
	long GetCommModemStatus();
	long SetCameraPower(long lUnit, long lMode);
	long SetFocusMode(long lUnit, long lMode);
	long SetFocusPosition(long lUnit, long lFocusPos);
	long GetFocusPosition(long lUnit);
	long SetOnePushAF(long lUnit);
	long GetFocusRange(long lUnit);
	long SetZooming(long lUnit, long lMode);
	long SetZoomPosition(long lUnit, long lPos);
	long GetZoomPosition(long lUnit);
	long SetZoomPosition4(long lUnit, long lPos);
	long GetZoomPosition4(long lUnit);
	long SetZoomSpeed(long lUnit, long lSpeed);
	long GetZoomSpeed(long lUnit);
	long GetZoomMax(long lUnit);
	long SetBackLight(long lUnit, long lMode);
	long SetExposed(long lUnit, long lMode);
	long SetAELock(long lUnit, long lMode);
	long SetShutterSpeedx(long lUnit, long lSpeed);
	long GetShutterSpeed(long lUnit);
	long SetShutterSpeed(long lUnit, long lMode);
	long SetAGCGain(long lUnit, long lGain);
	long GetAGCGain(long lUnit);
	long SetIris(long lUnit, long lIris);
	long GetIris(long lUnit);
	long SetAEVal(long lUnit, long lAEVal);
	long GetAEVal(long lUnit);
	long SetWhiteBalance(long lUnit, long lMode);
	long SetWhiteBalanceMx(long lUnit, long lGain);
	long GetWhiteBalance(long lUnit);
	long SetFading(long lUnit, long lMode);
	long CameraReset(long lUnit);
	long GetZoomRatio(long lUnit);
	long GetCCDSize(long lUnit);
	long GetCameraVersion(long lUnit, long lMode);
	long SetMotorSpeed(long lUnit, long lMode, long lSpeed);
	long GetMotorSpeed(long lUnit, long lMode);
	long SetPanTilt1(long lUnit, long lMode);
	long GotoHomePosition(long lUnit);
	long PedestalInitialize(long lUnit, long lMode);
	long GetLimitSpeed(long lUnit, long lMode);
	long GetGearRatio(long lUnit, long lMode);
	long GetLimitAngle(long lUnit, long lMode);
	long SetPanTilt2(long lUnit, long lMode);
	long SetPTAngle1(long lUnit, long lMode, long lAngle1, long lAngle2);
	long GetPTAngle1(long lUnit, long lMode);
	long SetPTAngle2(long lUnit, long lAngle1, long lAngle2);
	long GetPTAngle2(long lUnit);
	long SetIRRemote(long lUnit, long lMode);
	long GetOperateStatus(long lUnit);
	long GetExtendedOperateStatus(long lUnit);
	long GetUnitName(long lUnit);
	long GetRomVersion(long lUnit);
	long SetPresetMemory(long lUnit, long lMemory);
	long GoToPreset(long lUnit, long lMemory);
	long GetPresetStatus(long lUnit);
	long GetExtendPreset(long lUnit);
	long RemoteCommandPass(long lUnit, long lMode);
	long SetLed(long lUnit, long lMode);
	long SetCascade(long lUnit, long lMode);
	long SetCmdMode(long lUnit, long lMode);
	long SetOnScreen(long lUnit, long lMode);
	long SetTitleString(long lUnit, long lx, long ly, long lCharacter);
	long GetTitleString(long lUnit, long lx, long ly);
	long SetDate(long lUnit, long lYear, long lMoon, long lDay);
	long GetDate(long lUnit);
	long SetTime(long lUnit, long lHour, long lMinutes, long lSecond);
	long GetTime(long lUnit);
	long GetCameraTime(long lUnit);
	long GetPTTime(long lUnit);
	long SetDefault(long lUnit);
	long SetNotify(long lUnit, long lMode);
	long SetGlobalNotify(long lUnit, long lMode);
	long GetPedestalModel(long lUnit);
	long GetCameraModel(long lUnit);
	long SetDomeData(long lUnit, long lDome);
	long GetDomeData(long lUnit);
	long SetElectronicZoom(long lUnit, long lMode);
	long GetElectronicZoom(long lUnit);
	long SetAlarmOutput(long lUnit, long lMode);
	long GetAlarmOutput(long lUnit);
	long SetExtSensorDetect(long lUnit, long lMode);
	long GetExtSensorDetect(long lUnit);
	long GetExtSensorInput(long lUnit);
	long SetIRLight(long lUnit, long lMode);
	long GetIRLight(long lUnit);
	long SetExtLightMode(long lUnit, long lMode);
	long GetExtLightMode(long lUnit);
	long SetIRCutFilter(long lUnit, long lMode);
	long GetIRCutFilter(long lUnit);
	long SetNoiseReduction(long lUnit, long lMode);
	long GetNoiseReduction(long lUnit);
	long GetOperateStatus3(long lUnit);
	long GetOperateStatus4(long lUnit);
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX__VCC5CTRL_H__082F608C_22CB_4A29_8956_5AD15F0C69E1__INCLUDED_)
