📄 qcvideox.h
字号:
#if !defined(AFX_QCVIDEOX_H__59BF3DF3_CF38_11D3_95F2_00600895DAA5__INCLUDED_)
#define AFX_QCVIDEOX_H__59BF3DF3_CF38_11D3_95F2_00600895DAA5__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.
/////////////////////////////////////////////////////////////////////////////
// CQCVideoX wrapper class
class CQCVideoX : public CWnd
{
protected:
DECLARE_DYNCREATE(CQCVideoX)
public:
CLSID const& GetClsid()
{
static CLSID const clsid
= { 0x4a49e33f, 0xee47, 0x11d1, { 0xae, 0xa, 0x0, 0xa0, 0xc9, 0x2a, 0x54, 0xb0 } };
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:
void EventNotifications(long dwEvents);
BOOL SaveSingleFrameToFile(LPCTSTR lpFilePath);
BOOL SetVideoDisplay(BOOL bDisplayVideo);
BOOL GetVideoDisplay();
BOOL SetColorDepth(short nColorDepth);
BOOL SetOrientation(short nOrientation);
BOOL SetFrameSize(short cxFrameSize, short cyFrameSize);
BOOL SetBrightnessMode(short nMode);
BOOL SetBrightnessMagnitude(short nBrightnessMagnitude);
BOOL SetContrastMagnitude(short nConstrastMagnitude);
BOOL SetColorMode(short nColorMode);
BOOL SetRed(short nColor);
BOOL SetGreen(short nGreen);
BOOL SetBlue(short nBlue);
BOOL SetSaturation(short nSaturation);
BOOL BeginSavingVideo();
BOOL AddFrame();
BOOL StopSavingVideo();
BOOL IsVideoRecording();
BOOL DlgVideoFormat();
BOOL DlgVideoSource();
BOOL InitSavingVideo(long dwMode, LPCTSTR lpFilePath, long dwMillsecondsPerFrame, BOOL bRecordAudio);
BOOL UnInitialization();
BOOL GetDriverDevice(short* nDevice);
BOOL GetDriverVersion(BSTR* lpDriverVersion);
BOOL GetDriverName(BSTR* lpDriverName);
BOOL GetSaturation(short* nSaturation);
BOOL GetBlue(short* nColor);
BOOL GetGreen(short* nColor);
BOOL GetRed(short* nColor);
BOOL GetColorMode(short* nMode);
BOOL GetContrastMagnitude(short* nConstrast);
BOOL GetBrightnessMagnitude(short* nBrightness);
BOOL GetBrightnessMode(short* nMode);
BOOL GetOrientation(short* nOrientation);
BOOL GetColorDepth(short* nColorDepth);
BOOL GetAudioFormat(short* nChannels, long* dwSamplesPerSecond, short* nBitsPerSample);
BOOL SetAudioFormat(short nChannels, long dwSamplesPerSec, short nBitsPerSample);
BOOL GetDriverDescription(short nDevice, BSTR* lpDriverName, BSTR* lpDriverVersion);
BOOL Initialization(short nDevice);
BOOL GetFrameSize(short* cxFrameSize, short* cyFrameSize);
BOOL GetMaxFrameSize(LPUNKNOWN pBoundingRect);
BOOL SetMaxFrameSize(LPUNKNOWN pNewBoundingRect);
BOOL SetExposure(short nExposure);
BOOL GetExposure(short* nExposure);
BOOL SaveSingleFrameToFileWithStamp(LPCTSTR lpFilePath, LPCTSTR lpText);
void SetSingleFrameStampInfo(long textColor, LPCTSTR lpFontName, short PointSize, BOOL bShadowText, long shadowColor, BOOL bTransparent, long colorOpaque);
void RestoreDriverDefaults();
BOOL GetCompression(short* nCompression);
BOOL SetCompression(short nCompression);
BOOL SetCyanRedColor(short nColor);
BOOL SetYellowBlueColor(short nColor);
BOOL GetCyanRedColor(short* nColor);
BOOL GetYellowBlueColor(short* nColor);
BOOL SetGain(short nGain);
BOOL GetGain(short* nGain);
BOOL SetPictureSmartProperties(long dwLensType, long dwLightSetting);
BOOL GetPictureSmartProperties(BOOL* pbEnabled, long* pdwLensType, long* pdwLightSetting);
BOOL GetLowLightFilter();
long GetPortMode();
void SetTakePictureSound(LPCTSTR lpWaveFile);
BOOL EnablePictureSmart(BOOL bEnable);
BOOL SetLowLightFilter(BOOL bEnable);
void AboutBox();
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_QCVIDEOX_H__59BF3DF3_CF38_11D3_95F2_00600895DAA5__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -