// 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.


// Dispatch interfaces referenced by this interface
class CWMVProfiles;
class CVideoCompressors;
class CAudioCompressors;
class CTransitions;

/////////////////////////////////////////////////////////////////////////////
// CVideoEdit wrapper class

class CVideoEdit : public CWnd
{
protected:
	DECLARE_DYNCREATE(CVideoEdit)
public:
	CLSID const& GetClsid()
	{
		static CLSID const clsid
			= { 0x57d9af4c, 0x23ba, 0x47ec, { 0xa4, 0xb, 0x2d, 0xa7, 0x96, 0x41, 0xb2, 0x85 } };
		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:
	CWMVProfiles GetWMVProfiles();
	void SetWMVProfiles(LPDISPATCH);
	short GetWMVProfile();
	void SetWMVProfile(short);
	short GetVideoCompressor();
	void SetVideoCompressor(short);
	CVideoCompressors GetVideoCompressors();
	void SetVideoCompressors(LPDISPATCH);
	BOOL GetUseVideoCompressor();
	void SetUseVideoCompressor(BOOL);
	short GetAudioCompressor();
	void SetAudioCompressor(short);
	CAudioCompressors GetAudioCompressors();
	void SetAudioCompressors(LPDISPATCH);
	BOOL GetUseAudioCompressor();
	void SetUseAudioCompressor(BOOL);
	short GetTransition();
	void SetTransition(short);
	CTransitions GetTransitions();
	void SetTransitions(LPDISPATCH);
	short GetOutputFileHeight();
	void SetOutputFileHeight(short);
	short GetOutputFileWidth();
	void SetOutputFileWidth(short);
	short GetVideoSampleSize();
	void SetVideoSampleSize(short);
	BOOL GetOutputAudio();
	void SetOutputAudio(BOOL);
	long GetOutputType();
	void SetOutputType(long);
	float GetFrameRate();
	void SetFrameRate(float);
	long GetMPEGQuality();
	void SetMPEGQuality(long);
	BOOL GetMPEGVBRMode();
	void SetMPEGVBRMode(BOOL);
	long GetMPEGVideoBitrate();
	void SetMPEGVideoBitrate(long);
	long GetMPEGAudioBitrate();
	void SetMPEGAudioBitrate(long);
	BOOL GetEnumTransitions();
	void SetEnumTransitions(BOOL);
	BOOL GetEnumWMVProfiles();
	void SetEnumWMVProfiles(BOOL);
	CString GetWMVCustomFileName();
	void SetWMVCustomFileName(LPCTSTR);

// Operations
public:
	BOOL Save(LPCTSTR strFileName);
	void Cancel();
	double GetFileDuration(LPCTSTR strFileName);
	double GetTotalDuration();
	BOOL Preview();
	BOOL AddAudio(LPCTSTR strFile, double iAudioStart, double iAudioStop);
	BOOL AddVideo(LPCTSTR strFile, double iVideoStart, double iVideoStop, short iStretchMode);
	BOOL AddBgVideo(LPCTSTR strFile, double iVideoStart, double iVideoStop, short iStretchMode);
	BOOL AddTransition(short iTransitionID, double iStart, double iStop);
	BOOL GetFrame(LPCTSTR strInputFile, double iSecond, LPCTSTR strBitmapFile);
	BOOL GetFrameBySize(LPCTSTR strInputFile, double iSecond, LPCTSTR strBitmapFile, short iWidth, short iHeight);
	short GetFileHeight(LPCTSTR strFileName);
	short GetFileWidth(LPCTSTR strFileName);
	double GetFileFrameRate(LPCTSTR strFileName);
	BOOL Save2Wave(LPCTSTR strOutputFile, short iChannels, short iSamplesPerSec, short iBitsPerSample);
	void InitControl();
	void Stop();
	BOOL Save2WMA(LPCTSTR strFileName);
	void AboutBox();
};
