af062818b47340eef15700d2f0211576ba3506eevboxsync/*
af062818b47340eef15700d2f0211576ba3506eevboxsync * Copyright (C) 2005 Mike McCormack
af062818b47340eef15700d2f0211576ba3506eevboxsync *
af062818b47340eef15700d2f0211576ba3506eevboxsync * This library is free software; you can redistribute it and/or
af062818b47340eef15700d2f0211576ba3506eevboxsync * modify it under the terms of the GNU Lesser General Public
af062818b47340eef15700d2f0211576ba3506eevboxsync * License as published by the Free Software Foundation; either
af062818b47340eef15700d2f0211576ba3506eevboxsync * version 2.1 of the License, or (at your option) any later version.
af062818b47340eef15700d2f0211576ba3506eevboxsync *
af062818b47340eef15700d2f0211576ba3506eevboxsync * This library is distributed in the hope that it will be useful,
af062818b47340eef15700d2f0211576ba3506eevboxsync * but WITHOUT ANY WARRANTY; without even the implied warranty of
af062818b47340eef15700d2f0211576ba3506eevboxsync * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
af062818b47340eef15700d2f0211576ba3506eevboxsync * Lesser General Public License for more details.
af062818b47340eef15700d2f0211576ba3506eevboxsync *
af062818b47340eef15700d2f0211576ba3506eevboxsync * You should have received a copy of the GNU Lesser General Public
af062818b47340eef15700d2f0211576ba3506eevboxsync * License along with this library; if not, write to the Free Software
af062818b47340eef15700d2f0211576ba3506eevboxsync * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
af062818b47340eef15700d2f0211576ba3506eevboxsync */
af062818b47340eef15700d2f0211576ba3506eevboxsync
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync/*
4b9d6701570cb98fd36e209314239d104ec584d3vboxsync * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
4b9d6701570cb98fd36e209314239d104ec584d3vboxsync * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * a choice of LGPL license versions is made available with the language indicating
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * that LGPLv2 or any later version may be used, or where a choice of which version
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * of the LGPL is applied is otherwise unspecified.
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync */
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsyncimport "oaidl.idl";
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct SENS_QOCINFO
af062818b47340eef15700d2f0211576ba3506eevboxsync{
af062818b47340eef15700d2f0211576ba3506eevboxsync DWORD dwSize;
af062818b47340eef15700d2f0211576ba3506eevboxsync DWORD dwFlags;
af062818b47340eef15700d2f0211576ba3506eevboxsync DWORD dwOutSpeed;
af062818b47340eef15700d2f0211576ba3506eevboxsync DWORD dwInSpeed;
af062818b47340eef15700d2f0211576ba3506eevboxsync} SENS_QOCINFO, *LPSENS_QOCINFO;
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync[
af062818b47340eef15700d2f0211576ba3506eevboxsync object,
af062818b47340eef15700d2f0211576ba3506eevboxsync uuid(d597bab1-5b9f-11d1-8dd2-00aa004abd5e),
af062818b47340eef15700d2f0211576ba3506eevboxsync pointer_default(unique)
af062818b47340eef15700d2f0211576ba3506eevboxsync]
af062818b47340eef15700d2f0211576ba3506eevboxsyncinterface ISensNetwork : IDispatch
af062818b47340eef15700d2f0211576ba3506eevboxsync{
af062818b47340eef15700d2f0211576ba3506eevboxsync HRESULT ConnectionMade(
af062818b47340eef15700d2f0211576ba3506eevboxsync [in] BSTR bstrConnection,
af062818b47340eef15700d2f0211576ba3506eevboxsync [in] ULONG ulType,
af062818b47340eef15700d2f0211576ba3506eevboxsync [in] LPSENS_QOCINFO lpQOCInfo );
af062818b47340eef15700d2f0211576ba3506eevboxsync HRESULT ConnectionMadeNoQOCInfo(
af062818b47340eef15700d2f0211576ba3506eevboxsync [in] BSTR bstrConnection,
af062818b47340eef15700d2f0211576ba3506eevboxsync [in] ULONG ulType );
af062818b47340eef15700d2f0211576ba3506eevboxsync HRESULT ConnectionLost(
af062818b47340eef15700d2f0211576ba3506eevboxsync [in] BSTR bstrConnection,
af062818b47340eef15700d2f0211576ba3506eevboxsync [in] ULONG ulType );
af062818b47340eef15700d2f0211576ba3506eevboxsync HRESULT DestinationReachable(
af062818b47340eef15700d2f0211576ba3506eevboxsync [in] BSTR bstrDestination,
af062818b47340eef15700d2f0211576ba3506eevboxsync [in] BSTR bstrConnection,
af062818b47340eef15700d2f0211576ba3506eevboxsync [in] ULONG ulType,
af062818b47340eef15700d2f0211576ba3506eevboxsync [in] LPSENS_QOCINFO lpQOCInfo );
af062818b47340eef15700d2f0211576ba3506eevboxsync HRESULT DestinationReachableNoQOCInfo(
af062818b47340eef15700d2f0211576ba3506eevboxsync [in] BSTR bstrDestination,
af062818b47340eef15700d2f0211576ba3506eevboxsync [in] BSTR bstrConnection,
af062818b47340eef15700d2f0211576ba3506eevboxsync [in] ULONG ulType );
af062818b47340eef15700d2f0211576ba3506eevboxsync}
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync[
af062818b47340eef15700d2f0211576ba3506eevboxsync object,
af062818b47340eef15700d2f0211576ba3506eevboxsync uuid(d597bab2-5b9f-11d1-8dd2-00aa004abd5e),
af062818b47340eef15700d2f0211576ba3506eevboxsync pointer_default(unique)
af062818b47340eef15700d2f0211576ba3506eevboxsync]
af062818b47340eef15700d2f0211576ba3506eevboxsyncinterface ISensOnNow : IDispatch
af062818b47340eef15700d2f0211576ba3506eevboxsync{
af062818b47340eef15700d2f0211576ba3506eevboxsync HRESULT OnAcPower( void );
af062818b47340eef15700d2f0211576ba3506eevboxsync HRESULT OnBatteryPower(
af062818b47340eef15700d2f0211576ba3506eevboxsync [in] DWORD dwBatteryLifePercent );
af062818b47340eef15700d2f0211576ba3506eevboxsync HRESULT BatteryLow(
af062818b47340eef15700d2f0211576ba3506eevboxsync [in] DWORD dwBatteryLifePercent );
af062818b47340eef15700d2f0211576ba3506eevboxsync}
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync[
af062818b47340eef15700d2f0211576ba3506eevboxsync object,
af062818b47340eef15700d2f0211576ba3506eevboxsync uuid(d597bab3-5b9f-11d1-8dd2-00aa004abd5e),
af062818b47340eef15700d2f0211576ba3506eevboxsync pointer_default(unique)
af062818b47340eef15700d2f0211576ba3506eevboxsync]
af062818b47340eef15700d2f0211576ba3506eevboxsyncinterface ISensLogon : IDispatch
af062818b47340eef15700d2f0211576ba3506eevboxsync{
af062818b47340eef15700d2f0211576ba3506eevboxsync HRESULT Logon(
af062818b47340eef15700d2f0211576ba3506eevboxsync [in] BSTR bstrUserName );
af062818b47340eef15700d2f0211576ba3506eevboxsync HRESULT Logoff(
af062818b47340eef15700d2f0211576ba3506eevboxsync [in] BSTR bstrUserName );
af062818b47340eef15700d2f0211576ba3506eevboxsync HRESULT StartShell(
af062818b47340eef15700d2f0211576ba3506eevboxsync [in] BSTR bstrUserName );
af062818b47340eef15700d2f0211576ba3506eevboxsync HRESULT DisplayLock(
af062818b47340eef15700d2f0211576ba3506eevboxsync [in] BSTR bstrUserName );
af062818b47340eef15700d2f0211576ba3506eevboxsync HRESULT DisplayUnlock(
af062818b47340eef15700d2f0211576ba3506eevboxsync [in] BSTR bstrUserName );
af062818b47340eef15700d2f0211576ba3506eevboxsync HRESULT StartScreenSaver(
af062818b47340eef15700d2f0211576ba3506eevboxsync [in] BSTR bstrUserName );
af062818b47340eef15700d2f0211576ba3506eevboxsync HRESULT StopScreenSaver(
af062818b47340eef15700d2f0211576ba3506eevboxsync [in] BSTR bstrUserName );
af062818b47340eef15700d2f0211576ba3506eevboxsync}
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync[
af062818b47340eef15700d2f0211576ba3506eevboxsync object,
af062818b47340eef15700d2f0211576ba3506eevboxsync uuid(d597bab4-5b9f-11d1-8dd2-00aa004abd5e),
af062818b47340eef15700d2f0211576ba3506eevboxsync pointer_default(unique)
af062818b47340eef15700d2f0211576ba3506eevboxsync]
af062818b47340eef15700d2f0211576ba3506eevboxsyncinterface ISensLogon2 : IDispatch
af062818b47340eef15700d2f0211576ba3506eevboxsync{
af062818b47340eef15700d2f0211576ba3506eevboxsync HRESULT Logon(
af062818b47340eef15700d2f0211576ba3506eevboxsync [in] BSTR bstrUserName,
af062818b47340eef15700d2f0211576ba3506eevboxsync [in] DWORD dwSessionId );
af062818b47340eef15700d2f0211576ba3506eevboxsync HRESULT Logoff(
af062818b47340eef15700d2f0211576ba3506eevboxsync [in] BSTR bstrUserName,
af062818b47340eef15700d2f0211576ba3506eevboxsync [in] DWORD dwSessionId );
af062818b47340eef15700d2f0211576ba3506eevboxsync HRESULT SessionDisconnect(
af062818b47340eef15700d2f0211576ba3506eevboxsync [in] BSTR bstrUserName,
af062818b47340eef15700d2f0211576ba3506eevboxsync [in] DWORD dwSessionId );
af062818b47340eef15700d2f0211576ba3506eevboxsync HRESULT SessionReconnect(
af062818b47340eef15700d2f0211576ba3506eevboxsync [in] BSTR bstrUserName,
af062818b47340eef15700d2f0211576ba3506eevboxsync [in] DWORD dwSessionId );
af062818b47340eef15700d2f0211576ba3506eevboxsync HRESULT PostShell(
af062818b47340eef15700d2f0211576ba3506eevboxsync [in] BSTR bstrUserName,
af062818b47340eef15700d2f0211576ba3506eevboxsync [in] DWORD dwSessionId );
af062818b47340eef15700d2f0211576ba3506eevboxsync}