ex.idl
上传用户:weisheen
上传日期:2022-07-09
资源大小:19390k
文件大小:1k
- // ex.idl : IDL source for ex.dll
- //
- // This file will be processed by the MIDL tool to
- // produce the type library (ex.tlb) and marshalling code.
- import "oaidl.idl";
- import "ocidl.idl";
- #include "olectl.h"
-
- [
- object,
- uuid(725C2224-FB8D-4134-BB95-0EC714D3F926),
- dual,
- helpstring("IMyabc Interface"),
- pointer_default(unique)
- ]
- interface IMyabc : IDispatch
- {
- };
- [
- uuid(7338A9B9-8956-429F-B1DB-00503C718648),
- version(1.0),
- helpstring("ex 1.0 Type Library")
- ]
- library EXLib
- {
- importlib("stdole32.tlb");
- importlib("stdole2.tlb");
- [
- uuid(3C1429A0-E218-4818-A2B4-8738C1887D98),
- helpstring("_IMyabcEvents Interface")
- ]
- dispinterface _IMyabcEvents
- {
- properties:
- methods:
- [id(1), helpstring("method add")] HRESULT add([in] BSTR msg);
- };
- [
- uuid(7E4AFFC3-05CD-4CE7-832B-68AEA5173A4B),
- helpstring("Myabc Class")
- ]
- coclass Myabc
- {
- [default] interface IMyabc;
- [default, source] dispinterface _IMyabcEvents;
- };
- };