home *** CD-ROM | disk | FTP | other *** search
/ Mastering Visual Basic 6 / mastvb6.iso / leadtools / ocx32.lt / leadcap.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-06-13  |  6.1 KB  |  159 lines

  1. #ifndef __LEADCAP_H__
  2. #define __LEADCAP_H__
  3.  
  4. // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  5.  
  6. // NOTE: Do not modify the contents of this file.  If this class is regenerated by
  7. //  Microsoft Visual C++, your modifications will be overwritten.
  8.  
  9.  
  10. // Dispatch interfaces referenced by this interface
  11. class CPicture;
  12.  
  13. /////////////////////////////////////////////////////////////////////////////
  14. // CLeadCap wrapper class
  15.  
  16. class CLeadCap : public CWnd
  17. {
  18. protected:
  19.     DECLARE_DYNCREATE(CLeadCap)
  20. public:
  21.     CLSID const& GetClsid()
  22.     {
  23.         static CLSID const clsid
  24.             = { 0x100020, 0xb1ba, 0x11ce, { 0xab, 0xc6, 0xf5, 0xb2, 0xe7, 0x9d, 0x9e, 0x3f } };
  25.         return clsid;
  26.     }
  27.     virtual BOOL Create(LPCTSTR lpszClassName,
  28.         LPCTSTR lpszWindowName, DWORD dwStyle,
  29.         const RECT& rect,
  30.         CWnd* pParentWnd, UINT nID,
  31.         CCreateContext* pContext = NULL)
  32.     { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
  33.  
  34.     BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
  35.         const RECT& rect, CWnd* pParentWnd, UINT nID,
  36.         CFile* pPersist = NULL, BOOL bStorage = FALSE,
  37.         BSTR bstrLicKey = NULL)
  38.     { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
  39.         pPersist, bStorage, bstrLicKey); }
  40.  
  41. // Attributes
  42. public:
  43.  
  44. // Operations
  45. public:
  46.     // method 'QueryInterface' not emitted because of invalid return type or parameter type
  47.     unsigned long AddRef();
  48.     unsigned long Release();
  49.     // method 'GetTypeInfoCount' not emitted because of invalid return type or parameter type
  50.     // method 'GetTypeInfo' not emitted because of invalid return type or parameter type
  51.     // method 'GetIDsOfNames' not emitted because of invalid return type or parameter type
  52.     // method 'Invoke' not emitted because of invalid return type or parameter type
  53.     void SetAppearance(long nNewValue);
  54.     long GetAppearance();
  55.     void SetMousePointer(long nNewValue);
  56.     long GetMousePointer();
  57.     void SetMouseIcon(LPDISPATCH newValue);
  58.     CPicture GetMouseIcon();
  59.     short GetCapPercentDrop();
  60.     void SetCapPercentDrop(short nNewValue);
  61.     short GetCapTimeLimit();
  62.     void SetCapTimeLimit(short nNewValue);
  63.     float GetCapFramesPerSec();
  64.     void SetCapFramesPerSec(float newValue);
  65.     short GetCapDisplayMode();
  66.     void SetCapDisplayMode(short nNewValue);
  67.     float GetCapPreviewRate();
  68.     void SetCapPreviewRate(float newValue);
  69.     long GetCapInfoNumFrames();
  70.     long GetCapInfoWaveSamples();
  71.     long GetCapInfoTimeElapsed();
  72.     long GetCapInfoFramesDropped();
  73.     unsigned long GetCapInfoHPalette(short iIndex);
  74.     CString GetCapWorkFile();
  75.     void SetCapWorkFile(LPCTSTR lpszNewValue);
  76.     long GetCapCaptureAudio();
  77.     void SetCapCaptureAudio(long nNewValue);
  78.     long GetCapWorkFileSize();
  79.     void SetCapWorkFileSize(long nNewValue);
  80.     short GetCapVidFmtWidth();
  81.     void SetCapVidFmtWidth(short nNewValue);
  82.     short GetCapVidFmtHeight();
  83.     void SetCapVidFmtHeight(short nNewValue);
  84.     long GetEnableMethodErrors();
  85.     void SetEnableMethodErrors(long nNewValue);
  86.     short GetScaleMode();
  87.     void SetScaleMode(short nNewValue);
  88.     float GetScaleWidth();
  89.     float GetScaleHeight();
  90.     short CapConnect(short iDriver);
  91.     short CapDisconnect();
  92.     short CapCopyWorkFileAs(LPCTSTR pszName);
  93.     short CapDisplayDialog(short iDialog, short iIndex, long lFlags);
  94.     short CapStartCapture();
  95.     short CapStopCapture();
  96.     short CapEnumDrivers();
  97.     short CapSingleFrameStart();
  98.     short CapSingleFrameGet();
  99.     short CapSingleFrameStop();
  100.     long GetEnableCaptureStatus();
  101.     void SetEnableCaptureStatus(long nNewValue);
  102.     long GetAutoResizeControl();
  103.     void SetAutoResizeControl(long nNewValue);
  104.     long GetIsOptionAvailable(short iOption);
  105.     long GetEnableCaptureEvents();
  106.     void SetEnableCaptureEvents(long nNewValue);
  107.     short GetVideoWidth();
  108.     short GetVideoHeight();
  109.     short CapUpdateVidFormat();
  110.     short CapGetStatusInfo();
  111.     long GetCapAbortLeftMouse();
  112.     void SetCapAbortLeftMouse(long nNewValue);
  113.     long GetCapAbortRightMouse();
  114.     void SetCapAbortRightMouse(long nNewValue);
  115.     short GetCapAudioFormat(short iIndex);
  116.     void SetCapAudioFormat(short iIndex, short nNewValue);
  117.     short CapSaveFrame(LPCTSTR pszFile, short iFormat, short iBitsPerPixel, short iQuality, long bMultipage);
  118.     short CapCopyFrameToClipboard();
  119.     long GetBitmap();
  120.     short GetCapWaveFormatTag(short iIndex);
  121.     void SetCapWaveFormatTag(short iIndex, short nNewValue);
  122.     short GetCapWaveChannels(short iIndex);
  123.     void SetCapWaveChannels(short iIndex, short nNewValue);
  124.     long GetCapWaveSamplesPerSec(short iIndex);
  125.     void SetCapWaveSamplesPerSec(short iIndex, long nNewValue);
  126.     long GetCapWaveAvgBytesPerSec(short iIndex);
  127.     void SetCapWaveAvgBytesPerSec(short iIndex, long nNewValue);
  128.     short GetCapWaveBlockAlign(short iIndex);
  129.     void SetCapWaveBlockAlign(short iIndex, short nNewValue);
  130.     short GetCapWaveBitsPerSample(short iIndex);
  131.     void SetCapWaveBitsPerSample(short iIndex, short nNewValue);
  132.     short CapOpenRecord(short iDevice, short iBuffers, long lBufsize);
  133.     short CapStartRecord();
  134.     short CapStopRecord();
  135.     short CapCloseRecord();
  136.     short CapStopFeedSound(long hSound, long bWhenReady);
  137.     short CapFeedResetSound(long hSound);
  138.     short CapStartFeedSound(LPCTSTR pszFile, short iDevice, short iBuffers, short iFlags, long* phSound);
  139.     short CapFeedSound(long hSound, VARIANT* pData, long lSize);
  140.     VARIANT GetCapWaveExtraData(short iIndex);
  141.     void SetCapWaveExtraData(short iIndex, const VARIANT& newValue);
  142.     long GetCapWaveExtraSize(short iIndex);
  143.     void SetCapWaveExtraSize(short iIndex, long nNewValue);
  144.     short CapSetVolume(short iDevice, long lLine, long lLeftVolume, long lRightVolume);
  145.     short CapGetVolume(short iDevice, long lLine, long* lLeftVolume, long* lRightVolume);
  146.     short CapSetMute(short iDevice, long lLine, long bMute);
  147.     short CapIsMuted(short iDevice, long lLine, long* bMute);
  148.     short CapSelect(short iDevice, long lLine, long bSelect);
  149.     short CapIsSelected(short iDevice, long lLine, long* bSelect);
  150.     void CapEnumMixerLines(short iType);
  151.     short CapGetDefaultAudFormat(short iIndex);
  152.     short GetCapAudioPeak();
  153.     void UnlockSupport(short iType, LPCTSTR pszKey);
  154.     long IsSupportLocked(short iType);
  155.     VARIANT CapGetAudioData();
  156. };
  157.  
  158. #endif // __LEADCAP_H__
  159.