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

  1. #ifndef __LEADNET_H__
  2. #define __LEADNET_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. // CLeadNet wrapper class
  11.  
  12. class CLeadNet : public CWnd
  13. {
  14. protected:
  15.     DECLARE_DYNCREATE(CLeadNet)
  16. public:
  17.     CLSID const& GetClsid()
  18.     {
  19.         static CLSID const clsid
  20.             = { 0x100030, 0xb1ba, 0x11ce, { 0xab, 0xc6, 0xf5, 0xb2, 0xe7, 0x9d, 0x9e, 0x3f } };
  21.         return clsid;
  22.     }
  23.     virtual BOOL Create(LPCTSTR lpszClassName,
  24.         LPCTSTR lpszWindowName, DWORD dwStyle,
  25.         const RECT& rect,
  26.         CWnd* pParentWnd, UINT nID,
  27.         CCreateContext* pContext = NULL)
  28.     { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
  29.  
  30.     BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
  31.         const RECT& rect, CWnd* pParentWnd, UINT nID,
  32.         CFile* pPersist = NULL, BOOL bStorage = FALSE,
  33.         BSTR bstrLicKey = NULL)
  34.     { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
  35.         pPersist, bStorage, bstrLicKey); }
  36.  
  37. // Attributes
  38. public:
  39.  
  40. // Operations
  41. public:
  42.     // method 'QueryInterface' not emitted because of invalid return type or parameter type
  43.     unsigned long AddRef();
  44.     unsigned long Release();
  45.     // method 'GetTypeInfoCount' not emitted because of invalid return type or parameter type
  46.     // method 'GetTypeInfo' not emitted because of invalid return type or parameter type
  47.     // method 'GetIDsOfNames' not emitted because of invalid return type or parameter type
  48.     // method 'Invoke' not emitted because of invalid return type or parameter type
  49.     short InetConnect(LPCTSTR pszComputer, short iPort);
  50.     short InetServerClose(short iServer);
  51.     short InetAcceptConnect(short iServer, short* piComputer);
  52.     short InetSendBitmap(long hBitmap, short iFormat, short iBitsPerPixel, short iQuality);
  53.     short InetSendDIB(long hDib, short iFormat, short iBitsPerPixel, short iQuality);
  54.     short InetSendData(VARIANT* pData, long lSize, short iType);
  55.     short GetSendList(short iIndex);
  56.     void SetSendList(short iIndex, short nNewValue);
  57.     short GetSendListNum();
  58.     long GetEnableMethodErrors();
  59.     void SetEnableMethodErrors(long nNewValue);
  60.     short InetServerInit(short* piServer, short iPort);
  61.     short InetDisconnect(short iComputer);
  62.     short GetConnectList(short iIndex);
  63.     short GetConnectListNum();
  64.     short InetGetHostName(short iComputer, short iType, BSTR* pszHostName);
  65.     void UnlockSupport(short iType, LPCTSTR pszKey);
  66.     short InetSendSound(short iFormatTag, short iChannels, long lSamplesPerSec, long AvgBytesPerSec, short iBlockAlign, short iBitsPerSample, short iExtraDataSize, VARIANT* pExtraData, VARIANT* pSoundData, long lDataSize);
  67.     long IsSupportLocked(short iType);
  68.     VARIANT InetGetData();
  69.     long GetInetQueueSize(short iComputer);
  70.     short InetClearQueue(short iComputer);
  71. };
  72.  
  73. #endif // __LEADNET_H__
  74.