VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/sensevts.idl@ 33252

Last change on this file since 33252 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.5 KB
Line 
1/*
2 * Copyright (C) 2005 Mike McCormack
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 "oaidl.idl";
29
30typedef struct SENS_QOCINFO
31{
32 DWORD dwSize;
33 DWORD dwFlags;
34 DWORD dwOutSpeed;
35 DWORD dwInSpeed;
36} SENS_QOCINFO, *LPSENS_QOCINFO;
37
38[
39 object,
40 uuid(d597bab1-5b9f-11d1-8dd2-00aa004abd5e),
41 pointer_default(unique)
42]
43interface ISensNetwork : IDispatch
44{
45 HRESULT ConnectionMade(
46 [in] BSTR bstrConnection,
47 [in] ULONG ulType,
48 [in] LPSENS_QOCINFO lpQOCInfo );
49 HRESULT ConnectionMadeNoQOCInfo(
50 [in] BSTR bstrConnection,
51 [in] ULONG ulType );
52 HRESULT ConnectionLost(
53 [in] BSTR bstrConnection,
54 [in] ULONG ulType );
55 HRESULT DestinationReachable(
56 [in] BSTR bstrDestination,
57 [in] BSTR bstrConnection,
58 [in] ULONG ulType,
59 [in] LPSENS_QOCINFO lpQOCInfo );
60 HRESULT DestinationReachableNoQOCInfo(
61 [in] BSTR bstrDestination,
62 [in] BSTR bstrConnection,
63 [in] ULONG ulType );
64}
65
66[
67 object,
68 uuid(d597bab2-5b9f-11d1-8dd2-00aa004abd5e),
69 pointer_default(unique)
70]
71interface ISensOnNow : IDispatch
72{
73 HRESULT OnAcPower( void );
74 HRESULT OnBatteryPower(
75 [in] DWORD dwBatteryLifePercent );
76 HRESULT BatteryLow(
77 [in] DWORD dwBatteryLifePercent );
78}
79
80[
81 object,
82 uuid(d597bab3-5b9f-11d1-8dd2-00aa004abd5e),
83 pointer_default(unique)
84]
85interface ISensLogon : IDispatch
86{
87 HRESULT Logon(
88 [in] BSTR bstrUserName );
89 HRESULT Logoff(
90 [in] BSTR bstrUserName );
91 HRESULT StartShell(
92 [in] BSTR bstrUserName );
93 HRESULT DisplayLock(
94 [in] BSTR bstrUserName );
95 HRESULT DisplayUnlock(
96 [in] BSTR bstrUserName );
97 HRESULT StartScreenSaver(
98 [in] BSTR bstrUserName );
99 HRESULT StopScreenSaver(
100 [in] BSTR bstrUserName );
101}
102
103[
104 object,
105 uuid(d597bab4-5b9f-11d1-8dd2-00aa004abd5e),
106 pointer_default(unique)
107]
108interface ISensLogon2 : IDispatch
109{
110 HRESULT Logon(
111 [in] BSTR bstrUserName,
112 [in] DWORD dwSessionId );
113 HRESULT Logoff(
114 [in] BSTR bstrUserName,
115 [in] DWORD dwSessionId );
116 HRESULT SessionDisconnect(
117 [in] BSTR bstrUserName,
118 [in] DWORD dwSessionId );
119 HRESULT SessionReconnect(
120 [in] BSTR bstrUserName,
121 [in] DWORD dwSessionId );
122 HRESULT PostShell(
123 [in] BSTR bstrUserName,
124 [in] DWORD dwSessionId );
125}
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