ReactOS  0.4.15-dev-1386-g5cb9f87
sensevts.idl
Go to the documentation of this file.
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 import "oaidl.idl";
20 
21 typedef struct SENS_QOCINFO
22 {
28 
29 [
30  object,
31  uuid(d597bab1-5b9f-11d1-8dd2-00aa004abd5e),
33 ]
35 {
37  [in] BSTR bstrConnection,
38  [in] ULONG ulType,
39  [in] LPSENS_QOCINFO lpQOCInfo );
41  [in] BSTR bstrConnection,
42  [in] ULONG ulType );
44  [in] BSTR bstrConnection,
45  [in] ULONG ulType );
47  [in] BSTR bstrDestination,
48  [in] BSTR bstrConnection,
49  [in] ULONG ulType,
50  [in] LPSENS_QOCINFO lpQOCInfo );
52  [in] BSTR bstrDestination,
53  [in] BSTR bstrConnection,
54  [in] ULONG ulType );
55 }
56 
57 [
58  object,
59  uuid(d597bab2-5b9f-11d1-8dd2-00aa004abd5e),
61 ]
62 interface ISensOnNow : IDispatch
63 {
64  HRESULT OnAcPower( void );
66  [in] DWORD dwBatteryLifePercent );
68  [in] DWORD dwBatteryLifePercent );
69 }
70 
71 [
72  object,
73  uuid(d597bab3-5b9f-11d1-8dd2-00aa004abd5e),
75 ]
76 interface ISensLogon : IDispatch
77 {
78  HRESULT Logon(
79  [in] BSTR bstrUserName );
81  [in] BSTR bstrUserName );
83  [in] BSTR bstrUserName );
85  [in] BSTR bstrUserName );
87  [in] BSTR bstrUserName );
89  [in] BSTR bstrUserName );
91  [in] BSTR bstrUserName );
92 }
93 
94 [
95  object,
96  uuid(d597bab4-5b9f-11d1-8dd2-00aa004abd5e),
98 ]
100 {
101  HRESULT Logon(
102  [in] BSTR bstrUserName,
103  [in] DWORD dwSessionId );
104  HRESULT Logoff(
105  [in] BSTR bstrUserName,
106  [in] DWORD dwSessionId );
108  [in] BSTR bstrUserName,
109  [in] DWORD dwSessionId );
111  [in] BSTR bstrUserName,
112  [in] DWORD dwSessionId );
114  [in] BSTR bstrUserName,
115  [in] DWORD dwSessionId );
116 }
coclass MSXML2::XSLTemplate40 object
HRESULT BatteryLow([in] DWORD dwBatteryLifePercent)
struct SENS_QOCINFO SENS_QOCINFO
HRESULT Logon([in] BSTR bstrUserName, [in] DWORD dwSessionId)
OLECHAR * BSTR
Definition: compat.h:2152
HRESULT StopScreenSaver([in] BSTR bstrUserName)
HRESULT StartShell([in] BSTR bstrUserName)
DWORD dwSize
Definition: sensevts.idl:23
HRESULT OnBatteryPower([in] DWORD dwBatteryLifePercent)
HRESULT ConnectionLost([in] BSTR bstrConnection, [in] ULONG ulType)
HRESULT Logoff([in] BSTR bstrUserName)
HRESULT DestinationReachable([in] BSTR bstrDestination, [in] BSTR bstrConnection, [in] ULONG ulType, [in] LPSENS_QOCINFO lpQOCInfo)
HRESULT SessionDisconnect([in] BSTR bstrUserName, [in] DWORD dwSessionId)
HRESULT ConnectionMadeNoQOCInfo([in] BSTR bstrConnection, [in] ULONG ulType)
HRESULT DestinationReachableNoQOCInfo([in] BSTR bstrDestination, [in] BSTR bstrConnection, [in] ULONG ulType)
HRESULT PostShell([in] BSTR bstrUserName, [in] DWORD dwSessionId)
LONG HRESULT
Definition: typedefs.h:79
unsigned long DWORD
Definition: ntddk_ex.h:95
HRESULT StartScreenSaver([in] BSTR bstrUserName)
HRESULT ConnectionMade([in] BSTR bstrConnection, [in] ULONG ulType, [in] LPSENS_QOCINFO lpQOCInfo)
struct SENS_QOCINFO * LPSENS_QOCINFO
HRESULT Logoff([in] BSTR bstrUserName, [in] DWORD dwSessionId)
DWORD dwOutSpeed
Definition: sensevts.idl:25
HRESULT OnAcPower(void)
DWORD dwFlags
Definition: sensevts.idl:24
HRESULT DisplayLock([in] BSTR bstrUserName)
GLuint in
Definition: glext.h:9616
static unsigned char pointer_default
Definition: parser.tab.c:114
HRESULT SessionReconnect([in] BSTR bstrUserName, [in] DWORD dwSessionId)
HRESULT DisplayUnlock([in] BSTR bstrUserName)
HRESULT Logon([in] BSTR bstrUserName)
_In_z_ PCWSTR _In_ ULONG ulType
Definition: ntuser.h:36
unsigned int ULONG
Definition: retypes.h:1
DWORD dwInSpeed
Definition: sensevts.idl:26