Line | |
---|
1 | //////////////////////////////////////////////////////////// |
---|
2 | // Copyright (C) Roman Ryltsov, 2015 |
---|
3 | // Created by Roman Ryltsov roman@alax.info |
---|
4 | // |
---|
5 | // A permission to use the source code is granted as long as reference to |
---|
6 | // source website http://alax.info is retained. |
---|
7 | // |
---|
8 | // This file will be processed by the MIDL tool to |
---|
9 | // produce the type library (Server.tlb) and marshalling code. |
---|
10 | |
---|
11 | import "oaidl.idl"; |
---|
12 | import "ocidl.idl"; |
---|
13 | |
---|
14 | [ |
---|
15 | uuid(AE2714E3-E8BE-44C7-B737-5510E5F8ABED), |
---|
16 | version(1.0), |
---|
17 | ] |
---|
18 | library ServerLib |
---|
19 | { |
---|
20 | importlib("stdole2.tlb"); |
---|
21 | [ |
---|
22 | object, |
---|
23 | uuid(95BB6D72-D503-465F-821D-BE902EB6FB78), |
---|
24 | dual, |
---|
25 | nonextensible, |
---|
26 | pointer_default(unique) |
---|
27 | ] |
---|
28 | interface ITestObject : IDispatch |
---|
29 | { |
---|
30 | [id(1)] HRESULT TestMethod([out] BSTR* psPath, [out] LONG* pnBitness); |
---|
31 | }; |
---|
32 | [ |
---|
33 | uuid(D9DB1521-0310-448D-A008-5D8CED320DC3) |
---|
34 | ] |
---|
35 | coclass TestObject |
---|
36 | { |
---|
37 | [default] interface ITestObject; |
---|
38 | }; |
---|
39 | }; |
---|
40 | |
---|
Note: See
TracBrowser
for help on using the repository browser.