1 | /*
|
---|
2 | *
|
---|
3 | * Copyright 2011 Alistair Leslie-Hughes
|
---|
4 | *
|
---|
5 | * This library is free software; you can redistribute it and/or
|
---|
6 | * modify it under the terms of the GNU Lesser General Public
|
---|
7 | * License as published by the Free Software Foundation; either
|
---|
8 | * version 2.1 of the License, or (at your option) any later version.
|
---|
9 | *
|
---|
10 | * This library is distributed in the hope that it will be useful,
|
---|
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
13 | * Lesser General Public License for more details.
|
---|
14 | *
|
---|
15 | * You should have received a copy of the GNU Lesser General Public
|
---|
16 | * License along with this library; if not, write to the Free Software
|
---|
17 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
---|
18 | */
|
---|
19 |
|
---|
20 | /*
|
---|
21 | * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
|
---|
22 | * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
|
---|
23 | * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
|
---|
24 | * a choice of LGPL license versions is made available with the language indicating
|
---|
25 | * that LGPLv2 or any later version may be used, or where a choice of which version
|
---|
26 | * of the LGPL is applied is otherwise unspecified.
|
---|
27 | */
|
---|
28 |
|
---|
29 | import "basetsd.h";
|
---|
30 | import "oaidl.idl";
|
---|
31 |
|
---|
32 | #ifndef __WIDL__
|
---|
33 | #define threading(model)
|
---|
34 | #define progid(str)
|
---|
35 | #define vi_progid(str)
|
---|
36 | #endif
|
---|
37 |
|
---|
38 | [
|
---|
39 | uuid(A8D2C5FE-CDCB-4B9D-BDE5-A27343FF54BC),
|
---|
40 | ]
|
---|
41 | interface IMMCVersionInfo : IUnknown
|
---|
42 | {
|
---|
43 | HRESULT GetMMCVersion([out] long * pVersionMajor, [out] long * pVersionMinor);
|
---|
44 | }
|
---|
45 |
|
---|
46 |
|
---|
47 | [
|
---|
48 | uuid(9EECDD85-B715-4188-8A72-61159ABDB8C4),
|
---|
49 | version(1.0),
|
---|
50 | ]
|
---|
51 | library MMCVersionLib
|
---|
52 | {
|
---|
53 | importlib("stdole2.tlb");
|
---|
54 |
|
---|
55 | [
|
---|
56 | helpstring("MMCVersionInfo 1.0 Object"),
|
---|
57 | uuid(D6FEDB1D-CF21-4BD9-AF3B-C5468E9C6684),
|
---|
58 | threading(apartment),
|
---|
59 | progid("NODEMGR.MMCVersionInfo.1"),
|
---|
60 | vi_progid("NODEMGR.MMCVersionInfo")
|
---|
61 | ]
|
---|
62 | coclass MMCVersionInfo
|
---|
63 | {
|
---|
64 | [default] interface IMMCVersionInfo;
|
---|
65 | }
|
---|
66 |
|
---|
67 | }
|
---|