Commit 862377f1 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

sensapi: Define the SensEvents library in sensevts.idl.

Also import wtypes.idl.
parent 043c7fc0
......@@ -16,23 +16,32 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
import "wtypes.idl";
import "oaidl.idl";
typedef struct SENS_QOCINFO
[
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;
} SENS_QOCINFO, *LPSENS_QOCINFO;
[
[
object,
uuid(d597bab1-5b9f-11d1-8dd2-00aa004abd5e),
pointer_default(unique)
]
interface ISensNetwork : IDispatch
{
]
interface ISensNetwork : IDispatch
{
HRESULT ConnectionMade(
[in] BSTR bstrConnection,
[in] ULONG ulType,
......@@ -52,29 +61,29 @@ interface ISensNetwork : IDispatch
[in] BSTR bstrDestination,
[in] BSTR bstrConnection,
[in] ULONG ulType );
}
}
[
[
object,
uuid(d597bab2-5b9f-11d1-8dd2-00aa004abd5e),
pointer_default(unique)
]
interface ISensOnNow : IDispatch
{
]
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
{
]
interface ISensLogon : IDispatch
{
HRESULT Logon(
[in] BSTR bstrUserName );
HRESULT Logoff(
......@@ -89,15 +98,15 @@ interface ISensLogon : IDispatch
[in] BSTR bstrUserName );
HRESULT StopScreenSaver(
[in] BSTR bstrUserName );
}
}
[
[
object,
uuid(d597bab4-5b9f-11d1-8dd2-00aa004abd5e),
pointer_default(unique)
]
interface ISensLogon2 : IDispatch
{
]
interface ISensLogon2 : IDispatch
{
HRESULT Logon(
[in] BSTR bstrUserName,
[in] DWORD dwSessionId );
......@@ -113,4 +122,6 @@ interface ISensLogon2 : IDispatch
HRESULT PostShell(
[in] BSTR bstrUserName,
[in] DWORD dwSessionId );
}
}
} /* library SensEvents */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment