diff options
Diffstat (limited to 'src/VBox/Devices/Graphics/shaderlib/wine/include/sensevts.idl')
-rw-r--r-- | src/VBox/Devices/Graphics/shaderlib/wine/include/sensevts.idl | 136 |
1 files changed, 136 insertions, 0 deletions
diff --git a/src/VBox/Devices/Graphics/shaderlib/wine/include/sensevts.idl b/src/VBox/Devices/Graphics/shaderlib/wine/include/sensevts.idl new file mode 100644 index 00000000..0cb0ad53 --- /dev/null +++ b/src/VBox/Devices/Graphics/shaderlib/wine/include/sensevts.idl @@ -0,0 +1,136 @@ +/* + * Copyright (C) 2005 Mike McCormack + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +/* + * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice + * other than GPL or LGPL is available it will apply instead, Oracle elects to use only + * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where + * a choice of LGPL license versions is made available with the language indicating + * that LGPLv2 or any later version may be used, or where a choice of which version + * of the LGPL is applied is otherwise unspecified. + */ + +import "wtypes.idl"; +import "oaidl.idl"; + +[ + version(2.0), + uuid(d597deed-5b9f-11d1-8dd2-00aa004abd5e) +] +library SensEvents +{ + importlib("stdole2.tlb"); + + typedef struct SENS_QOCINFO + { + DWORD dwSize; + DWORD dwFlags; + DWORD dwOutSpeed; + DWORD dwInSpeed; + } SENS_QOCINFO, *LPSENS_QOCINFO; + + [ + object, + uuid(d597bab1-5b9f-11d1-8dd2-00aa004abd5e), + pointer_default(unique) + ] + interface ISensNetwork : IDispatch + { + HRESULT ConnectionMade( + [in] BSTR bstrConnection, + [in] ULONG ulType, + [in] LPSENS_QOCINFO lpQOCInfo ); + HRESULT ConnectionMadeNoQOCInfo( + [in] BSTR bstrConnection, + [in] ULONG ulType ); + HRESULT ConnectionLost( + [in] BSTR bstrConnection, + [in] ULONG ulType ); + HRESULT DestinationReachable( + [in] BSTR bstrDestination, + [in] BSTR bstrConnection, + [in] ULONG ulType, + [in] LPSENS_QOCINFO lpQOCInfo ); + HRESULT DestinationReachableNoQOCInfo( + [in] BSTR bstrDestination, + [in] BSTR bstrConnection, + [in] ULONG ulType ); + } + + [ + object, + uuid(d597bab2-5b9f-11d1-8dd2-00aa004abd5e), + pointer_default(unique) + ] + interface ISensOnNow : IDispatch + { + HRESULT OnAcPower( void ); + HRESULT OnBatteryPower( + [in] DWORD dwBatteryLifePercent ); + HRESULT BatteryLow( + [in] DWORD dwBatteryLifePercent ); + } + + [ + object, + uuid(d597bab3-5b9f-11d1-8dd2-00aa004abd5e), + pointer_default(unique) + ] + interface ISensLogon : IDispatch + { + HRESULT Logon( + [in] BSTR bstrUserName ); + HRESULT Logoff( + [in] BSTR bstrUserName ); + HRESULT StartShell( + [in] BSTR bstrUserName ); + HRESULT DisplayLock( + [in] BSTR bstrUserName ); + HRESULT DisplayUnlock( + [in] BSTR bstrUserName ); + HRESULT StartScreenSaver( + [in] BSTR bstrUserName ); + HRESULT StopScreenSaver( + [in] BSTR bstrUserName ); + } + + [ + object, + uuid(d597bab4-5b9f-11d1-8dd2-00aa004abd5e), + pointer_default(unique) + ] + interface ISensLogon2 : IDispatch + { + HRESULT Logon( + [in] BSTR bstrUserName, + [in] DWORD dwSessionId ); + HRESULT Logoff( + [in] BSTR bstrUserName, + [in] DWORD dwSessionId ); + HRESULT SessionDisconnect( + [in] BSTR bstrUserName, + [in] DWORD dwSessionId ); + HRESULT SessionReconnect( + [in] BSTR bstrUserName, + [in] DWORD dwSessionId ); + HRESULT PostShell( + [in] BSTR bstrUserName, + [in] DWORD dwSessionId ); + } + +} /* library SensEvents */ |