ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

sensevts.idl
Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 2005 Mike McCormack
00003  *
00004  * This library is free software; you can redistribute it and/or
00005  * modify it under the terms of the GNU Lesser General Public
00006  * License as published by the Free Software Foundation; either
00007  * version 2.1 of the License, or (at your option) any later version.
00008  *
00009  * This library is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012  * Lesser General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU Lesser General Public
00015  * License along with this library; if not, write to the Free Software
00016  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
00017  */
00018 
00019 import "oaidl.idl";
00020 
00021 typedef struct SENS_QOCINFO
00022 {
00023     DWORD dwSize;
00024     DWORD dwFlags;
00025     DWORD dwOutSpeed;
00026     DWORD dwInSpeed;
00027 } SENS_QOCINFO, *LPSENS_QOCINFO;
00028 
00029 [
00030   object,
00031   uuid(d597bab1-5b9f-11d1-8dd2-00aa004abd5e),
00032   pointer_default(unique)
00033 ]
00034 interface ISensNetwork : IDispatch
00035 {
00036     HRESULT ConnectionMade(
00037         [in] BSTR bstrConnection,
00038         [in] ULONG ulType,
00039         [in] LPSENS_QOCINFO lpQOCInfo );
00040     HRESULT ConnectionMadeNoQOCInfo(
00041         [in] BSTR bstrConnection,
00042         [in] ULONG ulType );
00043     HRESULT ConnectionLost(
00044         [in] BSTR bstrConnection,
00045         [in] ULONG ulType );
00046     HRESULT DestinationReachable(
00047         [in] BSTR bstrDestination,
00048         [in] BSTR bstrConnection,
00049         [in] ULONG ulType,
00050         [in] LPSENS_QOCINFO lpQOCInfo );
00051     HRESULT DestinationReachableNoQOCInfo(
00052         [in] BSTR bstrDestination,
00053         [in] BSTR bstrConnection,
00054         [in] ULONG ulType );
00055 }
00056 
00057 [
00058   object,
00059   uuid(d597bab2-5b9f-11d1-8dd2-00aa004abd5e),
00060   pointer_default(unique)
00061 ]
00062 interface ISensOnNow : IDispatch
00063 {
00064     HRESULT OnAcPower( void );
00065     HRESULT OnBatteryPower(
00066         [in] DWORD dwBatteryLifePercent );
00067     HRESULT BatteryLow(
00068         [in] DWORD dwBatteryLifePercent );
00069 }
00070 
00071 [
00072   object,
00073   uuid(d597bab3-5b9f-11d1-8dd2-00aa004abd5e),
00074   pointer_default(unique)
00075 ]
00076 interface ISensLogon : IDispatch
00077 {
00078     HRESULT Logon(
00079         [in] BSTR bstrUserName );
00080     HRESULT Logoff(
00081         [in] BSTR bstrUserName );
00082     HRESULT StartShell(
00083         [in] BSTR bstrUserName );
00084     HRESULT DisplayLock(
00085         [in] BSTR bstrUserName );
00086     HRESULT DisplayUnlock(
00087         [in] BSTR bstrUserName );
00088     HRESULT StartScreenSaver(
00089         [in] BSTR bstrUserName );
00090     HRESULT StopScreenSaver(
00091         [in] BSTR bstrUserName );
00092 }
00093 
00094 [
00095   object,
00096   uuid(d597bab4-5b9f-11d1-8dd2-00aa004abd5e),
00097   pointer_default(unique)
00098 ]
00099 interface ISensLogon2 : IDispatch
00100 {
00101     HRESULT Logon(
00102         [in] BSTR bstrUserName,
00103         [in] DWORD dwSessionId );
00104     HRESULT Logoff(
00105         [in] BSTR bstrUserName,
00106         [in] DWORD dwSessionId );
00107     HRESULT SessionDisconnect(
00108         [in] BSTR bstrUserName,
00109         [in] DWORD dwSessionId );
00110     HRESULT SessionReconnect(
00111         [in] BSTR bstrUserName,
00112         [in] DWORD dwSessionId );
00113     HRESULT PostShell(
00114         [in] BSTR bstrUserName,
00115         [in] DWORD dwSessionId );
00116 }

Generated on Sun May 27 2012 04:32:17 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.