myaddinter.idl
上传用户:weisheen
上传日期:2022-07-09
资源大小:19390k
文件大小:1k
源码类别:
ActiveX/DCOM/ATL
开发平台:
Visual C++
- // myaddinter.idl : IDL source for myaddinter.dll
- //
- // This file will be processed by the MIDL tool to
- // produce the type library (myaddinter.tlb) and marshalling code.
- import "oaidl.idl";
- import "ocidl.idl";
- [
- object,
- uuid(B5DC4864-4819-4C1F-9BBE-07CE523C5B42),
- helpstring("IMyfirst Interface"),
- pointer_default(unique)
- ]
- interface IMyfirst : IUnknown
- {
- [helpstring("method add")] HRESULT add([in] int a, [in] int b, [out] int* c);
- [helpstring("method asdf")] HRESULT sub([in] int a, [in] int b, [out] int* c);
- };
- [
- object,
- uuid(674F7BAF-A5B0-4b8d-871C-1C0A6A085DC3),
- helpstring("daffsdf")
- ]
- interface IHello:IUnknown
- {
- [helpstring("asdf")] HRESULT MyHello([in] BSTR name, [out] BSTR* strResult);
- };
- [
- uuid(99CA5891-02B2-4439-B199-D6E1801242E3),
- version(1.0),
- helpstring("myaddinter 1.0 Type Library")
- ]
- library MYADDINTERLib
- {
- importlib("stdole32.tlb");
- importlib("stdole2.tlb");
- [
- uuid(5DBA4E48-6A44-4455-816C-A91491CAF625),
- helpstring("Myfirst Class")
- ]
- coclass Myfirst
- {
- [default] interface IMyfirst;
- interface IHello;
- };
- };