⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cvdisplay.cpp

📁 数码摄像机1394接口编程的例子
💻 CPP
📖 第 1 页 / 共 2 页
字号:
// 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.


#include "stdafx.h"
#include "cvdisplay.h"

/////////////////////////////////////////////////////////////////////////////
// CCVdisplay

IMPLEMENT_DYNCREATE(CCVdisplay, CWnd)

/////////////////////////////////////////////////////////////////////////////
// CCVdisplay properties

long CCVdisplay::GetImage()
{
	long result;
	GetProperty(0x1, VT_I4, (void*)&result);
	return result;
}

void CCVdisplay::SetImage(long propVal)
{
	SetProperty(0x1, VT_I4, propVal);
}

double CCVdisplay::GetDisplayGain()
{
	double result;
	GetProperty(0x2, VT_R8, (void*)&result);
	return result;
}

void CCVdisplay::SetDisplayGain(double propVal)
{
	SetProperty(0x2, VT_R8, propVal);
}

long CCVdisplay::GetDisplayOffset()
{
	long result;
	GetProperty(0x3, VT_I4, (void*)&result);
	return result;
}

void CCVdisplay::SetDisplayOffset(long propVal)
{
	SetProperty(0x3, VT_I4, propVal);
}

long CCVdisplay::GetLeftButtonMode()
{
	long result;
	GetProperty(0x4, VT_I4, (void*)&result);
	return result;
}

void CCVdisplay::SetLeftButtonMode(long propVal)
{
	SetProperty(0x4, VT_I4, propVal);
}

BOOL CCVdisplay::GetStatusImageSize()
{
	BOOL result;
	GetProperty(0x5, VT_BOOL, (void*)&result);
	return result;
}

void CCVdisplay::SetStatusImageSize(BOOL propVal)
{
	SetProperty(0x5, VT_BOOL, propVal);
}

BOOL CCVdisplay::GetStatusEmpty()
{
	BOOL result;
	GetProperty(0x6, VT_BOOL, (void*)&result);
	return result;
}

void CCVdisplay::SetStatusEmpty(BOOL propVal)
{
	SetProperty(0x6, VT_BOOL, propVal);
}

BOOL CCVdisplay::GetStatusScale()
{
	BOOL result;
	GetProperty(0x7, VT_BOOL, (void*)&result);
	return result;
}

void CCVdisplay::SetStatusScale(BOOL propVal)
{
	SetProperty(0x7, VT_BOOL, propVal);
}

BOOL CCVdisplay::GetStatusCurrentPos()
{
	BOOL result;
	GetProperty(0x8, VT_BOOL, (void*)&result);
	return result;
}

void CCVdisplay::SetStatusCurrentPos(BOOL propVal)
{
	SetProperty(0x8, VT_BOOL, propVal);
}

BOOL CCVdisplay::GetStatusGrayValue()
{
	BOOL result;
	GetProperty(0x9, VT_BOOL, (void*)&result);
	return result;
}

void CCVdisplay::SetStatusGrayValue(BOOL propVal)
{
	SetProperty(0x9, VT_BOOL, propVal);
}

BOOL CCVdisplay::GetScrollBars()
{
	BOOL result;
	GetProperty(0xa, VT_BOOL, (void*)&result);
	return result;
}

void CCVdisplay::SetScrollBars(BOOL propVal)
{
	SetProperty(0xa, VT_BOOL, propVal);
}

BOOL CCVdisplay::GetShowCoords()
{
	BOOL result;
	GetProperty(0xb, VT_BOOL, (void*)&result);
	return result;
}

void CCVdisplay::SetShowCoords(BOOL propVal)
{
	SetProperty(0xb, VT_BOOL, propVal);
}

BOOL CCVdisplay::GetDrawErase()
{
	BOOL result;
	GetProperty(0xc, VT_BOOL, (void*)&result);
	return result;
}

void CCVdisplay::SetDrawErase(BOOL propVal)
{
	SetProperty(0xc, VT_BOOL, propVal);
}

long CCVdisplay::GetGreenPage()
{
	long result;
	GetProperty(0xd, VT_I4, (void*)&result);
	return result;
}

void CCVdisplay::SetGreenPage(long propVal)
{
	SetProperty(0xd, VT_I4, propVal);
}

long CCVdisplay::GetRedPage()
{
	long result;
	GetProperty(0xe, VT_I4, (void*)&result);
	return result;
}

void CCVdisplay::SetRedPage(long propVal)
{
	SetProperty(0xe, VT_I4, propVal);
}

long CCVdisplay::GetBluePage()
{
	long result;
	GetProperty(0xf, VT_I4, (void*)&result);
	return result;
}

void CCVdisplay::SetBluePage(long propVal)
{
	SetProperty(0xf, VT_I4, propVal);
}

BOOL CCVdisplay::GetBevelInner()
{
	BOOL result;
	GetProperty(0x10, VT_BOOL, (void*)&result);
	return result;
}

void CCVdisplay::SetBevelInner(BOOL propVal)
{
	SetProperty(0x10, VT_BOOL, propVal);
}

BOOL CCVdisplay::GetBevelOuter()
{
	BOOL result;
	GetProperty(0x11, VT_BOOL, (void*)&result);
	return result;
}

void CCVdisplay::SetBevelOuter(BOOL propVal)
{
	SetProperty(0x11, VT_BOOL, propVal);
}

long CCVdisplay::GetCoordStyle()
{
	long result;
	GetProperty(0x12, VT_I4, (void*)&result);
	return result;
}

void CCVdisplay::SetCoordStyle(long propVal)
{
	SetProperty(0x12, VT_I4, propVal);
}

short CCVdisplay::GetAppearance()
{
	short result;
	GetProperty(DISPID_APPEARANCE, VT_I4, (void*)&result);
	return result;
}

void CCVdisplay::SetAppearance(short propVal)
{
	SetProperty(DISPID_APPEARANCE, VT_I4, propVal);
}

short CCVdisplay::GetBorderStyle()
{
	short result;
	GetProperty(DISPID_BORDERSTYLE, VT_I2, (void*)&result);
	return result;
}

void CCVdisplay::SetBorderStyle(short propVal)
{
	SetProperty(DISPID_BORDERSTYLE, VT_I2, propVal);
}

BOOL CCVdisplay::GetEnabled()
{
	BOOL result;
	GetProperty(DISPID_ENABLED, VT_BOOL, (void*)&result);
	return result;
}

void CCVdisplay::SetEnabled(BOOL propVal)
{
	SetProperty(DISPID_ENABLED, VT_BOOL, propVal);
}

OLE_HANDLE CCVdisplay::GetHWnd()
{
	OLE_HANDLE result;
	GetProperty(DISPID_HWND, VT_I4, (void*)&result);
	return result;
}

void CCVdisplay::SetHWnd(OLE_HANDLE propVal)
{
	SetProperty(DISPID_HWND, VT_I4, propVal);
}

CString CCVdisplay::GetStatusUserText()
{
	CString result;
	GetProperty(0x13, VT_BSTR, (void*)&result);
	return result;
}

void CCVdisplay::SetStatusUserText(LPCTSTR propVal)
{
	SetProperty(0x13, VT_BSTR, propVal);
}

BOOL CCVdisplay::GetRulerEnabled()
{
	BOOL result;
	GetProperty(0x14, VT_BOOL, (void*)&result);
	return result;
}

void CCVdisplay::SetRulerEnabled(BOOL propVal)
{
	SetProperty(0x14, VT_BOOL, propVal);
}

BOOL CCVdisplay::GetDirectDrawEnabled()
{
	BOOL result;
	GetProperty(0x15, VT_BOOL, (void*)&result);
	return result;
}

void CCVdisplay::SetDirectDrawEnabled(BOOL propVal)
{
	SetProperty(0x15, VT_BOOL, propVal);
}

long CCVdisplay::GetAOOCount()
{
	long result;
	GetProperty(0x16, VT_I4, (void*)&result);
	return result;
}

CString CCVdisplay::GetAOOName()
{
	CString result;
	GetProperty(0x17, VT_BSTR, (void*)&result);
	return result;
}

long CCVdisplay::GetAOOType()
{
	long result;
	GetProperty(0x18, VT_I4, (void*)&result);
	return result;
}

long CCVdisplay::GetAOONumVertices()
{
	long result;
	GetProperty(0x19, VT_I4, (void*)&result);
	return result;
}

long CCVdisplay::GetAOONumVerticesUsed()
{
	long result;
	GetProperty(0x1a, VT_I4, (void*)&result);
	return result;
}

long CCVdisplay::GetAOOIndex()

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -