gphoto2.ds: Remove unused variables.
[wine/hramrach.git] / include / sensevts.idl
blob1ecb9f77f73db6f701531806ed4074de5c8c8b68
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 "oaidl.idl";
21 typedef struct SENS_QOCINFO
23 DWORD dwSize;
24 DWORD dwFlags;
25 DWORD dwOutSpeed;
26 DWORD dwInSpeed;
27 } SENS_QOCINFO, *LPSENS_QOCINFO;
30 object,
31 uuid(d597bab1-5b9f-11d1-8dd2-00aa004abd5e),
32 pointer_default(unique)
34 interface ISensNetwork : IDispatch
36 HRESULT ConnectionMade(
37 [in] BSTR bstrConnection,
38 [in] ULONG ulType,
39 [in] LPSENS_QOCINFO lpQOCInfo );
40 HRESULT ConnectionMadeNoQOCInfo(
41 [in] BSTR bstrConnection,
42 [in] ULONG ulType );
43 HRESULT ConnectionLost(
44 [in] BSTR bstrConnection,
45 [in] ULONG ulType );
46 HRESULT DestinationReachable(
47 [in] BSTR bstrDestination,
48 [in] BSTR bstrConnection,
49 [in] ULONG ulType,
50 [in] LPSENS_QOCINFO lpQOCInfo );
51 HRESULT DestinationReachableNoQOCInfo(
52 [in] BSTR bstrDestination,
53 [in] BSTR bstrConnection,
54 [in] ULONG ulType );
58 object,
59 uuid(d597bab2-5b9f-11d1-8dd2-00aa004abd5e),
60 pointer_default(unique)
62 interface ISensOnNow : IDispatch
64 HRESULT OnAcPower( void );
65 HRESULT OnBatteryPower(
66 [in] DWORD dwBatteryLifePercent );
67 HRESULT BatteryLow(
68 [in] DWORD dwBatteryLifePercent );
72 object,
73 uuid(d597bab3-5b9f-11d1-8dd2-00aa004abd5e),
74 pointer_default(unique)
76 interface ISensLogon : IDispatch
78 HRESULT Logon(
79 [in] BSTR bstrUserName );
80 HRESULT Logoff(
81 [in] BSTR bstrUserName );
82 HRESULT StartShell(
83 [in] BSTR bstrUserName );
84 HRESULT DisplayLock(
85 [in] BSTR bstrUserName );
86 HRESULT DisplayUnlock(
87 [in] BSTR bstrUserName );
88 HRESULT StartScreenSaver(
89 [in] BSTR bstrUserName );
90 HRESULT StopScreenSaver(
91 [in] BSTR bstrUserName );
95 object,
96 uuid(d597bab4-5b9f-11d1-8dd2-00aa004abd5e),
97 pointer_default(unique)
99 interface ISensLogon2 : IDispatch
101 HRESULT Logon(
102 [in] BSTR bstrUserName,
103 [in] DWORD dwSessionId );
104 HRESULT Logoff(
105 [in] BSTR bstrUserName,
106 [in] DWORD dwSessionId );
107 HRESULT SessionDisconnect(
108 [in] BSTR bstrUserName,
109 [in] DWORD dwSessionId );
110 HRESULT SessionReconnect(
111 [in] BSTR bstrUserName,
112 [in] DWORD dwSessionId );
113 HRESULT PostShell(
114 [in] BSTR bstrUserName,
115 [in] DWORD dwSessionId );