// ************************************************************************ // // 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:53:09 PM from Type Library described below. // ************************************************************************ // // Type Lib: C:\WINDOWS\SYSTEM\E10FXSVR.EXE (1) // IID\LCID: {D35D4601-8C51-11D1-B253-00A024D13CE1}\0 // Helpfile: // DepndLst: // (1) v2.0 stdole, (C:\WINDOWS\SYSTEM\STDOLE2.TLB) // (2) v4.0 StdVCL, (C:\WINDOWS\SYSTEM\STDVCL40.DLL) // ************************************************************************ // #ifndef __FXENGINESERVERLib_TLB_h__ #define __FXENGINESERVERLib_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 Fxengineserverlib_tlb { // *********************************************************************// // HelpString: FXEngineServer 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_FXENGINESERVERLib; extern __declspec (package) const GUID IID_IFXManager; extern __declspec (package) const GUID CLSID_FXEngine; extern __declspec (package) const GUID IID_IFXParamManager; extern __declspec (package) const GUID GUID___MIDL___MIDL_itf_fxengineserver_0136_0001; extern __declspec (package) const GUID GUID_E10FXINSTR; extern __declspec (package) const GUID GUID___MIDL___MIDL_itf_fxengineserver_0136_0002; extern __declspec (package) const GUID GUID_E10FXTRAMMODE; extern __declspec (package) const GUID IID_IFXCallback; // *********************************************************************// // Forward declaration of types defined in TypeLibrary // *********************************************************************// struct __MIDL___MIDL_itf_fxengineserver_0136_0001; enum __MIDL___MIDL_itf_fxengineserver_0136_0002; interface DECLSPEC_UUID("{C61556A0-8B65-11D1-B253-00A024D13CE1}") IFXManager; typedef TComInterface IFXManagerPtr; interface DECLSPEC_UUID("{54CDCEE0-8B7A-11D1-B253-00A024D13CE1}") IFXParamManager; typedef TComInterface IFXParamManagerPtr; interface DECLSPEC_UUID("{27F83BC0-8B71-11D1-B253-00A024D13CE1}") IFXCallback; typedef TComInterface IFXCallbackPtr; // *********************************************************************// // 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 IFXManager FXEngine; typedef IFXManagerPtr FXEnginePtr; #define LIBID_OF_FXEngine (&LIBID_FXENGINESERVERLib) // *********************************************************************// // Declaration of Aliases defined in Type Library // *********************************************************************// typedef Fxengineserverlib_tlb::__MIDL___MIDL_itf_fxengineserver_0136_0001 E10FXINSTR; typedef Fxengineserverlib_tlb::__MIDL___MIDL_itf_fxengineserver_0136_0002 E10FXTRAMMODE; // *********************************************************************// // Declaration of Enumerations defined in Type Library // *********************************************************************// typedef enum __MIDL___MIDL_itf_fxengineserver_0136_0002 { E10FXMODE_READ = 0, E10FXMODE_WRITE = 1, E10FXMODE_RSAW = 2, E10FXMODE_TREAD = 3, E10FXMODE_CLEAR = 4 } __MIDL___MIDL_itf_fxengineserver_0136_0002; // *********************************************************************// // Declaration of Structures and Unions defined in Type Library // *********************************************************************// struct __MIDL___MIDL_itf_fxengineserver_0136_0001 { unsigned_char opcode; unsigned_short opRes; unsigned_short opA; unsigned_short opX; unsigned_short opY; }; // *********************************************************************// // Interface: IFXManager // Flags: (0) // GUID: {C61556A0-8B65-11D1-B253-00A024D13CE1} // *********************************************************************// interface IFXManager : public IUnknown { public: virtual HRESULT STDMETHODCALLTYPE PatchPort(unsigned_long pgmA/*[in]*/, unsigned_short nOutChan/*[in]*/, unsigned_long pgmB/*[in]*/, unsigned_short nInChan/*[in]*/) = 0; // [-1] virtual HRESULT STDMETHODCALLTYPE GroundInput(unsigned_long pgmID/*[in]*/, unsigned_short nInChan/*[in]*/) = 0; // [-1] virtual HRESULT STDMETHODCALLTYPE GroundOutput(unsigned_long pgmID/*[in]*/, unsigned_short nOutChan/*[in]*/) = 0; // [-1] virtual HRESULT STDMETHODCALLTYPE Unpatch(unsigned_long pgmID/*[in]*/) = 0; // [-1] virtual HRESULT STDMETHODCALLTYPE IsLoadable(long sizeIn/*[in]*/, unsigned_char* pgmText/*[in]*/) = 0; // [-1] virtual HRESULT STDMETHODCALLTYPE Load(long sizeIn/*[in]*/, unsigned_char* pgmText/*[in]*/, unsigned_long* ppgmID/*[out]*/) = 0; // [-1] virtual HRESULT STDMETHODCALLTYPE Unload(unsigned_long pgmID/*[in]*/) = 0; // [-1] virtual HRESULT STDMETHODCALLTYPE Start(unsigned_long pgmID/*[in]*/) = 0; // [-1] virtual HRESULT STDMETHODCALLTYPE Stop(unsigned_long pgmID/*[in]*/) = 0; // [-1] virtual HRESULT STDMETHODCALLTYPE Rampup(unsigned_long pgmID/*[in]*/) = 0; // [-1] virtual HRESULT STDMETHODCALLTYPE Rampdown(unsigned_long pgmID/*[in]*/) = 0; // [-1] virtual HRESULT STDMETHODCALLTYPE InputMix(unsigned_long pgmID/*[in]*/, unsigned_long ulValue/*[in]*/) = 0; // [-1] virtual HRESULT STDMETHODCALLTYPE OutputMix(unsigned_long pgmID/*[in]*/, unsigned_long ulValue/*[in]*/) = 0; // [-1] virtual HRESULT STDMETHODCALLTYPE WetMix(unsigned_long pgmID/*[in]*/, unsigned_long ulValue/*[in]*/) = 0; // [-1] virtual HRESULT STDMETHODCALLTYPE CreatePortID(unsigned_long ulInMask/*[in]*/, unsigned_long ulOutMask/*[in]*/, unsigned_long* ppgmID/*[out]*/) = 0; // [-1] virtual HRESULT STDMETHODCALLTYPE FreePortID(unsigned_long pgmID/*[in]*/) = 0; // [-1] virtual HRESULT STDMETHODCALLTYPE CreateParamManager(unsigned_long pgmID/*[in]*/, Fxengineserverlib_tlb::IFXParamManagerPtr* pManager/*[out]*/) = 0; // [-1] }; // *********************************************************************// // Interface: IFXParamManager // Flags: (0) // GUID: {54CDCEE0-8B7A-11D1-B253-00A024D13CE1} // *********************************************************************// interface IFXParamManager : public IUnknown { public: virtual HRESULT STDMETHODCALLTYPE ReadGPR(unsigned_short gprAddr/*[in]*/, unsigned_long* pulValue/*[out]*/) = 0; // [-1] virtual HRESULT STDMETHODCALLTYPE ReadGPRArray(unsigned_short gprAddr/*[in]*/, long nValues/*[in]*/, unsigned_long* aulValue/*[out]*/) = 0; // [-1] virtual HRESULT STDMETHODCALLTYPE WriteGPR(unsigned_short gprAddr/*[in]*/, unsigned_long ulValue/*[in]*/) = 0; // [-1] virtual HRESULT STDMETHODCALLTYPE WriteGPRArray(unsigned_short gprAddr/*[in]*/, long nValues/*[in]*/, unsigned_long* aulValue/*[in]*/) = 0; // [-1] virtual HRESULT STDMETHODCALLTYPE ReadInstructionField(unsigned_short instrField/*[in]*/, unsigned_short* pValue/*[out,retval]*/) = 0; // [-1] virtual HRESULT STDMETHODCALLTYPE ReadInstruction(unsigned_short instrAddr/*[in]*/, Fxengineserverlib_tlb::E10FXINSTR* pValue/*[out,retval]*/) = 0; // [-1] virtual HRESULT STDMETHODCALLTYPE WriteInstructionField(unsigned_short instrField/*[in]*/, unsigned_short value/*[in]*/) = 0; // [-1] virtual HRESULT STDMETHODCALLTYPE WriteInstruction(unsigned_short instrAddr/*[in]*/, Fxengineserverlib_tlb::E10FXINSTR value/*[in]*/) = 0; // [-1] virtual HRESULT STDMETHODCALLTYPE ReadFlags(unsigned_short tramBufAddr/*[in]*/, Fxengineserverlib_tlb::E10FXTRAMMODE* pFlags/*[out,retval]*/) = 0; // [-1] virtual HRESULT STDMETHODCALLTYPE WriteFlags(unsigned_short tramBufAddr/*[in]*/, Fxengineserverlib_tlb::E10FXTRAMMODE flags/*[in]*/) = 0; // [-1] virtual HRESULT STDMETHODCALLTYPE Interpolate(unsigned_short gprAddr/*[in]*/, unsigned_long ulDest/*[in]*/) = 0; // [-1] virtual HRESULT STDMETHODCALLTYPE StopInterpolator(unsigned_short gprAddr/*[in]*/) = 0; // [-1] virtual HRESULT STDMETHODCALLTYPE StopAllInterpolators(void) = 0; // [-1] virtual HRESULT STDMETHODCALLTYPE ReadTRAMAddress(unsigned_short tramBufAddr/*[in]*/, unsigned_long* pulAddr/*[out,retval]*/) = 0; // [-1] virtual HRESULT STDMETHODCALLTYPE WriteTRAMAddress(unsigned_short tramBufAddr/*[in]*/, unsigned_long ulAddr/*[in]*/) = 0; // [-1] virtual HRESULT STDMETHODCALLTYPE RegisterCallback(unsigned_long fxEvent/*[in]*/, unsigned_long ulParam/*[in]*/, Fxengineserverlib_tlb::IFXCallbackPtr pHandler/*[in]*/, unsigned_long* pcallID/*[out]*/) = 0; // [-1] virtual HRESULT STDMETHODCALLTYPE UnregisterCallback(Fxengineserverlib_tlb::IFXCallbackPtr pHandler/*[in]*/, unsigned_long callID/*[in]*/) = 0; // [-1] }; // *********************************************************************// // Interface: IFXCallback // Flags: (0) // GUID: {27F83BC0-8B71-11D1-B253-00A024D13CE1} // *********************************************************************// interface IFXCallback : public IUnknown { public: virtual HRESULT STDMETHODCALLTYPE Fire(unsigned_long callID/*[in]*/, unsigned_long ulEvent/*[in]*/, unsigned_long ulParam/*[in]*/, unsigned_long ulSystemParam/*[in]*/) = 0; // [-1] }; #if !defined(__TLB_NO_INTERFACE_WRAPPERS) // *********************************************************************// // SmartIntf: TCOMIFXManager // Interface: IFXManager // *********************************************************************// template class TCOMIFXManagerT : public TComInterface, public TComInterfaceBase { public: TCOMIFXManagerT() {} TCOMIFXManagerT(IFXManager *intf, bool addRef = false) : TComInterface(intf, addRef) {} TCOMIFXManagerT(const TCOMIFXManagerT& src) : TComInterface(src) {} TCOMIFXManagerT& operator=(const TCOMIFXManagerT& src) { Bind(src, true); return *this;} HRESULT __fastcall PatchPort(unsigned_long pgmA/*[in]*/, unsigned_short nOutChan/*[in]*/, unsigned_long pgmB/*[in]*/, unsigned_short nInChan/*[in]*/); HRESULT __fastcall GroundInput(unsigned_long pgmID/*[in]*/, unsigned_short nInChan/*[in]*/); HRESULT __fastcall GroundOutput(unsigned_long pgmID/*[in]*/, unsigned_short nOutChan/*[in]*/); HRESULT __fastcall Unpatch(unsigned_long pgmID/*[in]*/); HRESULT __fastcall IsLoadable(long sizeIn/*[in]*/, unsigned_char* pgmText/*[in]*/); HRESULT __fastcall Load(long sizeIn/*[in]*/, unsigned_char* pgmText/*[in]*/, unsigned_long* ppgmID/*[out]*/); HRESULT __fastcall Unload(unsigned_long pgmID/*[in]*/); HRESULT __fastcall Start(unsigned_long pgmID/*[in]*/); HRESULT __fastcall Stop(unsigned_long pgmID/*[in]*/); HRESULT __fastcall Rampup(unsigned_long pgmID/*[in]*/); HRESULT __fastcall Rampdown(unsigned_long pgmID/*[in]*/); HRESULT __fastcall InputMix(unsigned_long pgmID/*[in]*/, unsigned_long ulValue/*[in]*/); HRESULT __fastcall OutputMix(unsigned_long pgmID/*[in]*/, unsigned_long ulValue/*[in]*/); HRESULT __fastcall WetMix(unsigned_long pgmID/*[in]*/, unsigned_long ulValue/*[in]*/); HRESULT __fastcall CreatePortID(unsigned_long ulInMask/*[in]*/, unsigned_long ulOutMask/*[in]*/, unsigned_long* ppgmID/*[out]*/); HRESULT __fastcall FreePortID(unsigned_long pgmID/*[in]*/); HRESULT __fastcall CreateParamManager(unsigned_long pgmID/*[in]*/, Fxengineserverlib_tlb::IFXParamManagerPtr* pManager/*[out]*/); }; typedef TCOMIFXManagerT TCOMIFXManager; typedef TComInterface TCOMIFXParamManager; typedef TComInterface TCOMIFXCallback; // *********************************************************************// // SmartIntf: TCOMIFXManager // Interface: IFXManager // *********************************************************************// template HRESULT __fastcall TCOMIFXManagerT::PatchPort(unsigned_long pgmA/*[in]*/, unsigned_short nOutChan/*[in]*/, unsigned_long pgmB/*[in]*/, unsigned_short nInChan/*[in]*/) { return (*this)->PatchPort(pgmA, nOutChan, pgmB, nInChan); } template HRESULT __fastcall TCOMIFXManagerT::GroundInput(unsigned_long pgmID/*[in]*/, unsigned_short nInChan/*[in]*/) { return (*this)->GroundInput(pgmID, nInChan); } template HRESULT __fastcall TCOMIFXManagerT::GroundOutput(unsigned_long pgmID/*[in]*/, unsigned_short nOutChan/*[in]*/) { return (*this)->GroundOutput(pgmID, nOutChan); } template HRESULT __fastcall TCOMIFXManagerT::Unpatch(unsigned_long pgmID/*[in]*/) { return (*this)->Unpatch(pgmID); } template HRESULT __fastcall TCOMIFXManagerT::IsLoadable(long sizeIn/*[in]*/, unsigned_char* pgmText/*[in]*/) { return (*this)->IsLoadable(sizeIn, pgmText); } template HRESULT __fastcall TCOMIFXManagerT::Load(long sizeIn/*[in]*/, unsigned_char* pgmText/*[in]*/, unsigned_long* ppgmID/*[out]*/) { return (*this)->Load(sizeIn, pgmText, ppgmID); } template HRESULT __fastcall TCOMIFXManagerT::Unload(unsigned_long pgmID/*[in]*/) { return (*this)->Unload(pgmID); } template HRESULT __fastcall TCOMIFXManagerT::Start(unsigned_long pgmID/*[in]*/) { return (*this)->Start(pgmID); } template HRESULT __fastcall TCOMIFXManagerT::Stop(unsigned_long pgmID/*[in]*/) { return (*this)->Stop(pgmID); } template HRESULT __fastcall TCOMIFXManagerT::Rampup(unsigned_long pgmID/*[in]*/) { return (*this)->Rampup(pgmID); } template HRESULT __fastcall TCOMIFXManagerT::Rampdown(unsigned_long pgmID/*[in]*/) { return (*this)->Rampdown(pgmID); } template HRESULT __fastcall TCOMIFXManagerT::InputMix(unsigned_long pgmID/*[in]*/, unsigned_long ulValue/*[in]*/) { return (*this)->InputMix(pgmID, ulValue); } template HRESULT __fastcall TCOMIFXManagerT::OutputMix(unsigned_long pgmID/*[in]*/, unsigned_long ulValue/*[in]*/) { return (*this)->OutputMix(pgmID, ulValue); } template HRESULT __fastcall TCOMIFXManagerT::WetMix(unsigned_long pgmID/*[in]*/, unsigned_long ulValue/*[in]*/) { return (*this)->WetMix(pgmID, ulValue); } template HRESULT __fastcall TCOMIFXManagerT::CreatePortID(unsigned_long ulInMask/*[in]*/, unsigned_long ulOutMask/*[in]*/, unsigned_long* ppgmID/*[out]*/) { return (*this)->CreatePortID(ulInMask, ulOutMask, ppgmID); } template HRESULT __fastcall TCOMIFXManagerT::FreePortID(unsigned_long pgmID/*[in]*/) { return (*this)->FreePortID(pgmID); } template HRESULT __fastcall TCOMIFXManagerT::CreateParamManager(unsigned_long pgmID/*[in]*/, Fxengineserverlib_tlb::IFXParamManagerPtr* pManager/*[out]*/) { return (*this)->CreateParamManager(pgmID, pManager); } // *********************************************************************// // 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 : FXEngine // Interface: TCOMIFXManager // *********************************************************************// typedef TCoClassCreatorT CoFXEngine; #endif // __TLB_NO_INTERFACE_WRAPPERS }; // namespace Fxengineserverlib_tlb #if !defined(NO_IMPLICIT_NAMESPACE_USE) using namespace Fxengineserverlib_tlb; #endif #pragma option pop #endif // __FXENGINESERVERLib_TLB_h__