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

📄 nctwavplayer.cpp

📁 visual c++ 实例编程
💻 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 "nctwavplayer.h"

/////////////////////////////////////////////////////////////////////////////
// CNCTWavPlayer

IMPLEMENT_DYNCREATE(CNCTWavPlayer, CWnd)

/////////////////////////////////////////////////////////////////////////////
// CNCTWavPlayer properties

long CNCTWavPlayer::GetWFormatTag()
{
	long result;
	GetProperty(0x2e, VT_I4, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetWFormatTag(long propVal)
{
	SetProperty(0x2e, VT_I4, propVal);
}

long CNCTWavPlayer::GetNChannels()
{
	long result;
	GetProperty(0x2f, VT_I4, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetNChannels(long propVal)
{
	SetProperty(0x2f, VT_I4, propVal);
}

long CNCTWavPlayer::GetNSamplesPerSec()
{
	long result;
	GetProperty(0x30, VT_I4, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetNSamplesPerSec(long propVal)
{
	SetProperty(0x30, VT_I4, propVal);
}

long CNCTWavPlayer::GetNAvgBytesPerSec()
{
	long result;
	GetProperty(0x31, VT_I4, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetNAvgBytesPerSec(long propVal)
{
	SetProperty(0x31, VT_I4, propVal);
}

long CNCTWavPlayer::GetNBlockAlign()
{
	long result;
	GetProperty(0x32, VT_I4, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetNBlockAlign(long propVal)
{
	SetProperty(0x32, VT_I4, propVal);
}

long CNCTWavPlayer::GetWBitsPerSample()
{
	long result;
	GetProperty(0x33, VT_I4, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetWBitsPerSample(long propVal)
{
	SetProperty(0x33, VT_I4, propVal);
}

long CNCTWavPlayer::GetNSamples()
{
	long result;
	GetProperty(0x34, VT_I4, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetNSamples(long propVal)
{
	SetProperty(0x34, VT_I4, propVal);
}

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

void CNCTWavPlayer::SetStereoChannel(long propVal)
{
	SetProperty(0x1, VT_I4, propVal);
}

BOOL CNCTWavPlayer::GetVisibleGridX()
{
	BOOL result;
	GetProperty(0x35, VT_BOOL, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetVisibleGridX(BOOL propVal)
{
	SetProperty(0x35, VT_BOOL, propVal);
}

BOOL CNCTWavPlayer::GetVisibleGridY()
{
	BOOL result;
	GetProperty(0x36, VT_BOOL, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetVisibleGridY(BOOL propVal)
{
	SetProperty(0x36, VT_BOOL, propVal);
}

long CNCTWavPlayer::GetValue()
{
	long result;
	GetProperty(0x37, VT_I4, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetValue(long propVal)
{
	SetProperty(0x37, VT_I4, propVal);
}

long CNCTWavPlayer::GetStartPos()
{
	long result;
	GetProperty(0x38, VT_I4, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetStartPos(long propVal)
{
	SetProperty(0x38, VT_I4, propVal);
}

long CNCTWavPlayer::GetEndPos()
{
	long result;
	GetProperty(0x39, VT_I4, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetEndPos(long propVal)
{
	SetProperty(0x39, VT_I4, propVal);
}

BOOL CNCTWavPlayer::GetSelected()
{
	BOOL result;
	GetProperty(0x3a, VT_BOOL, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetSelected(BOOL propVal)
{
	SetProperty(0x3a, VT_BOOL, propVal);
}

long CNCTWavPlayer::GetStartShowPos()
{
	long result;
	GetProperty(0x3b, VT_I4, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetStartShowPos(long propVal)
{
	SetProperty(0x3b, VT_I4, propVal);
}

long CNCTWavPlayer::GetEndShowPos()
{
	long result;
	GetProperty(0x3c, VT_I4, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetEndShowPos(long propVal)
{
	SetProperty(0x3c, VT_I4, propVal);
}

long CNCTWavPlayer::GetRightScaleType()
{
	long result;
	GetProperty(0x2, VT_I4, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetRightScaleType(long propVal)
{
	SetProperty(0x2, VT_I4, propVal);
}

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

void CNCTWavPlayer::SetBottomScaleType(long propVal)
{
	SetProperty(0x3, VT_I4, propVal);
}

BOOL CNCTWavPlayer::GetVisibleRightScale()
{
	BOOL result;
	GetProperty(0x3d, VT_BOOL, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetVisibleRightScale(BOOL propVal)
{
	SetProperty(0x3d, VT_BOOL, propVal);
}

BOOL CNCTWavPlayer::GetVisibleBottomScale()
{
	BOOL result;
	GetProperty(0x3e, VT_BOOL, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetVisibleBottomScale(BOOL propVal)
{
	SetProperty(0x3e, VT_BOOL, propVal);
}

BOOL CNCTWavPlayer::GetUndoEnable()
{
	BOOL result;
	GetProperty(0x3f, VT_BOOL, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetUndoEnable(BOOL propVal)
{
	SetProperty(0x3f, VT_BOOL, propVal);
}

BOOL CNCTWavPlayer::GetRedoEnable()
{
	BOOL result;
	GetProperty(0x40, VT_BOOL, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetRedoEnable(BOOL propVal)
{
	SetProperty(0x40, VT_BOOL, propVal);
}

long CNCTWavPlayer::GetPlayPos()
{
	long result;
	GetProperty(0x41, VT_I4, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetPlayPos(long propVal)
{
	SetProperty(0x41, VT_I4, propVal);
}

BOOL CNCTWavPlayer::GetAutoGainControl()
{
	BOOL result;
	GetProperty(0x4, VT_BOOL, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetAutoGainControl(BOOL propVal)
{
	SetProperty(0x4, VT_BOOL, propVal);
}

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

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

CString CNCTWavPlayer::GetTempDirectory()
{
	CString result;
	GetProperty(0x42, VT_BSTR, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetTempDirectory(LPCTSTR propVal)
{
	SetProperty(0x42, VT_BSTR, propVal);
}

long CNCTWavPlayer::GetTotalAvailableFreeSpace()
{
	long result;
	GetProperty(0x43, VT_I4, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetTotalAvailableFreeSpace(long propVal)
{
	SetProperty(0x43, VT_I4, propVal);
}

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

void CNCTWavPlayer::SetClearClipboardBeforeExit(BOOL propVal)
{
	SetProperty(0x5, VT_BOOL, propVal);
}

long CNCTWavPlayer::GetUndoRedoCount()
{
	long result;
	GetProperty(0x6, VT_I4, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetUndoRedoCount(long propVal)
{
	SetProperty(0x6, VT_I4, propVal);
}

unsigned long CNCTWavPlayer::GetClrAnalogWaveform()
{
	unsigned long result;
	GetProperty(0x7, VT_I4, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetClrAnalogWaveform(unsigned long propVal)
{
	SetProperty(0x7, VT_I4, propVal);
}

unsigned long CNCTWavPlayer::GetClrBackground()
{
	unsigned long result;
	GetProperty(0x8, VT_I4, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetClrBackground(unsigned long propVal)
{
	SetProperty(0x8, VT_I4, propVal);
}

unsigned long CNCTWavPlayer::GetClrCenterLine()
{
	unsigned long result;
	GetProperty(0x9, VT_I4, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetClrCenterLine(unsigned long propVal)
{
	SetProperty(0x9, VT_I4, propVal);
}

unsigned long CNCTWavPlayer::GetClrCursor()
{
	unsigned long result;
	GetProperty(0xa, VT_I4, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetClrCursor(unsigned long propVal)
{
	SetProperty(0xa, VT_I4, propVal);
}

unsigned long CNCTWavPlayer::GetClrDigitalWaveform()
{
	unsigned long result;
	GetProperty(0xb, VT_I4, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetClrDigitalWaveform(unsigned long propVal)
{
	SetProperty(0xb, VT_I4, propVal);
}

unsigned long CNCTWavPlayer::GetClrGrid()
{
	unsigned long result;
	GetProperty(0xc, VT_I4, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetClrGrid(unsigned long propVal)
{
	SetProperty(0xc, VT_I4, propVal);
}

unsigned long CNCTWavPlayer::GetClrPlayCursor()
{
	unsigned long result;
	GetProperty(0xd, VT_I4, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetClrPlayCursor(unsigned long propVal)
{
	SetProperty(0xd, VT_I4, propVal);
}

unsigned long CNCTWavPlayer::GetClrSelectedAnalogWaveform()
{
	unsigned long result;
	GetProperty(0xe, VT_I4, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetClrSelectedAnalogWaveform(unsigned long propVal)
{
	SetProperty(0xe, VT_I4, propVal);
}

unsigned long CNCTWavPlayer::GetClrSelectedBackground()
{
	unsigned long result;
	GetProperty(0xf, VT_I4, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetClrSelectedBackground(unsigned long propVal)
{
	SetProperty(0xf, VT_I4, propVal);
}

unsigned long CNCTWavPlayer::GetClrSelectedCenterLine()
{
	unsigned long result;
	GetProperty(0x10, VT_I4, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetClrSelectedCenterLine(unsigned long propVal)
{
	SetProperty(0x10, VT_I4, propVal);
}

unsigned long CNCTWavPlayer::GetClrSelectedDigitalWaveform()
{
	unsigned long result;
	GetProperty(0x11, VT_I4, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetClrSelectedDigitalWaveform(unsigned long propVal)
{
	SetProperty(0x11, VT_I4, propVal);
}

BOOL CNCTWavPlayer::GetFlgEndRecordBlock()
{
	BOOL result;
	GetProperty(0x12, VT_BOOL, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetFlgEndRecordBlock(BOOL propVal)
{
	SetProperty(0x12, VT_BOOL, propVal);
}

BOOL CNCTWavPlayer::GetFlgSelectedPlay()
{
	BOOL result;
	GetProperty(0x13, VT_BOOL, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetFlgSelectedPlay(BOOL propVal)
{
	SetProperty(0x13, VT_BOOL, propVal);
}

CString CNCTWavPlayer::GetFormatString()
{
	CString result;
	GetProperty(0x44, VT_BSTR, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetFormatString(LPCTSTR propVal)
{
	SetProperty(0x44, VT_BSTR, propVal);
}

short CNCTWavPlayer::GetTypePlayLevel()
{
	short result;
	GetProperty(0x14, VT_I2, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetTypePlayLevel(short propVal)
{
	SetProperty(0x14, VT_I2, propVal);
}

short CNCTWavPlayer::GetTypeRecordLevel()
{
	short result;
	GetProperty(0x15, VT_I2, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetTypeRecordLevel(short propVal)
{
	SetProperty(0x15, VT_I2, propVal);
}

BOOL CNCTWavPlayer::GetRepaintEnabled()
{
	BOOL result;
	GetProperty(0x16, VT_BOOL, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetRepaintEnabled(BOOL propVal)
{
	SetProperty(0x16, VT_BOOL, propVal);
}

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

void CNCTWavPlayer::SetInfoName(LPCTSTR propVal)
{
	SetProperty(0x17, VT_BSTR, propVal);
}

CString CNCTWavPlayer::GetInfoCopyright()
{
	CString result;
	GetProperty(0x18, VT_BSTR, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetInfoCopyright(LPCTSTR propVal)
{
	SetProperty(0x18, VT_BSTR, propVal);
}

CString CNCTWavPlayer::GetInfoGenre()
{
	CString result;
	GetProperty(0x19, VT_BSTR, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetInfoGenre(LPCTSTR propVal)
{
	SetProperty(0x19, VT_BSTR, propVal);
}

CString CNCTWavPlayer::GetInfoSubject()
{
	CString result;
	GetProperty(0x1a, VT_BSTR, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetInfoSubject(LPCTSTR propVal)
{
	SetProperty(0x1a, VT_BSTR, propVal);
}

CString CNCTWavPlayer::GetInfoComment()
{
	CString result;
	GetProperty(0x1b, VT_BSTR, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetInfoComment(LPCTSTR propVal)
{
	SetProperty(0x1b, VT_BSTR, propVal);
}

CString CNCTWavPlayer::GetInfoKeyWords()
{
	CString result;
	GetProperty(0x1c, VT_BSTR, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetInfoKeyWords(LPCTSTR propVal)
{
	SetProperty(0x1c, VT_BSTR, propVal);
}

CString CNCTWavPlayer::GetInfoSourceSuppler()
{
	CString result;
	GetProperty(0x1d, VT_BSTR, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetInfoSourceSuppler(LPCTSTR propVal)
{
	SetProperty(0x1d, VT_BSTR, propVal);
}

CString CNCTWavPlayer::GetInfoEngineers()
{
	CString result;
	GetProperty(0x1e, VT_BSTR, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetInfoEngineers(LPCTSTR propVal)
{
	SetProperty(0x1e, VT_BSTR, propVal);
}

CString CNCTWavPlayer::GetInfoDigitizer()
{
	CString result;
	GetProperty(0x1f, VT_BSTR, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetInfoDigitizer(LPCTSTR propVal)
{
	SetProperty(0x1f, VT_BSTR, propVal);
}

CString CNCTWavPlayer::GetInfoDigitizationSource()
{
	CString result;
	GetProperty(0x20, VT_BSTR, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetInfoDigitizationSource(LPCTSTR propVal)
{
	SetProperty(0x20, VT_BSTR, propVal);
}

CString CNCTWavPlayer::GetInfoArtists()
{
	CString result;
	GetProperty(0x21, VT_BSTR, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetInfoArtists(LPCTSTR propVal)
{
	SetProperty(0x21, VT_BSTR, propVal);
}

CString CNCTWavPlayer::GetInfoMedium()
{
	CString result;
	GetProperty(0x22, VT_BSTR, (void*)&result);
	return result;
}

void CNCTWavPlayer::SetInfoMedium(LPCTSTR propVal)
{
	SetProperty(0x22, VT_BSTR, propVal);
}

CString CNCTWavPlayer::GetInfoProduct()
{

⌨️ 快捷键说明

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