// ************************************************************************ // // WARNING // ------- // The types declared in this file were generated from data read from a // Type Library. If this type library is explicitly or indirectly (via // another type library referring to this type library) re-imported, or the // 'Refresh' command of the Type Library Editor activated while editing the // Type Library, the contents of this file will be regenerated and all // manual modifications will be lost. // ************************************************************************ // // C++ TLBWRTR : $Revision: 1.134.1.39 $ // File generated on 5/3/00 11:50:33 PM from Type Library described below. // ************************************************************************ // // Type Lib: C:\WINDOWS\SYSTEM\DEVCON32.DLL (1) // IID\LCID: {FAE606D6-D573-11D2-8DD4-00A0C98E9FB1}\0 // Helpfile: // DepndLst: // (1) v2.0 stdole, (C:\WINDOWS\SYSTEM\STDOLE2.TLB) // (2) v4.0 StdVCL, (C:\WINDOWS\SYSTEM\STDVCL40.DLL) // ************************************************************************ // #ifndef __DEVCON32_COMLib_TLB_h__ #define __DEVCON32_COMLib_TLB_h__ #pragma option push -b -w-inl #include #if !defined(__UTILCLS_H_VERSION) || (__UTILCLS_H_VERSION < 0x0500) // // The code generated by the TLIBIMP utility or the Import|TypeLibrary // and Import|ActiveX feature of C++Builder rely on specific versions of // the header file UTILCLS.H found in the INCLUDE\VCL directory. If an // older version of the file is detected, you probably need an update/patch. // #error "This file requires a newer version of the header UTILCLS.H" \ "You need to apply an update/patch to your copy of C++Builder" #endif #include #include #if defined(USING_ATLVCL) || defined(USING_ATL) #if !defined(__TLB_NO_EVENT_WRAPPERS) #include #endif #endif // *********************************************************************// // Forward reference of some VCL types (to avoid including STDVCL.HPP) // *********************************************************************// namespace Stdvcl {class IStrings; class IStringsDisp;} using namespace Stdvcl; typedef TComInterface IStringsPtr; typedef TComInterface IStringsDispPtr; namespace Devcon32_comlib_tlb { // *********************************************************************// // HelpString: DevCon32_COM 1.0 Type Library // Version: 1.0 // *********************************************************************// // *********************************************************************// // GUIDS declared in the TypeLibrary. Following prefixes are used: // Type Libraries : LIBID_xxxx // CoClasses : CLSID_xxxx // DISPInterfaces : DIID_xxxx // Non-DISP interfaces: IID_xxxx // *********************************************************************// extern __declspec (package) const GUID LIBID_DEVCON32_COMLib; extern __declspec (package) const GUID IID_IDevConEfx; extern __declspec (package) const GUID IID_IDevConEfx2; extern __declspec (package) const GUID GUID_wireHWND; extern __declspec (package) const GUID GUID___MIDL_IWinTypes_0009; extern __declspec (package) const GUID GUID__RemotableHandle; extern __declspec (package) const GUID CLSID_DevConEfx; extern __declspec (package) const GUID IID_IDevConSoundfont; extern __declspec (package) const GUID CLSID_DevConSoundfont; // *********************************************************************// // Forward declaration of types defined in TypeLibrary // *********************************************************************// union __MIDL_IWinTypes_0009; struct _RemotableHandle; interface DECLSPEC_UUID("{FAE606E4-D573-11D2-8DD4-00A0C98E9FB1}") IDevConEfx; typedef TComInterface IDevConEfxPtr; interface DECLSPEC_UUID("{59760C60-1DAE-11D3-BDB8-00C0F02DC1B8}") IDevConEfx2; typedef TComInterface IDevConEfx2Ptr; interface DECLSPEC_UUID("{4BC24567-D601-11D2-8DD4-00A0C98E9FB1}") IDevConSoundfont; typedef TComInterface IDevConSoundfontPtr; // *********************************************************************// // Declaration of CoClasses defined in Type Library // (NOTE: Here we map each CoClass to its Default Interface) // // The LIBID_OF_ macro(s) map a LIBID_OF_CoClassName to the GUID of this // TypeLibrary. It simplifies the updating of macros when CoClass name // change. // *********************************************************************// typedef IDevConEfx DevConEfx; typedef IDevConEfxPtr DevConEfxPtr; typedef IDevConSoundfont DevConSoundfont; typedef IDevConSoundfontPtr DevConSoundfontPtr; #define LIBID_OF_DevConEfx (&LIBID_DEVCON32_COMLib) #define LIBID_OF_DevConSoundfont (&LIBID_DEVCON32_COMLib) // *********************************************************************// // Declaration of Aliases defined in Type Library // *********************************************************************// typedef Devcon32_comlib_tlb::_RemotableHandle* wireHWND; // *********************************************************************// // Declaration of Structures and Unions defined in Type Library // *********************************************************************// union __MIDL_IWinTypes_0009 { long hInproc; long hRemote; }; struct _RemotableHandle { long fContext; Devcon32_comlib_tlb::__MIDL_IWinTypes_0009 u; }; // *********************************************************************// // Interface: IDevConEfx // Flags: (0) // GUID: {FAE606E4-D573-11D2-8DD4-00A0C98E9FB1} // *********************************************************************// interface IDevConEfx : public IUnknown { public: // [-1] method GetNumDevices virtual HRESULT STDMETHODCALLTYPE GetNumDevices(long* pdwNumDevices) = 0; // [-1] method GetFirstDevice virtual HRESULT STDMETHODCALLTYPE GetFirstDevice(long* pdwDevice) = 0; // [-1] method GetNextDevice virtual HRESULT STDMETHODCALLTYPE GetNextDevice(long dwCurrentDevice, long* pdwNextDevice) = 0; // [-1] method GetDeviceInfo virtual HRESULT STDMETHODCALLTYPE GetDeviceInfo(long dwDevice, long* pDeviceInfo) = 0; // [-1] method SetActiveDevice virtual HRESULT STDMETHODCALLTYPE SetActiveDevice(long dwDevice) = 0; // [-1] method CreateEfxInstance virtual HRESULT STDMETHODCALLTYPE CreateEfxInstance(long* pBaseObj, long* pFnTable, long dwDevice) = 0; // [-1] method AdviseSpeakerCfg virtual HRESULT STDMETHODCALLTYPE AdviseSpeakerCfg(Devcon32_comlib_tlb::wireHWND hCallbackWnd, long dwReserved) = 0; // [-1] method UnadviseSpeakerCfg virtual HRESULT STDMETHODCALLTYPE UnadviseSpeakerCfg(Devcon32_comlib_tlb::wireHWND hCallbackWnd) = 0; // [-1] method GetNumSpeakerCfg virtual HRESULT STDMETHODCALLTYPE GetNumSpeakerCfg(long* pdwNumSpkCfg) = 0; // [-1] method GetSpeakerCfgInfo virtual HRESULT STDMETHODCALLTYPE GetSpeakerCfgInfo(long dwSpkCfgIndex, unsigned_char* pSpkCfgInfo) = 0; // [-1] method GetActiveSpeakerCfgInfo virtual HRESULT STDMETHODCALLTYPE GetActiveSpeakerCfgInfo(unsigned_char* pSpkCfgInfo) = 0; // [-1] method SetActiveSpeakerCfg virtual HRESULT STDMETHODCALLTYPE SetActiveSpeakerCfg(long dwSpkCfgIndex, long dwPreference) = 0; // [-1] method AdvisePlacementPreset virtual HRESULT STDMETHODCALLTYPE AdvisePlacementPreset(Devcon32_comlib_tlb::wireHWND hCallbackWnd, long dwReserved) = 0; // [-1] method UnadvisePlacementPreset virtual HRESULT STDMETHODCALLTYPE UnadvisePlacementPreset(Devcon32_comlib_tlb::wireHWND hCallbackWnd) = 0; // [-1] method GetNumPlacementPreset virtual HRESULT STDMETHODCALLTYPE GetNumPlacementPreset(long dwPresetType, long* pdwNumPlacementPreset) = 0; // [-1] method GetPlacementPresetInfo virtual HRESULT STDMETHODCALLTYPE GetPlacementPresetInfo(long dwPresetIndex, long dwPresetType, unsigned_char* pPlacementPresetInfo) = 0; // [-1] method GetActivePlacementPresetInfo virtual HRESULT STDMETHODCALLTYPE GetActivePlacementPresetInfo(unsigned_char* pPlacementPresetInfo, long* pdwPresetType) = 0; // [-1] method SetActivePlacementPreset virtual HRESULT STDMETHODCALLTYPE SetActivePlacementPreset(long dwPresetIndex, long dwPresetType) = 0; // [-1] method GetPlacementPresetIndex virtual HRESULT STDMETHODCALLTYPE GetPlacementPresetIndex(unsigned_char* szPresetName, long dwPresetType, long* pdwPresetIndex) = 0; // [-1] method AdviseEAudioPreset virtual HRESULT STDMETHODCALLTYPE AdviseEAudioPreset(Devcon32_comlib_tlb::wireHWND hCallbackWnd, long dwReserved) = 0; // [-1] method UnadviseEAudioPreset virtual HRESULT STDMETHODCALLTYPE UnadviseEAudioPreset(Devcon32_comlib_tlb::wireHWND hCallbackWnd) = 0; // [-1] method GetNumEAudioPreset virtual HRESULT STDMETHODCALLTYPE GetNumEAudioPreset(long dwPresetType, long* pdwNumEAudioPreset) = 0; // [-1] method GetEAudioPresetName virtual HRESULT STDMETHODCALLTYPE GetEAudioPresetName(long dwPresetIndex, long dwPresetType, unsigned_char* szPresetName) = 0; // [-1] method GetEAudioPresetInfo virtual HRESULT STDMETHODCALLTYPE GetEAudioPresetInfo(long dwPresetIndex, long dwPresetType, unsigned_char* pEAudioPresetInfo) = 0; // [-1] method GetActiveEAudioPresetName virtual HRESULT STDMETHODCALLTYPE GetActiveEAudioPresetName(unsigned_char* szPresetName, long* pdwPresetType) = 0; // [-1] method GetActiveEAudioPresetInfo virtual HRESULT STDMETHODCALLTYPE GetActiveEAudioPresetInfo(unsigned_char* pEAudioPresetInfo, long* pdwPresetType) = 0; // [-1] method SetActiveEAudioPreset virtual HRESULT STDMETHODCALLTYPE SetActiveEAudioPreset(long dwPresetIndex, long dwPresetType) = 0; // [-1] method GetEAudioPresetIndex virtual HRESULT STDMETHODCALLTYPE GetEAudioPresetIndex(unsigned_char* szPresetName, long dwPresetType, long* pdwPresetIndex) = 0; // [-1] method AdviseSuperEnvPreset virtual HRESULT STDMETHODCALLTYPE AdviseSuperEnvPreset(Devcon32_comlib_tlb::wireHWND hCallbackWnd, long dwReserved) = 0; // [-1] method UnadviseSuperEnvPreset virtual HRESULT STDMETHODCALLTYPE UnadviseSuperEnvPreset(Devcon32_comlib_tlb::wireHWND hCallbackWnd) = 0; // [-1] method GetNumSuperEnvPreset virtual HRESULT STDMETHODCALLTYPE GetNumSuperEnvPreset(long dwPresetType, long* pdwNumSuperEnvPreset) = 0; // [-1] method GetSuperEnvPresetInfo virtual HRESULT STDMETHODCALLTYPE GetSuperEnvPresetInfo(long dwPresetIndex, long dwPresetType, unsigned_char* pSuperEnvPresetInfo) = 0; // [-1] method GetActiveSuperEnvPresetInfo virtual HRESULT STDMETHODCALLTYPE GetActiveSuperEnvPresetInfo(unsigned_char* pSuperEnvPresetInfo, long* pdwPresetType) = 0; // [-1] method SetActiveSuperEnvPreset virtual HRESULT STDMETHODCALLTYPE SetActiveSuperEnvPreset(long dwPresetIndex, long dwPresetType) = 0; // [-1] method GetSuperEnvPresetIndex virtual HRESULT STDMETHODCALLTYPE GetSuperEnvPresetIndex(unsigned_char* szPresetName, long dwPresetType, long* pdwPresetIndex) = 0; }; // *********************************************************************// // Interface: IDevConEfx2 // Flags: (0) // GUID: {59760C60-1DAE-11D3-BDB8-00C0F02DC1B8} // *********************************************************************// interface IDevConEfx2 : public IUnknown { public: // [-1] method GetNumDevices virtual HRESULT STDMETHODCALLTYPE GetNumDevices(long* pdwNumDevices) = 0; // [-1] method GetFirstDevice virtual HRESULT STDMETHODCALLTYPE GetFirstDevice(long* pdwDevice) = 0; // [-1] method GetNextDevice virtual HRESULT STDMETHODCALLTYPE GetNextDevice(long dwCurrentDevice, long* pdwNextDevice) = 0; // [-1] method GetDeviceInfo virtual HRESULT STDMETHODCALLTYPE GetDeviceInfo(long dwDevice, long* pDeviceInfo) = 0; // [-1] method SetActiveDevice virtual HRESULT STDMETHODCALLTYPE SetActiveDevice(long dwDevice) = 0; // [-1] method CreateEfxInstance virtual HRESULT STDMETHODCALLTYPE CreateEfxInstance(long* pBaseObj, long* pFnTable, long dwDevice) = 0; // [-1] method AdviseSpeakerCfg virtual HRESULT STDMETHODCALLTYPE AdviseSpeakerCfg(Devcon32_comlib_tlb::wireHWND hCallbackWnd, long dwReserved) = 0; // [-1] method UnadviseSpeakerCfg virtual HRESULT STDMETHODCALLTYPE UnadviseSpeakerCfg(Devcon32_comlib_tlb::wireHWND hCallbackWnd) = 0; // [-1] method GetNumSpeakerCfg virtual HRESULT STDMETHODCALLTYPE GetNumSpeakerCfg(long* pdwNumSpkCfg) = 0; // [-1] method GetSpeakerCfgInfo virtual HRESULT STDMETHODCALLTYPE GetSpeakerCfgInfo(long dwSpkCfgIndex, unsigned_char* pSpkCfgInfo) = 0; // [-1] method GetActiveSpeakerCfgInfo virtual HRESULT STDMETHODCALLTYPE GetActiveSpeakerCfgInfo(unsigned_char* pSpkCfgInfo) = 0; // [-1] method SetActiveSpeakerCfg virtual HRESULT STDMETHODCALLTYPE SetActiveSpeakerCfg(long dwSpkCfgIndex, long dwPreference) = 0; // [-1] method AdvisePlacementPreset virtual HRESULT STDMETHODCALLTYPE AdvisePlacementPreset(Devcon32_comlib_tlb::wireHWND hCallbackWnd, long dwReserved) = 0; // [-1] method UnadvisePlacementPreset virtual HRESULT STDMETHODCALLTYPE UnadvisePlacementPreset(Devcon32_comlib_tlb::wireHWND hCallbackWnd) = 0; // [-1] method GetNumPlacementPreset virtual HRESULT STDMETHODCALLTYPE GetNumPlacementPreset(long dwPresetType, long* pdwNumPlacementPreset) = 0; // [-1] method GetPlacementPresetInfo virtual HRESULT STDMETHODCALLTYPE GetPlacementPresetInfo(long dwPresetIndex, long dwPresetType, unsigned_char* pPlacementPresetInfo) = 0; // [-1] method GetActivePlacementPresetInfo virtual HRESULT STDMETHODCALLTYPE GetActivePlacementPresetInfo(unsigned_char* pPlacementPresetInfo, long* pdwPresetType) = 0; // [-1] method SetActivePlacementPreset virtual HRESULT STDMETHODCALLTYPE SetActivePlacementPreset(long dwPresetIndex, long dwPresetType) = 0; // [-1] method GetPlacementPresetIndex virtual HRESULT STDMETHODCALLTYPE GetPlacementPresetIndex(unsigned_char* szPresetName, long dwPresetType, long* pdwPresetIndex) = 0; // [-1] method AdviseEAudioPreset virtual HRESULT STDMETHODCALLTYPE AdviseEAudioPreset(Devcon32_comlib_tlb::wireHWND hCallbackWnd, long dwReserved) = 0; // [-1] method UnadviseEAudioPreset virtual HRESULT STDMETHODCALLTYPE UnadviseEAudioPreset(Devcon32_comlib_tlb::wireHWND hCallbackWnd) = 0; // [-1] method GetNumEAudioPreset virtual HRESULT STDMETHODCALLTYPE GetNumEAudioPreset(long dwPresetType, long* pdwNumEAudioPreset) = 0; // [-1] method GetEAudioPresetName virtual HRESULT STDMETHODCALLTYPE GetEAudioPresetName(long dwPresetIndex, long dwPresetType, unsigned_char* szPresetName) = 0; // [-1] method GetEAudioPresetInfo virtual HRESULT STDMETHODCALLTYPE GetEAudioPresetInfo(long dwPresetIndex, long dwPresetType, unsigned_char* pEAudioPresetInfo) = 0; // [-1] method GetActiveEAudioPresetName virtual HRESULT STDMETHODCALLTYPE GetActiveEAudioPresetName(unsigned_char* szPresetName, long* pdwPresetType) = 0; // [-1] method GetActiveEAudioPresetInfo virtual HRESULT STDMETHODCALLTYPE GetActiveEAudioPresetInfo(unsigned_char* pEAudioPresetInfo, long* pdwPresetType) = 0; // [-1] method SetActiveEAudioPreset virtual HRESULT STDMETHODCALLTYPE SetActiveEAudioPreset(long dwPresetIndex, long dwPresetType) = 0; // [-1] method GetEAudioPresetIndex virtual HRESULT STDMETHODCALLTYPE GetEAudioPresetIndex(unsigned_char* szPresetName, long dwPresetType, long* pdwPresetIndex) = 0; // [-1] method AdviseSuperEnvPreset virtual HRESULT STDMETHODCALLTYPE AdviseSuperEnvPreset(Devcon32_comlib_tlb::wireHWND hCallbackWnd, long dwReserved) = 0; // [-1] method UnadviseSuperEnvPreset virtual HRESULT STDMETHODCALLTYPE UnadviseSuperEnvPreset(Devcon32_comlib_tlb::wireHWND hCallbackWnd) = 0; // [-1] method GetNumSuperEnvPreset virtual HRESULT STDMETHODCALLTYPE GetNumSuperEnvPreset(long dwPresetType, long* pdwNumSuperEnvPreset) = 0; // [-1] method GetSuperEnvPresetInfo virtual HRESULT STDMETHODCALLTYPE GetSuperEnvPresetInfo(long dwPresetIndex, long dwPresetType, unsigned_char* pSuperEnvPresetInfo) = 0; // [-1] method GetActiveSuperEnvPresetInfo virtual HRESULT STDMETHODCALLTYPE GetActiveSuperEnvPresetInfo(unsigned_char* pSuperEnvPresetInfo, long* pdwPresetType) = 0; // [-1] method SetActiveSuperEnvPreset virtual HRESULT STDMETHODCALLTYPE SetActiveSuperEnvPreset(long dwPresetIndex, long dwPresetType) = 0; // [-1] method SetActiveSuperEnvPresetEx virtual HRESULT STDMETHODCALLTYPE SetActiveSuperEnvPresetEx(long dwPresetIndex, long dwPresetType, long dwFlag) = 0; // [-1] method GetSuperEnvPresetIndex virtual HRESULT STDMETHODCALLTYPE GetSuperEnvPresetIndex(unsigned_char* szPresetName, long dwPresetType, long* pdwPresetIndex) = 0; // [-1] method GetNumAutoEAPreset virtual HRESULT STDMETHODCALLTYPE GetNumAutoEAPreset(long dwSpkCfgIndex, long dwAutoEAType, long dwPresetType, long* pdwNumPreset) = 0; // [-1] method GetAutoEAPresetInfo virtual HRESULT STDMETHODCALLTYPE GetAutoEAPresetInfo(long dwSpkCfgIndex, long dwAutoEAType, long dwPresetType, unsigned_char* pAutoEAPresetInfo, long* pdwSize) = 0; }; // *********************************************************************// // Interface: IDevConSoundfont // Flags: (0) // GUID: {4BC24567-D601-11D2-8DD4-00A0C98E9FB1} // *********************************************************************// interface IDevConSoundfont : public IUnknown { public: // [-1] method GetNumDevices virtual HRESULT STDMETHODCALLTYPE GetNumDevices(long* pdwNumDevices) = 0; // [-1] method GetFirstDevice virtual HRESULT STDMETHODCALLTYPE GetFirstDevice(long* pdwDevice) = 0; // [-1] method GetNextDevice virtual HRESULT STDMETHODCALLTYPE GetNextDevice(long dwCurrentDevice, long* pdwNextDevice) = 0; // [-1] method GetDeviceInfo virtual HRESULT STDMETHODCALLTYPE GetDeviceInfo(long dwDevice, long* pDeviceInfo) = 0; // [-1] method SetActiveDevice virtual HRESULT STDMETHODCALLTYPE SetActiveDevice(long dwDevice) = 0; // [-1] method CreateSoundfontInstance virtual HRESULT STDMETHODCALLTYPE CreateSoundfontInstance(long* pBaseObj, long* pFnTable, long dwDevice) = 0; // [-1] method GetMaxHostPatchMemory virtual HRESULT STDMETHODCALLTYPE GetMaxHostPatchMemory(long* pdwMaxMem) = 0; // [-1] method SetMaxHostPatchMemory virtual HRESULT STDMETHODCALLTYPE SetMaxHostPatchMemory(long dwMaxMem) = 0; // [-1] method GetUsedHostPatchMemory virtual HRESULT STDMETHODCALLTYPE GetUsedHostPatchMemory(long* pdwUsedMem) = 0; }; #if !defined(__TLB_NO_INTERFACE_WRAPPERS) // *********************************************************************// // SmartIntf: TCOMIDevConEfx // Interface: IDevConEfx // *********************************************************************// template class TCOMIDevConEfxT : public TComInterface, public TComInterfaceBase { public: TCOMIDevConEfxT() {} TCOMIDevConEfxT(IDevConEfx *intf, bool addRef = false) : TComInterface(intf, addRef) {} TCOMIDevConEfxT(const TCOMIDevConEfxT& src) : TComInterface(src) {} TCOMIDevConEfxT& operator=(const TCOMIDevConEfxT& src) { Bind(src, true); return *this;} HRESULT __fastcall GetNumDevices(long* pdwNumDevices); HRESULT __fastcall GetFirstDevice(long* pdwDevice); HRESULT __fastcall GetNextDevice(long dwCurrentDevice, long* pdwNextDevice); HRESULT __fastcall GetDeviceInfo(long dwDevice, long* pDeviceInfo); HRESULT __fastcall SetActiveDevice(long dwDevice); HRESULT __fastcall CreateEfxInstance(long* pBaseObj, long* pFnTable, long dwDevice); HRESULT __fastcall AdviseSpeakerCfg(Devcon32_comlib_tlb::wireHWND hCallbackWnd, long dwReserved); HRESULT __fastcall UnadviseSpeakerCfg(Devcon32_comlib_tlb::wireHWND hCallbackWnd); HRESULT __fastcall GetNumSpeakerCfg(long* pdwNumSpkCfg); HRESULT __fastcall GetSpeakerCfgInfo(long dwSpkCfgIndex, unsigned_char* pSpkCfgInfo); HRESULT __fastcall GetActiveSpeakerCfgInfo(unsigned_char* pSpkCfgInfo); HRESULT __fastcall SetActiveSpeakerCfg(long dwSpkCfgIndex, long dwPreference); HRESULT __fastcall AdvisePlacementPreset(Devcon32_comlib_tlb::wireHWND hCallbackWnd, long dwReserved); HRESULT __fastcall UnadvisePlacementPreset(Devcon32_comlib_tlb::wireHWND hCallbackWnd); HRESULT __fastcall GetNumPlacementPreset(long dwPresetType, long* pdwNumPlacementPreset); HRESULT __fastcall GetPlacementPresetInfo(long dwPresetIndex, long dwPresetType, unsigned_char* pPlacementPresetInfo); HRESULT __fastcall GetActivePlacementPresetInfo(unsigned_char* pPlacementPresetInfo, long* pdwPresetType); HRESULT __fastcall SetActivePlacementPreset(long dwPresetIndex, long dwPresetType); HRESULT __fastcall GetPlacementPresetIndex(unsigned_char* szPresetName, long dwPresetType, long* pdwPresetIndex); HRESULT __fastcall AdviseEAudioPreset(Devcon32_comlib_tlb::wireHWND hCallbackWnd, long dwReserved); HRESULT __fastcall UnadviseEAudioPreset(Devcon32_comlib_tlb::wireHWND hCallbackWnd); HRESULT __fastcall GetNumEAudioPreset(long dwPresetType, long* pdwNumEAudioPreset); HRESULT __fastcall GetEAudioPresetName(long dwPresetIndex, long dwPresetType, unsigned_char* szPresetName); HRESULT __fastcall GetEAudioPresetInfo(long dwPresetIndex, long dwPresetType, unsigned_char* pEAudioPresetInfo); HRESULT __fastcall GetActiveEAudioPresetName(unsigned_char* szPresetName, long* pdwPresetType); HRESULT __fastcall GetActiveEAudioPresetInfo(unsigned_char* pEAudioPresetInfo, long* pdwPresetType); HRESULT __fastcall SetActiveEAudioPreset(long dwPresetIndex, long dwPresetType); HRESULT __fastcall GetEAudioPresetIndex(unsigned_char* szPresetName, long dwPresetType, long* pdwPresetIndex); HRESULT __fastcall AdviseSuperEnvPreset(Devcon32_comlib_tlb::wireHWND hCallbackWnd, long dwReserved); HRESULT __fastcall UnadviseSuperEnvPreset(Devcon32_comlib_tlb::wireHWND hCallbackWnd); HRESULT __fastcall GetNumSuperEnvPreset(long dwPresetType, long* pdwNumSuperEnvPreset); HRESULT __fastcall GetSuperEnvPresetInfo(long dwPresetIndex, long dwPresetType, unsigned_char* pSuperEnvPresetInfo); HRESULT __fastcall GetActiveSuperEnvPresetInfo(unsigned_char* pSuperEnvPresetInfo, long* pdwPresetType); HRESULT __fastcall SetActiveSuperEnvPreset(long dwPresetIndex, long dwPresetType); HRESULT __fastcall GetSuperEnvPresetIndex(unsigned_char* szPresetName, long dwPresetType, long* pdwPresetIndex); }; typedef TCOMIDevConEfxT TCOMIDevConEfx; typedef TComInterface TCOMIDevConEfx2; // *********************************************************************// // SmartIntf: TCOMIDevConSoundfont // Interface: IDevConSoundfont // *********************************************************************// template class TCOMIDevConSoundfontT : public TComInterface, public TComInterfaceBase { public: TCOMIDevConSoundfontT() {} TCOMIDevConSoundfontT(IDevConSoundfont *intf, bool addRef = false) : TComInterface(intf, addRef) {} TCOMIDevConSoundfontT(const TCOMIDevConSoundfontT& src) : TComInterface(src) {} TCOMIDevConSoundfontT& operator=(const TCOMIDevConSoundfontT& src) { Bind(src, true); return *this;} HRESULT __fastcall GetNumDevices(long* pdwNumDevices); HRESULT __fastcall GetFirstDevice(long* pdwDevice); HRESULT __fastcall GetNextDevice(long dwCurrentDevice, long* pdwNextDevice); HRESULT __fastcall GetDeviceInfo(long dwDevice, long* pDeviceInfo); HRESULT __fastcall SetActiveDevice(long dwDevice); HRESULT __fastcall CreateSoundfontInstance(long* pBaseObj, long* pFnTable, long dwDevice); HRESULT __fastcall GetMaxHostPatchMemory(long* pdwMaxMem); HRESULT __fastcall SetMaxHostPatchMemory(long dwMaxMem); HRESULT __fastcall GetUsedHostPatchMemory(long* pdwUsedMem); }; typedef TCOMIDevConSoundfontT TCOMIDevConSoundfont; // *********************************************************************// // SmartIntf: TCOMIDevConEfx // Interface: IDevConEfx // *********************************************************************// template HRESULT __fastcall TCOMIDevConEfxT::GetNumDevices(long* pdwNumDevices) { return (*this)->GetNumDevices(pdwNumDevices); } template HRESULT __fastcall TCOMIDevConEfxT::GetFirstDevice(long* pdwDevice) { return (*this)->GetFirstDevice(pdwDevice); } template HRESULT __fastcall TCOMIDevConEfxT::GetNextDevice(long dwCurrentDevice, long* pdwNextDevice) { return (*this)->GetNextDevice(dwCurrentDevice, pdwNextDevice); } template HRESULT __fastcall TCOMIDevConEfxT::GetDeviceInfo(long dwDevice, long* pDeviceInfo) { return (*this)->GetDeviceInfo(dwDevice, pDeviceInfo); } template HRESULT __fastcall TCOMIDevConEfxT::SetActiveDevice(long dwDevice) { return (*this)->SetActiveDevice(dwDevice); } template HRESULT __fastcall TCOMIDevConEfxT::CreateEfxInstance(long* pBaseObj, long* pFnTable, long dwDevice) { return (*this)->CreateEfxInstance(pBaseObj, pFnTable, dwDevice); } template HRESULT __fastcall TCOMIDevConEfxT::AdviseSpeakerCfg(Devcon32_comlib_tlb::wireHWND hCallbackWnd, long dwReserved) { return (*this)->AdviseSpeakerCfg(hCallbackWnd, dwReserved); } template HRESULT __fastcall TCOMIDevConEfxT::UnadviseSpeakerCfg(Devcon32_comlib_tlb::wireHWND hCallbackWnd) { return (*this)->UnadviseSpeakerCfg(hCallbackWnd); } template HRESULT __fastcall TCOMIDevConEfxT::GetNumSpeakerCfg(long* pdwNumSpkCfg) { return (*this)->GetNumSpeakerCfg(pdwNumSpkCfg); } template HRESULT __fastcall TCOMIDevConEfxT::GetSpeakerCfgInfo(long dwSpkCfgIndex, unsigned_char* pSpkCfgInfo) { return (*this)->GetSpeakerCfgInfo(dwSpkCfgIndex, pSpkCfgInfo); } template HRESULT __fastcall TCOMIDevConEfxT::GetActiveSpeakerCfgInfo(unsigned_char* pSpkCfgInfo) { return (*this)->GetActiveSpeakerCfgInfo(pSpkCfgInfo); } template HRESULT __fastcall TCOMIDevConEfxT::SetActiveSpeakerCfg(long dwSpkCfgIndex, long dwPreference) { return (*this)->SetActiveSpeakerCfg(dwSpkCfgIndex, dwPreference); } template HRESULT __fastcall TCOMIDevConEfxT::AdvisePlacementPreset(Devcon32_comlib_tlb::wireHWND hCallbackWnd, long dwReserved) { return (*this)->AdvisePlacementPreset(hCallbackWnd, dwReserved); } template HRESULT __fastcall TCOMIDevConEfxT::UnadvisePlacementPreset(Devcon32_comlib_tlb::wireHWND hCallbackWnd) { return (*this)->UnadvisePlacementPreset(hCallbackWnd); } template HRESULT __fastcall TCOMIDevConEfxT::GetNumPlacementPreset(long dwPresetType, long* pdwNumPlacementPreset) { return (*this)->GetNumPlacementPreset(dwPresetType, pdwNumPlacementPreset); } template HRESULT __fastcall TCOMIDevConEfxT::GetPlacementPresetInfo(long dwPresetIndex, long dwPresetType, unsigned_char* pPlacementPresetInfo) { return (*this)->GetPlacementPresetInfo(dwPresetIndex, dwPresetType, pPlacementPresetInfo); } template HRESULT __fastcall TCOMIDevConEfxT::GetActivePlacementPresetInfo(unsigned_char* pPlacementPresetInfo, long* pdwPresetType) { return (*this)->GetActivePlacementPresetInfo(pPlacementPresetInfo, pdwPresetType); } template HRESULT __fastcall TCOMIDevConEfxT::SetActivePlacementPreset(long dwPresetIndex, long dwPresetType) { return (*this)->SetActivePlacementPreset(dwPresetIndex, dwPresetType); } template HRESULT __fastcall TCOMIDevConEfxT::GetPlacementPresetIndex(unsigned_char* szPresetName, long dwPresetType, long* pdwPresetIndex) { return (*this)->GetPlacementPresetIndex(szPresetName, dwPresetType, pdwPresetIndex); } template HRESULT __fastcall TCOMIDevConEfxT::AdviseEAudioPreset(Devcon32_comlib_tlb::wireHWND hCallbackWnd, long dwReserved) { return (*this)->AdviseEAudioPreset(hCallbackWnd, dwReserved); } template HRESULT __fastcall TCOMIDevConEfxT::UnadviseEAudioPreset(Devcon32_comlib_tlb::wireHWND hCallbackWnd) { return (*this)->UnadviseEAudioPreset(hCallbackWnd); } template HRESULT __fastcall TCOMIDevConEfxT::GetNumEAudioPreset(long dwPresetType, long* pdwNumEAudioPreset) { return (*this)->GetNumEAudioPreset(dwPresetType, pdwNumEAudioPreset); } template HRESULT __fastcall TCOMIDevConEfxT::GetEAudioPresetName(long dwPresetIndex, long dwPresetType, unsigned_char* szPresetName) { return (*this)->GetEAudioPresetName(dwPresetIndex, dwPresetType, szPresetName); } template HRESULT __fastcall TCOMIDevConEfxT::GetEAudioPresetInfo(long dwPresetIndex, long dwPresetType, unsigned_char* pEAudioPresetInfo) { return (*this)->GetEAudioPresetInfo(dwPresetIndex, dwPresetType, pEAudioPresetInfo); } template HRESULT __fastcall TCOMIDevConEfxT::GetActiveEAudioPresetName(unsigned_char* szPresetName, long* pdwPresetType) { return (*this)->GetActiveEAudioPresetName(szPresetName, pdwPresetType); } template HRESULT __fastcall TCOMIDevConEfxT::GetActiveEAudioPresetInfo(unsigned_char* pEAudioPresetInfo, long* pdwPresetType) { return (*this)->GetActiveEAudioPresetInfo(pEAudioPresetInfo, pdwPresetType); } template HRESULT __fastcall TCOMIDevConEfxT::SetActiveEAudioPreset(long dwPresetIndex, long dwPresetType) { return (*this)->SetActiveEAudioPreset(dwPresetIndex, dwPresetType); } template HRESULT __fastcall TCOMIDevConEfxT::GetEAudioPresetIndex(unsigned_char* szPresetName, long dwPresetType, long* pdwPresetIndex) { return (*this)->GetEAudioPresetIndex(szPresetName, dwPresetType, pdwPresetIndex); } template HRESULT __fastcall TCOMIDevConEfxT::AdviseSuperEnvPreset(Devcon32_comlib_tlb::wireHWND hCallbackWnd, long dwReserved) { return (*this)->AdviseSuperEnvPreset(hCallbackWnd, dwReserved); } template HRESULT __fastcall TCOMIDevConEfxT::UnadviseSuperEnvPreset(Devcon32_comlib_tlb::wireHWND hCallbackWnd) { return (*this)->UnadviseSuperEnvPreset(hCallbackWnd); } template HRESULT __fastcall TCOMIDevConEfxT::GetNumSuperEnvPreset(long dwPresetType, long* pdwNumSuperEnvPreset) { return (*this)->GetNumSuperEnvPreset(dwPresetType, pdwNumSuperEnvPreset); } template HRESULT __fastcall TCOMIDevConEfxT::GetSuperEnvPresetInfo(long dwPresetIndex, long dwPresetType, unsigned_char* pSuperEnvPresetInfo) { return (*this)->GetSuperEnvPresetInfo(dwPresetIndex, dwPresetType, pSuperEnvPresetInfo); } template HRESULT __fastcall TCOMIDevConEfxT::GetActiveSuperEnvPresetInfo(unsigned_char* pSuperEnvPresetInfo, long* pdwPresetType) { return (*this)->GetActiveSuperEnvPresetInfo(pSuperEnvPresetInfo, pdwPresetType); } template HRESULT __fastcall TCOMIDevConEfxT::SetActiveSuperEnvPreset(long dwPresetIndex, long dwPresetType) { return (*this)->SetActiveSuperEnvPreset(dwPresetIndex, dwPresetType); } template HRESULT __fastcall TCOMIDevConEfxT::GetSuperEnvPresetIndex(unsigned_char* szPresetName, long dwPresetType, long* pdwPresetIndex) { return (*this)->GetSuperEnvPresetIndex(szPresetName, dwPresetType, pdwPresetIndex); } // *********************************************************************// // SmartIntf: TCOMIDevConSoundfont // Interface: IDevConSoundfont // *********************************************************************// template HRESULT __fastcall TCOMIDevConSoundfontT::GetNumDevices(long* pdwNumDevices) { return (*this)->GetNumDevices(pdwNumDevices); } template HRESULT __fastcall TCOMIDevConSoundfontT::GetFirstDevice(long* pdwDevice) { return (*this)->GetFirstDevice(pdwDevice); } template HRESULT __fastcall TCOMIDevConSoundfontT::GetNextDevice(long dwCurrentDevice, long* pdwNextDevice) { return (*this)->GetNextDevice(dwCurrentDevice, pdwNextDevice); } template HRESULT __fastcall TCOMIDevConSoundfontT::GetDeviceInfo(long dwDevice, long* pDeviceInfo) { return (*this)->GetDeviceInfo(dwDevice, pDeviceInfo); } template HRESULT __fastcall TCOMIDevConSoundfontT::SetActiveDevice(long dwDevice) { return (*this)->SetActiveDevice(dwDevice); } template HRESULT __fastcall TCOMIDevConSoundfontT::CreateSoundfontInstance(long* pBaseObj, long* pFnTable, long dwDevice) { return (*this)->CreateSoundfontInstance(pBaseObj, pFnTable, dwDevice); } template HRESULT __fastcall TCOMIDevConSoundfontT::GetMaxHostPatchMemory(long* pdwMaxMem) { return (*this)->GetMaxHostPatchMemory(pdwMaxMem); } template HRESULT __fastcall TCOMIDevConSoundfontT::SetMaxHostPatchMemory(long dwMaxMem) { return (*this)->SetMaxHostPatchMemory(dwMaxMem); } template HRESULT __fastcall TCOMIDevConSoundfontT::GetUsedHostPatchMemory(long* pdwUsedMem) { return (*this)->GetUsedHostPatchMemory(pdwUsedMem); } // *********************************************************************// // The following typedefs expose classes (named CoCoClassName) that // provide static Create() and CreateRemote(LPWSTR machineName) methods // for creating an instance of an exposed object. These functions can // be used by client wishing to automate CoClasses exposed by this // typelibrary. // *********************************************************************// // *********************************************************************// // COCLASS DEFAULT INTERFACE CREATOR // CoClass : DevConEfx // Interface: TCOMIDevConEfx // *********************************************************************// typedef TCoClassCreatorT CoDevConEfx; // *********************************************************************// // COCLASS DEFAULT INTERFACE CREATOR // CoClass : DevConSoundfont // Interface: TCOMIDevConSoundfont // *********************************************************************// typedef TCoClassCreatorT CoDevConSoundfont; #endif // __TLB_NO_INTERFACE_WRAPPERS }; // namespace Devcon32_comlib_tlb #if !defined(NO_IMPLICIT_NAMESPACE_USE) using namespace Devcon32_comlib_tlb; #endif #pragma option pop #endif // __DEVCON32_COMLib_TLB_h__