source: trunk/Utilities/VbsCallback/VbsCallback.idl @ 937

Last change on this file since 937 was 88, checked in by roman, 12 years ago
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1////////////////////////////////////////////////////////////
2// Copyright (C) Roman Ryltsov, 2008-2012
3// Created by Roman Ryltsov roman@alax.info
4// 
5// $Id: VbsCallback.idl 88 2012-08-11 11:44:30Z roman $
6
7import "oaidl.idl";
8import "ocidl.idl";
9
10[
11        object,
12        uuid(8D754F22-9EA0-4B27-9B01-2E6CEDE27F6E),
13        dual,
14        nonextensible,
15        pointer_default(unique)
16]
17interface IFirstSite : IDispatch
18{
19        [id(1)] HRESULT InnerDo([in] LONG nC, [out, retval] LONG* pnD);
20};
21[
22        object,
23        uuid(2E1BDC6B-4AFE-46D3-9D4A-11D063BCF6C7),
24        dual,
25        nonextensible,
26        pointer_default(unique)
27]
28interface IFirst : IDispatch
29{
30        //[id(1)] HRESULT OuterDo([in] LONG nA, [in] IFirstSite* pSite, [out, retval] LONG* pnB);
31        [id(1)] HRESULT OuterDo([in] LONG nA, [in] IDispatch* pSite, [out, retval] LONG* pnB);
32};
33[
34        object,
35        uuid(E9172437-1628-45D7-B175-5B1CFA79D49B),
36        dual,
37        nonextensible,
38        pointer_default(unique)
39]
40interface ISecond : IDispatch
41{
42        [id(1)] HRESULT OuterDo([in] LONG nA, [in] IDispatch* pSite, [out, retval] LONG* pnB);
43};
44[
45        object,
46        uuid(A3F9C57C-4A82-4EBA-8190-302A0CCCBF3B),
47        dual,
48        nonextensible,
49        pointer_default(unique)
50]
51interface IThird : IDispatch
52{
53        [id(1)] HRESULT OuterDo([in] LONG nA, [out, retval] LONG* pnB);
54};
55[
56        uuid(C14D3DD0-6C32-4A28-99E6-7CC4D28FE295),
57        version(1.0),
58]
59library AlaxInfoVbsCallback
60{
61        importlib("stdole2.tlb");
62        [
63                uuid(564A63EF-A5FF-45E9-AEF9-B3728F71E30E)             
64        ]
65        coclass First
66        {
67                [default] interface IFirst;
68        };
69        [
70                uuid(4E05E837-0BF7-4371-96ED-58AA68736306)             
71        ]
72        coclass Second
73        {
74                [default] interface ISecond;
75        };
76        [
77                uuid(543C4C99-8849-4902-BABC-BF44384534D8)             
78        ]
79        dispinterface _IThirdEvents
80        {
81                properties:
82                methods:
83                        [id(1)] void InnerDo([in, out] VARIANT* pvC);
84        };
85        [
86                uuid(E1DE5528-01C7-4FC3-B4E2-447925F55E6D)             
87        ]
88        coclass Third
89        {
90                [default] interface IThird;
91                [default, source] dispinterface _IThirdEvents;
92        };
93};
94
95import "shobjidl.idl";
Note: See TracBrowser for help on using the repository browser.