home *** CD-ROM | disk | FTP | other *** search
- // 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 "leadcap.h"
-
- // Dispatch interfaces referenced by this interface
- #include "Picture.h"
-
- /////////////////////////////////////////////////////////////////////////////
- // CLeadCap
-
- IMPLEMENT_DYNCREATE(CLeadCap, CWnd)
-
- /////////////////////////////////////////////////////////////////////////////
- // CLeadCap properties
-
- /////////////////////////////////////////////////////////////////////////////
- // CLeadCap operations
-
- unsigned long CLeadCap::AddRef()
- {
- unsigned long result;
- InvokeHelper(0x60000001, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
- return result;
- }
-
- unsigned long CLeadCap::Release()
- {
- unsigned long result;
- InvokeHelper(0x60000002, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
- return result;
- }
-
- void CLeadCap::SetAppearance(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(DISPID_APPEARANCE, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
-
- long CLeadCap::GetAppearance()
- {
- long result;
- InvokeHelper(DISPID_APPEARANCE, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
-
- void CLeadCap::SetMousePointer(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0xfffffdf7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
-
- long CLeadCap::GetMousePointer()
- {
- long result;
- InvokeHelper(0xfffffdf7, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
-
- void CLeadCap::SetMouseIcon(LPDISPATCH newValue)
- {
- static BYTE parms[] =
- VTS_DISPATCH;
- InvokeHelper(0xfffffdf6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
-
- CPicture CLeadCap::GetMouseIcon()
- {
- LPDISPATCH pDispatch;
- InvokeHelper(0xfffffdf6, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
- return CPicture(pDispatch);
- }
-
- short CLeadCap::GetCapPercentDrop()
- {
- short result;
- InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
- return result;
- }
-
- void CLeadCap::SetCapPercentDrop(short nNewValue)
- {
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
-
- short CLeadCap::GetCapTimeLimit()
- {
- short result;
- InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
- return result;
- }
-
- void CLeadCap::SetCapTimeLimit(short nNewValue)
- {
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
-
- float CLeadCap::GetCapFramesPerSec()
- {
- float result;
- InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
- return result;
- }
-
- void CLeadCap::SetCapFramesPerSec(float newValue)
- {
- static BYTE parms[] =
- VTS_R4;
- InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
-
- short CLeadCap::GetCapDisplayMode()
- {
- short result;
- InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
- return result;
- }
-
- void CLeadCap::SetCapDisplayMode(short nNewValue)
- {
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
-
- float CLeadCap::GetCapPreviewRate()
- {
- float result;
- InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
- return result;
- }
-
- void CLeadCap::SetCapPreviewRate(float newValue)
- {
- static BYTE parms[] =
- VTS_R4;
- InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
-
- long CLeadCap::GetCapInfoNumFrames()
- {
- long result;
- InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
-
- long CLeadCap::GetCapInfoWaveSamples()
- {
- long result;
- InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
-
- long CLeadCap::GetCapInfoTimeElapsed()
- {
- long result;
- InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
-
- long CLeadCap::GetCapInfoFramesDropped()
- {
- long result;
- InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
-
- unsigned long CLeadCap::GetCapInfoHPalette(short iIndex)
- {
- unsigned long result;
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
- iIndex);
- return result;
- }
-
- CString CLeadCap::GetCapWorkFile()
- {
- CString result;
- InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
-
- void CLeadCap::SetCapWorkFile(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0xb, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
-
- long CLeadCap::GetCapCaptureAudio()
- {
- long result;
- InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
-
- void CLeadCap::SetCapCaptureAudio(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0xc, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
-
- long CLeadCap::GetCapWorkFileSize()
- {
- long result;
- InvokeHelper(0xd, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
-
- void CLeadCap::SetCapWorkFileSize(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0xd, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
-
- short CLeadCap::GetCapVidFmtWidth()
- {
- short result;
- InvokeHelper(0xe, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
- return result;
- }
-
- void CLeadCap::SetCapVidFmtWidth(short nNewValue)
- {
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0xe, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
-
- short CLeadCap::GetCapVidFmtHeight()
- {
- short result;
- InvokeHelper(0xf, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
- return result;
- }
-
- void CLeadCap::SetCapVidFmtHeight(short nNewValue)
- {
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0xf, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
-
- long CLeadCap::GetEnableMethodErrors()
- {
- long result;
- InvokeHelper(0x10, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
-
- void CLeadCap::SetEnableMethodErrors(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x10, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
-
- short CLeadCap::GetScaleMode()
- {
- short result;
- InvokeHelper(0x12, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
- return result;
- }
-
- void CLeadCap::SetScaleMode(short nNewValue)
- {
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0x12, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
-
- float CLeadCap::GetScaleWidth()
- {
- float result;
- InvokeHelper(0x15, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
- return result;
- }
-
- float CLeadCap::GetScaleHeight()
- {
- float result;
- InvokeHelper(0x16, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
- return result;
- }
-
- short CLeadCap::CapConnect(short iDriver)
- {
- short result;
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0x17, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
- iDriver);
- return result;
- }
-
- short CLeadCap::CapDisconnect()
- {
- short result;
- InvokeHelper(0x18, DISPATCH_METHOD, VT_I2, (void*)&result, NULL);
- return result;
- }
-
- short CLeadCap::CapCopyWorkFileAs(LPCTSTR pszName)
- {
- short result;
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x19, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
- pszName);
- return result;
- }
-
- short CLeadCap::CapDisplayDialog(short iDialog, short iIndex, long lFlags)
- {
- short result;
- static BYTE parms[] =
- VTS_I2 VTS_I2 VTS_I4;
- InvokeHelper(0x1a, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
- iDialog, iIndex, lFlags);
- return result;
- }
-
- short CLeadCap::CapStartCapture()
- {
- short result;
- InvokeHelper(0x1b, DISPATCH_METHOD, VT_I2, (void*)&result, NULL);
- return result;
- }
-
- short CLeadCap::CapStopCapture()
- {
- short result;
- InvokeHelper(0x1c, DISPATCH_METHOD, VT_I2, (void*)&result, NULL);
- return result;
- }
-
- short CLeadCap::CapEnumDrivers()
- {
- short result;
- InvokeHelper(0x1d, DISPATCH_METHOD, VT_I2, (void*)&result, NULL);
- return result;
- }
-
- short CLeadCap::CapSingleFrameStart()
- {
- short result;
- InvokeHelper(0x1e, DISPATCH_METHOD, VT_I2, (void*)&result, NULL);
- return result;
- }
-
- short CLeadCap::CapSingleFrameGet()
- {
- short result;
- InvokeHelper(0x1f, DISPATCH_METHOD, VT_I2, (void*)&result, NULL);
- return result;
- }
-
- short CLeadCap::CapSingleFrameStop()
- {
- short result;
- InvokeHelper(0x20, DISPATCH_METHOD, VT_I2, (void*)&result, NULL);
- return result;
- }
-
- long CLeadCap::GetEnableCaptureStatus()
- {
- long result;
- InvokeHelper(0x21, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
-
- void CLeadCap::SetEnableCaptureStatus(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x21, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
-
- long CLeadCap::GetAutoResizeControl()
- {
- long result;
- InvokeHelper(0x22, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
-
- void CLeadCap::SetAutoResizeControl(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x22, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
-
- long CLeadCap::GetIsOptionAvailable(short iOption)
- {
- long result;
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0x23, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
- iOption);
- return result;
- }
-
- long CLeadCap::GetEnableCaptureEvents()
- {
- long result;
- InvokeHelper(0x24, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
-
- void CLeadCap::SetEnableCaptureEvents(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x24, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
-
- short CLeadCap::GetVideoWidth()
- {
- short result;
- InvokeHelper(0x25, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
- return result;
- }
-
- short CLeadCap::GetVideoHeight()
- {
- short result;
- InvokeHelper(0x26, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
- return result;
- }
-
- short CLeadCap::CapUpdateVidFormat()
- {
- short result;
- InvokeHelper(0x27, DISPATCH_METHOD, VT_I2, (void*)&result, NULL);
- return result;
- }
-
- short CLeadCap::CapGetStatusInfo()
- {
- short result;
- InvokeHelper(0x28, DISPATCH_METHOD, VT_I2, (void*)&result, NULL);
- return result;
- }
-
- long CLeadCap::GetCapAbortLeftMouse()
- {
- long result;
- InvokeHelper(0x29, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
-
- void CLeadCap::SetCapAbortLeftMouse(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x29, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
-
- long CLeadCap::GetCapAbortRightMouse()
- {
- long result;
- InvokeHelper(0x2a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
-
- void CLeadCap::SetCapAbortRightMouse(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x2a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
-
- short CLeadCap::GetCapAudioFormat(short iIndex)
- {
- short result;
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0x2b, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, parms,
- iIndex);
- return result;
- }
-
- void CLeadCap::SetCapAudioFormat(short iIndex, short nNewValue)
- {
- static BYTE parms[] =
- VTS_I2 VTS_I2;
- InvokeHelper(0x2b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- iIndex, nNewValue);
- }
-
- short CLeadCap::CapSaveFrame(LPCTSTR pszFile, short iFormat, short iBitsPerPixel, short iQuality, long bMultipage)
- {
- short result;
- static BYTE parms[] =
- VTS_BSTR VTS_I2 VTS_I2 VTS_I2 VTS_I4;
- InvokeHelper(0x2c, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
- pszFile, iFormat, iBitsPerPixel, iQuality, bMultipage);
- return result;
- }
-
- short CLeadCap::CapCopyFrameToClipboard()
- {
- short result;
- InvokeHelper(0x2e, DISPATCH_METHOD, VT_I2, (void*)&result, NULL);
- return result;
- }
-
- long CLeadCap::GetBitmap()
- {
- long result;
- InvokeHelper(0x2f, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
-
- short CLeadCap::GetCapWaveFormatTag(short iIndex)
- {
- short result;
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0x30, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, parms,
- iIndex);
- return result;
- }
-
- void CLeadCap::SetCapWaveFormatTag(short iIndex, short nNewValue)
- {
- static BYTE parms[] =
- VTS_I2 VTS_I2;
- InvokeHelper(0x30, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- iIndex, nNewValue);
- }
-
- short CLeadCap::GetCapWaveChannels(short iIndex)
- {
- short result;
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0x31, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, parms,
- iIndex);
- return result;
- }
-
- void CLeadCap::SetCapWaveChannels(short iIndex, short nNewValue)
- {
- static BYTE parms[] =
- VTS_I2 VTS_I2;
- InvokeHelper(0x31, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- iIndex, nNewValue);
- }
-
- long CLeadCap::GetCapWaveSamplesPerSec(short iIndex)
- {
- long result;
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0x32, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
- iIndex);
- return result;
- }
-
- void CLeadCap::SetCapWaveSamplesPerSec(short iIndex, long nNewValue)
- {
- static BYTE parms[] =
- VTS_I2 VTS_I4;
- InvokeHelper(0x32, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- iIndex, nNewValue);
- }
-
- long CLeadCap::GetCapWaveAvgBytesPerSec(short iIndex)
- {
- long result;
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0x33, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
- iIndex);
- return result;
- }
-
- void CLeadCap::SetCapWaveAvgBytesPerSec(short iIndex, long nNewValue)
- {
- static BYTE parms[] =
- VTS_I2 VTS_I4;
- InvokeHelper(0x33, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- iIndex, nNewValue);
- }
-
- short CLeadCap::GetCapWaveBlockAlign(short iIndex)
- {
- short result;
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0x34, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, parms,
- iIndex);
- return result;
- }
-
- void CLeadCap::SetCapWaveBlockAlign(short iIndex, short nNewValue)
- {
- static BYTE parms[] =
- VTS_I2 VTS_I2;
- InvokeHelper(0x34, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- iIndex, nNewValue);
- }
-
- short CLeadCap::GetCapWaveBitsPerSample(short iIndex)
- {
- short result;
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0x35, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, parms,
- iIndex);
- return result;
- }
-
- void CLeadCap::SetCapWaveBitsPerSample(short iIndex, short nNewValue)
- {
- static BYTE parms[] =
- VTS_I2 VTS_I2;
- InvokeHelper(0x35, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- iIndex, nNewValue);
- }
-
- short CLeadCap::CapOpenRecord(short iDevice, short iBuffers, long lBufsize)
- {
- short result;
- static BYTE parms[] =
- VTS_I2 VTS_I2 VTS_I4;
- InvokeHelper(0x37, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
- iDevice, iBuffers, lBufsize);
- return result;
- }
-
- short CLeadCap::CapStartRecord()
- {
- short result;
- InvokeHelper(0x38, DISPATCH_METHOD, VT_I2, (void*)&result, NULL);
- return result;
- }
-
- short CLeadCap::CapStopRecord()
- {
- short result;
- InvokeHelper(0x39, DISPATCH_METHOD, VT_I2, (void*)&result, NULL);
- return result;
- }
-
- short CLeadCap::CapCloseRecord()
- {
- short result;
- InvokeHelper(0x3a, DISPATCH_METHOD, VT_I2, (void*)&result, NULL);
- return result;
- }
-
- short CLeadCap::CapStopFeedSound(long hSound, long bWhenReady)
- {
- short result;
- static BYTE parms[] =
- VTS_I4 VTS_I4;
- InvokeHelper(0x3c, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
- hSound, bWhenReady);
- return result;
- }
-
- short CLeadCap::CapFeedResetSound(long hSound)
- {
- short result;
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x3d, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
- hSound);
- return result;
- }
-
- short CLeadCap::CapStartFeedSound(LPCTSTR pszFile, short iDevice, short iBuffers, short iFlags, long* phSound)
- {
- short result;
- static BYTE parms[] =
- VTS_BSTR VTS_I2 VTS_I2 VTS_I2 VTS_PI4;
- InvokeHelper(0x3e, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
- pszFile, iDevice, iBuffers, iFlags, phSound);
- return result;
- }
-
- short CLeadCap::CapFeedSound(long hSound, VARIANT* pData, long lSize)
- {
- short result;
- static BYTE parms[] =
- VTS_I4 VTS_PVARIANT VTS_I4;
- InvokeHelper(0x3f, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
- hSound, pData, lSize);
- return result;
- }
-
- VARIANT CLeadCap::GetCapWaveExtraData(short iIndex)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0x40, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, parms,
- iIndex);
- return result;
- }
-
- void CLeadCap::SetCapWaveExtraData(short iIndex, const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_I2 VTS_VARIANT;
- InvokeHelper(0x40, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- iIndex, &newValue);
- }
-
- long CLeadCap::GetCapWaveExtraSize(short iIndex)
- {
- long result;
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0x41, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
- iIndex);
- return result;
- }
-
- void CLeadCap::SetCapWaveExtraSize(short iIndex, long nNewValue)
- {
- static BYTE parms[] =
- VTS_I2 VTS_I4;
- InvokeHelper(0x41, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- iIndex, nNewValue);
- }
-
- short CLeadCap::CapSetVolume(short iDevice, long lLine, long lLeftVolume, long lRightVolume)
- {
- short result;
- static BYTE parms[] =
- VTS_I2 VTS_I4 VTS_I4 VTS_I4;
- InvokeHelper(0x42, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
- iDevice, lLine, lLeftVolume, lRightVolume);
- return result;
- }
-
- short CLeadCap::CapGetVolume(short iDevice, long lLine, long* lLeftVolume, long* lRightVolume)
- {
- short result;
- static BYTE parms[] =
- VTS_I2 VTS_I4 VTS_PI4 VTS_PI4;
- InvokeHelper(0x43, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
- iDevice, lLine, lLeftVolume, lRightVolume);
- return result;
- }
-
- short CLeadCap::CapSetMute(short iDevice, long lLine, long bMute)
- {
- short result;
- static BYTE parms[] =
- VTS_I2 VTS_I4 VTS_I4;
- InvokeHelper(0x44, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
- iDevice, lLine, bMute);
- return result;
- }
-
- short CLeadCap::CapIsMuted(short iDevice, long lLine, long* bMute)
- {
- short result;
- static BYTE parms[] =
- VTS_I2 VTS_I4 VTS_PI4;
- InvokeHelper(0x45, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
- iDevice, lLine, bMute);
- return result;
- }
-
- short CLeadCap::CapSelect(short iDevice, long lLine, long bSelect)
- {
- short result;
- static BYTE parms[] =
- VTS_I2 VTS_I4 VTS_I4;
- InvokeHelper(0x46, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
- iDevice, lLine, bSelect);
- return result;
- }
-
- short CLeadCap::CapIsSelected(short iDevice, long lLine, long* bSelect)
- {
- short result;
- static BYTE parms[] =
- VTS_I2 VTS_I4 VTS_PI4;
- InvokeHelper(0x47, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
- iDevice, lLine, bSelect);
- return result;
- }
-
- void CLeadCap::CapEnumMixerLines(short iType)
- {
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0x48, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- iType);
- }
-
- short CLeadCap::CapGetDefaultAudFormat(short iIndex)
- {
- short result;
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0x57, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
- iIndex);
- return result;
- }
-
- short CLeadCap::GetCapAudioPeak()
- {
- short result;
- InvokeHelper(0x58, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
- return result;
- }
-
- void CLeadCap::UnlockSupport(short iType, LPCTSTR pszKey)
- {
- static BYTE parms[] =
- VTS_I2 VTS_BSTR;
- InvokeHelper(0x59, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- iType, pszKey);
- }
-
- long CLeadCap::IsSupportLocked(short iType)
- {
- long result;
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0x5a, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
- iType);
- return result;
- }
-
- VARIANT CLeadCap::CapGetAudioData()
- {
- VARIANT result;
- InvokeHelper(0x5b, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
-