autoDemo.idl
上传用户:weisheen
上传日期:2022-07-09
资源大小:19390k
文件大小:1k
源码类别:
ActiveX/DCOM/ATL
开发平台:
Visual C++
- // autoDemo.idl : IDL source for autoDemo.dll
- //
- // This file will be processed by the MIDL tool to
- // produce the type library (autoDemo.tlb) and marshalling code.
- import "oaidl.idl";
- import "ocidl.idl";
- [
- object,
- uuid(773A8D98-71EF-4BFD-873E-930EE45A4B57),
- dual,
- helpstring("IMyAbc Interface"),
- pointer_default(unique)
- ]
- interface IMyAbc : IDispatch
- {
- [id(1), helpstring("method add")] HRESULT add([in] int a, [in] int b,[out,retval] int *c);
- };
- [
- uuid(B9B6894F-E818-4248-A2BB-F533D5CAFCB5),
- version(1.0),
- helpstring("autoDemo 1.0 Type Library")
- ]
- library AUTODEMOLib
- {
- importlib("stdole32.tlb");
- importlib("stdole2.tlb");
- [
- uuid(46C50D71-125C-4D5A-A6E7-DB49F5FED5F7),
- helpstring("MyAbc Class")
- ]
- coclass MyAbc
- {
- [default] interface IMyAbc;
- };
- };