winex11.drv: Translate the WM_DROPFILES point into client coordinates whenever possible.
[wine.git] / include / sensevts.idl
blob70a469a2a1a560b594205c85e9e32b96dd871a89
1 /*
2 * Copyright (C) 2005 Mike McCormack
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.
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.
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
19 import "wtypes.idl";
20 import "oaidl.idl";
23 version(2.0),
24 uuid(d597deed-5b9f-11d1-8dd2-00aa004abd5e)
26 library SensEvents
28 importlib("stdole2.tlb");
30 typedef struct SENS_QOCINFO
32 DWORD dwSize;
33 DWORD dwFlags;
34 DWORD dwOutSpeed;
35 DWORD dwInSpeed;
36 } SENS_QOCINFO, *LPSENS_QOCINFO;
39 object,
40 uuid(d597bab1-5b9f-11d1-8dd2-00aa004abd5e),
41 pointer_default(unique)
43 interface ISensNetwork : IDispatch
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 );
67 object,
68 uuid(d597bab2-5b9f-11d1-8dd2-00aa004abd5e),
69 pointer_default(unique)
71 interface ISensOnNow : IDispatch
73 HRESULT OnAcPower( void );
74 HRESULT OnBatteryPower(
75 [in] DWORD dwBatteryLifePercent );
76 HRESULT BatteryLow(
77 [in] DWORD dwBatteryLifePercent );
81 object,
82 uuid(d597bab3-5b9f-11d1-8dd2-00aa004abd5e),
83 pointer_default(unique)
85 interface ISensLogon : IDispatch
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 );
104 object,
105 uuid(d597bab4-5b9f-11d1-8dd2-00aa004abd5e),
106 pointer_default(unique)
108 interface ISensLogon2 : IDispatch
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 );
127 } /* library SensEvents */