// badCOM.idl : IDL source for badCOM.dll // // This file will be processed by the MIDL tool to // produce the type library (badCOM.tlb) and marshalling code. import "oaidl.idl"; import "ocidl.idl"; [ object, uuid(956B064F-77C0-4384-9B47-9ED71D5432BA), dual, helpstring("IScenarios Interface"), pointer_default(unique) ] interface IScenarios : IDispatch { [id(1), helpstring("method getSc")] HRESULT getSc(VARIANT * pVar); [id(2), helpstring("method sendSc")] HRESULT sendSc(VARIANT * pVar); [id(3), helpstring("method processSc")] HRESULT processSc(VARIANT * pVar); }; [ uuid(ADF8D659-EBA4-4428-B80B-5A9E361CC1E3), version(1.0), helpstring("badCOM 1.0 Type Library") ] library BADCOMLib { importlib("stdole32.tlb"); importlib("stdole2.tlb"); [ uuid(CB8D0A8B-42E7-4D1D-8B61-20AE120DF83B), helpstring("Scenarios Class") ] coclass Scenarios { [default] interface IScenarios; }; };