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

Last change on this file since 937 was 79, checked in by roman, 12 years ago
  • Property svn:keywords set to Id
File size: 845 bytes
Line 
1////////////////////////////////////////////////////////////
2// Copyright (C) Roman Ryltsov, 2008-2012
3// Created by Roman Ryltsov roman@alax.info
4// 
5// $Id: VbsEvents.idl 79 2012-07-30 16:20:06Z roman $
6
7import "oaidl.idl";
8import "ocidl.idl";
9
10[
11        object,
12        uuid(9117226B-D79D-43B9-9010-51195CA44C8B),
13        dual,
14        nonextensible,
15        pointer_default(unique)
16]
17interface IFoo : IDispatch
18{
19        [id(1)] HRESULT Method([in] BSTR sText);
20};
21[
22        uuid(F5547BD2-82AB-460F-974F-0FD926AA6B86),
23        version(1.0),
24]
25library VbsEventsLib
26{
27        importlib("stdole2.tlb");
28        [
29                uuid(0E1DB37B-1126-4242-9BE6-818ECD6C6933)             
30        ]
31        dispinterface _IFooEvents
32        {
33                properties:
34                methods:
35                        [id(1)] void Event([in] BSTR sText);
36        };
37        [
38                uuid(A8F6416C-B59C-4D00-A536-541A7E86BA12)             
39        ]
40        coclass Foo
41        {
42                [default] interface IFoo;
43                [default, source] dispinterface _IFooEvents;
44        };
45};
46
Note: See TracBrowser for help on using the repository browser.