// STC.idl : IDL source for STC.dll // // This file will be processed by the MIDL tool to // produce the type library (STC.tlb) and marshalling code. import "oaidl.idl"; import "ocidl.idl"; [ object, uuid(E216E95F-92EA-11D3-92B7-00E0291AB717), dual, helpstring("ITaxCalc Interface"), pointer_default(unique) ] interface ITaxCalc : IDispatch { [propput, id(1), helpstring("property Merchant ID")] HRESULT MID([in] long newVal); [propput, id(2), helpstring("property Pwd")] HRESULT Pwd([in] BSTR newVal); [propget, id(3), helpstring("property ZIP5")] HRESULT ZIP([out, retval] BSTR *pVal); [propput, id(3), helpstring("property ZIP5")] HRESULT ZIP([in] BSTR newVal); [propget, id(5), helpstring("property Street Address")] HRESULT StreetAddr([out, retval] BSTR *pVal); [propput, id(5), helpstring("property Street Address")] HRESULT StreetAddr([in] BSTR newVal); [propget, id(6), helpstring("property City")] HRESULT City([out, retval] BSTR *pVal); [propput, id(6), helpstring("property City")] HRESULT City([in] BSTR newVal); [propget, id(7), helpstring("property County")] HRESULT County([out, retval] BSTR *pVal); [propput, id(7), helpstring("property County")] HRESULT County([in] BSTR newVal); [propget, id(8), helpstring("property ST")] HRESULT ST([out, retval] BSTR *pVal); [propput, id(8), helpstring("property ST")] HRESULT ST([in] BSTR newVal); [id(9), helpstring("method Calculate")] HRESULT Calculate([out, retval] float *pfRate); [propget, id(10), helpstring("property Total Tax Rate")] HRESULT TotalTaxRate([out, retval] float *pVal); [propget, id(11), helpstring("property IsUseTax")] HRESULT IsUseTax([out, retval] BOOL *pVal); [propget, id(12), helpstring("property ST Rate")] HRESULT STTaxRate([out, retval] float *pVal); [propget, id(13), helpstring("property County Rate")] HRESULT CountyTaxRate([out, retval] float *pVal); [propget, id(14), helpstring("property City Rate")] HRESULT CityTaxRate([out, retval] float *pVal); [propget, id(15), helpstring("property ST Amount")] HRESULT STTaxAmount([out, retval] float *pVal); [propget, id(16), helpstring("property County Amount")] HRESULT CountyTaxAmount([out, retval] float *pVal); [propget, id(17), helpstring("property City Amount")] HRESULT CityTaxAmount([out, retval] float *pVal); [propget, id(18), helpstring("property Total Tax Amount")] HRESULT TotalTaxAmount([out, retval] float *pVal); [propput, id(19), helpstring("property Item Amount")] HRESULT Amount([in] float newVal); }; [ uuid(E216E953-92EA-11D3-92B7-00E0291AB717), version(1.0), helpstring("STC 1.0 Type Library") ] library STCLib { importlib("stdole32.tlb"); importlib("stdole2.tlb"); [ uuid(E216E960-92EA-11D3-92B7-00E0291AB717), helpstring("TaxCalc Class") ] coclass TaxCalc { [default] interface ITaxCalc; }; };