ExMyAbc.idl
上传用户:weisheen
上传日期:2022-07-09
资源大小:19390k
文件大小:1k
- // ExMyAbc.idl : IDL source for ExMyAbc.dll
- //
- // This file will be processed by the MIDL tool to
- // produce the type library (ExMyAbc.tlb) and marshalling code.
- import "oaidl.idl";
- import "ocidl.idl";
- [
- object,
- uuid(CA026D75-A90F-4BF7-BD2A-9007774E2885),
- dual,
- helpstring("IAbc Interface"),
- pointer_default(unique)
- ]
- interface IAbc : IDispatch
- {
- [id(1), helpstring("method add")] HRESULT add([in] int a,[in] int b,[in] int*c);
- };
- [
- uuid(4B242CEE-0319-44C2-BE9B-8EB19D5D7C7F),
- version(1.0),
- helpstring("ExMyAbc 1.0 Type Library")
- ]
- library EXMYABCLib
- {
- importlib("stdole32.tlb");
- importlib("stdole2.tlb");
- [
- uuid(A4DC394B-48B6-4FDC-B484-C8B01F49B2E9),
- helpstring("_IAbcEvents Interface")
- ]
- dispinterface _IAbcEvents
- {
- properties:
- methods:
- [id(1), helpstring("method add")] HRESULT WriteLog([in] BSTR msge);
- };
- [
- uuid(3AC3FEAA-A29E-415C-8863-2A10EFCEFD65),
- helpstring("Abc Class")
- ]
- coclass Abc
- {
- [default] interface IAbc;
- [default, source] dispinterface _IAbcEvents;
- };
- };