VirtualBox

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

Last change on this file since 23571 was 22496, checked in by vboxsync, 15 years ago

crOpenGL: update wine to 1.1.27 and better fix for depthstencil surface refcounting

  • Property svn:eol-style set to native
File size: 3.6 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
28/*
29 * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
30 * other than GPL or LGPL is available it will apply instead, Sun elects to use only
31 * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
32 * a choice of LGPL license versions is made available with the language indicating
33 * that LGPLv2 or any later version may be used, or where a choice of which version
34 * of the LGPL is applied is otherwise unspecified.
35 */
36
37import "wtypes.idl";
38
39cpp_quote("#define IROT_PROTSEQ {'n','c','a','l','r','p','c',0}")
40cpp_quote("#define IROT_ENDPOINT {'i','r','o','t',0}")
41
42typedef struct tagMonikerComparisonData {
43 ULONG ulCntData;
44 [size_is(ulCntData)] BYTE abData[];
45} MonikerComparisonData;
46
47[
48 uuid(7a98c254-6808-11cf-b73b-00aa00b677a8),
49 version(0.2),
50 strict_context_handle
51]
52interface Irot
53{
54 typedef struct tagInterfaceData
55 {
56 ULONG ulCntData;
57 [size_is(ulCntData)] BYTE abData[];
58 } InterfaceData;
59
60 typedef [unique] InterfaceData *PInterfaceData;
61
62 typedef struct tagInterfaceList
63 {
64 ULONG size;
65 [size_is(size)] PInterfaceData interfaces[];
66 } InterfaceList;
67
68 typedef [unique] InterfaceList *PInterfaceList;
69
70 typedef DWORD IrotCookie;
71
72 typedef handle_t IrotHandle;
73 typedef [context_handle] void *IrotContextHandle;
74
75 HRESULT IrotRegister(
76 [in] IrotHandle h,
77 [in] const MonikerComparisonData *moniker_data,
78 [in] const InterfaceData *object,
79 [in] const InterfaceData *moniker,
80 [in] const FILETIME *time,
81 [in] DWORD grfFlags,
82 [out] IrotCookie *cookie,
83 [out] IrotContextHandle *ctxt_handle);
84
85 HRESULT IrotRevoke(
86 [in] IrotHandle h,
87 [in] IrotCookie cookie,
88 [in, out] IrotContextHandle *ctxt_handle,
89 [out] PInterfaceData *object,
90 [out] PInterfaceData *moniker);
91
92 HRESULT IrotIsRunning(
93 [in] IrotHandle h,
94 [in] const MonikerComparisonData *moniker_data);
95
96 HRESULT IrotGetObject(
97 [in] IrotHandle h,
98 [in] const MonikerComparisonData *moniker_data,
99 [out] PInterfaceData *obj,
100 [out] IrotCookie *cookie);
101
102 HRESULT IrotNoteChangeTime(
103 [in] IrotHandle h,
104 [in] IrotCookie cookie,
105 [in] const FILETIME *time);
106
107 HRESULT IrotGetTimeOfLastChange(
108 [in] IrotHandle h,
109 [in] const MonikerComparisonData *moniker_data,
110 [out] FILETIME *time);
111
112 HRESULT IrotEnumRunning(
113 [in] IrotHandle h,
114 [out] PInterfaceList *list);
115}
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