DemoError.idl
上传用户:weisheen
上传日期:2022-07-09
资源大小:19390k
文件大小:1k
源码类别:
ActiveX/DCOM/ATL
开发平台:
Visual C++
- // DemoError.idl : IDL source for DemoError.dll
- //
- // This file will be processed by the MIDL tool to
- // produce the type library (DemoError.tlb) and marshalling code.
- import "oaidl.idl";
- import "ocidl.idl";
- [
- object,
- uuid(E86D76CE-1440-4452-82A8-C4CFEE422106),
- dual,
- helpstring("IMyAbc Interface"),
- pointer_default(unique)
- ]
- interface IMyAbc : IDispatch
- {
- [id(1), helpstring("method div")] HRESULT div([in] int a, [in] int b, [out] int* c);
- };
- [
- uuid(6D015729-5AAD-438D-BB94-36F098E715C9),
- version(1.0),
- helpstring("DemoError 1.0 Type Library")
- ]
- library DEMOERRORLib
- {
- importlib("stdole32.tlb");
- importlib("stdole2.tlb");
- [
- uuid(0920F82F-5858-4705-91B3-EF95216D0AFF),
- helpstring("MyAbc Class")
- ]
- coclass MyAbc
- {
- [default] interface IMyAbc;
- };
- };