VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/wine/irot.idl@ 20636

Last change on this file since 20636 was 19678, checked in by vboxsync, 16 years ago

opengl: update wine to 1.1.21, add d3d9.dll to build list

  • Property svn:eol-style set to native
File size: 3.1 KB
Line 
1/*
2 * Copyright 2007 Robert Shearman for CodeWeavers
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17 */
18
19/*
20 * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
21 * other than GPL or LGPL is available it will apply instead, Sun elects to use only
22 * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
23 * a choice of LGPL license versions is made available with the language indicating
24 * that LGPLv2 or any later version may be used, or where a choice of which version
25 * of the LGPL is applied is otherwise unspecified.
26 */
27
28import "wtypes.idl";
29
30cpp_quote("#define IROT_PROTSEQ {'n','c','a','l','r','p','c',0}")
31cpp_quote("#define IROT_ENDPOINT {'i','r','o','t',0}")
32
33typedef struct tagMonikerComparisonData {
34 ULONG ulCntData;
35 [size_is(ulCntData)] BYTE abData[];
36} MonikerComparisonData;
37
38[
39 uuid(7a98c254-6808-11cf-b73b-00aa00b677a8),
40 version(0.2),
41 strict_context_handle
42]
43interface Irot
44{
45 typedef struct tagInterfaceData
46 {
47 ULONG ulCntData;
48 [size_is(ulCntData)] BYTE abData[];
49 } InterfaceData;
50
51 typedef [unique] InterfaceData *PInterfaceData;
52
53 typedef struct tagInterfaceList
54 {
55 ULONG size;
56 [size_is(size)] PInterfaceData interfaces[];
57 } InterfaceList;
58
59 typedef [unique] InterfaceList *PInterfaceList;
60
61 typedef DWORD IrotCookie;
62
63 typedef handle_t IrotHandle;
64 typedef [context_handle] void *IrotContextHandle;
65
66 HRESULT IrotRegister(
67 [in] IrotHandle h,
68 [in] const MonikerComparisonData *moniker_data,
69 [in] const InterfaceData *object,
70 [in] const InterfaceData *moniker,
71 [in] const FILETIME *time,
72 [in] DWORD grfFlags,
73 [out] IrotCookie *cookie,
74 [out] IrotContextHandle *ctxt_handle);
75
76 HRESULT IrotRevoke(
77 [in] IrotHandle h,
78 [in] IrotCookie cookie,
79 [in, out] IrotContextHandle *ctxt_handle,
80 [out] PInterfaceData *object,
81 [out] PInterfaceData *moniker);
82
83 HRESULT IrotIsRunning(
84 [in] IrotHandle h,
85 [in] const MonikerComparisonData *moniker_data);
86
87 HRESULT IrotGetObject(
88 [in] IrotHandle h,
89 [in] const MonikerComparisonData *moniker_data,
90 [out] PInterfaceData *obj,
91 [out] IrotCookie *cookie);
92
93 HRESULT IrotNoteChangeTime(
94 [in] IrotHandle h,
95 [in] IrotCookie cookie,
96 [in] const FILETIME *time);
97
98 HRESULT IrotGetTimeOfLastChange(
99 [in] IrotHandle h,
100 [in] const MonikerComparisonData *moniker_data,
101 [out] FILETIME *time);
102
103 HRESULT IrotEnumRunning(
104 [in] IrotHandle h,
105 [out] PInterfaceList *list);
106}
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette