Line | |
---|
1 | //////////////////////////////////////////////////////////// |
---|
2 | // Copyright (C) Roman Ryltsov, 2008-2015 |
---|
3 | // Created by Roman Ryltsov roman@alax.info |
---|
4 | |
---|
5 | import "oaidl.idl"; |
---|
6 | import "ocidl.idl"; |
---|
7 | |
---|
8 | [ |
---|
9 | uuid(1D2C7F8A-FCB2-4111-8DB2-0BB32A19C3D6), |
---|
10 | version(1.0), |
---|
11 | ] |
---|
12 | library JsFunctionDispatchLib |
---|
13 | { |
---|
14 | importlib("stdole2.tlb"); |
---|
15 | [ |
---|
16 | object, |
---|
17 | uuid(2FCEAA3E-6DC2-44C9-AAF6-9D96221F94AA), |
---|
18 | dual, |
---|
19 | nonextensible, |
---|
20 | pointer_default(unique) |
---|
21 | ] |
---|
22 | interface IFoo : IDispatch |
---|
23 | { |
---|
24 | [id(1)] HRESULT Bar([in] IDispatch* pFunction); |
---|
25 | }; |
---|
26 | [ |
---|
27 | uuid(8D24DE5C-611A-4223-ACC3-241457288B35) |
---|
28 | ] |
---|
29 | coclass Foo |
---|
30 | { |
---|
31 | [default] interface IFoo; |
---|
32 | }; |
---|
33 | }; |
---|
34 | |
---|
Note: See
TracBrowser
for help on using the repository browser.