Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
862377f1
Commit
862377f1
authored
Dec 28, 2011
by
Francois Gouget
Committed by
Alexandre Julliard
Dec 28, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sensapi: Define the SensEvents library in sensevts.idl.
Also import wtypes.idl.
parent
043c7fc0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
22 deletions
+33
-22
sensevts.idl
include/sensevts.idl
+33
-22
No files found.
include/sensevts.idl
View file @
862377f1
...
@@ -16,23 +16,32 @@
...
@@ -16,23 +16,32 @@
*
Foundation
,
Inc
.
,
51
Franklin
St
,
Fifth
Floor
,
Boston
,
MA
02110
-
1301
,
USA
*
Foundation
,
Inc
.
,
51
Franklin
St
,
Fifth
Floor
,
Boston
,
MA
02110
-
1301
,
USA
*/
*/
import
"wtypes.idl"
;
import
"oaidl.idl"
;
import
"oaidl.idl"
;
typedef
struct
SENS_QOCINFO
[
version
(
2.0
),
uuid
(
d597deed
-
5b9
f
-
11
d1
-
8
dd2
-
00
aa004abd5e
)
]
library
SensEvents
{
{
importlib
(
"stdole2.tlb"
)
;
typedef
struct
SENS_QOCINFO
{
DWORD
dwSize
;
DWORD
dwSize
;
DWORD
dwFlags
;
DWORD
dwFlags
;
DWORD
dwOutSpeed
;
DWORD
dwOutSpeed
;
DWORD
dwInSpeed
;
DWORD
dwInSpeed
;
}
SENS_QOCINFO
,
*
LPSENS_QOCINFO
;
}
SENS_QOCINFO
,
*
LPSENS_QOCINFO
;
[
[
object
,
object
,
uuid
(
d597bab1
-
5b9
f
-
11
d1
-
8
dd2
-
00
aa004abd5e
),
uuid
(
d597bab1
-
5b9
f
-
11
d1
-
8
dd2
-
00
aa004abd5e
),
pointer_default
(
unique
)
pointer_default
(
unique
)
]
]
interface
ISensNetwork
:
IDispatch
interface
ISensNetwork
:
IDispatch
{
{
HRESULT
ConnectionMade
(
HRESULT
ConnectionMade
(
[
in
]
BSTR
bstrConnection
,
[
in
]
BSTR
bstrConnection
,
[
in
]
ULONG
ulType
,
[
in
]
ULONG
ulType
,
...
@@ -52,29 +61,29 @@ interface ISensNetwork : IDispatch
...
@@ -52,29 +61,29 @@ interface ISensNetwork : IDispatch
[
in
]
BSTR
bstrDestination
,
[
in
]
BSTR
bstrDestination
,
[
in
]
BSTR
bstrConnection
,
[
in
]
BSTR
bstrConnection
,
[
in
]
ULONG
ulType
)
;
[
in
]
ULONG
ulType
)
;
}
}
[
[
object
,
object
,
uuid
(
d597bab2
-
5b9
f
-
11
d1
-
8
dd2
-
00
aa004abd5e
),
uuid
(
d597bab2
-
5b9
f
-
11
d1
-
8
dd2
-
00
aa004abd5e
),
pointer_default
(
unique
)
pointer_default
(
unique
)
]
]
interface
ISensOnNow
:
IDispatch
interface
ISensOnNow
:
IDispatch
{
{
HRESULT
OnAcPower
(
void
)
;
HRESULT
OnAcPower
(
void
)
;
HRESULT
OnBatteryPower
(
HRESULT
OnBatteryPower
(
[
in
]
DWORD
dwBatteryLifePercent
)
;
[
in
]
DWORD
dwBatteryLifePercent
)
;
HRESULT
BatteryLow
(
HRESULT
BatteryLow
(
[
in
]
DWORD
dwBatteryLifePercent
)
;
[
in
]
DWORD
dwBatteryLifePercent
)
;
}
}
[
[
object
,
object
,
uuid
(
d597bab3
-
5b9
f
-
11
d1
-
8
dd2
-
00
aa004abd5e
),
uuid
(
d597bab3
-
5b9
f
-
11
d1
-
8
dd2
-
00
aa004abd5e
),
pointer_default
(
unique
)
pointer_default
(
unique
)
]
]
interface
ISensLogon
:
IDispatch
interface
ISensLogon
:
IDispatch
{
{
HRESULT
Logon
(
HRESULT
Logon
(
[
in
]
BSTR
bstrUserName
)
;
[
in
]
BSTR
bstrUserName
)
;
HRESULT
Logoff
(
HRESULT
Logoff
(
...
@@ -89,15 +98,15 @@ interface ISensLogon : IDispatch
...
@@ -89,15 +98,15 @@ interface ISensLogon : IDispatch
[
in
]
BSTR
bstrUserName
)
;
[
in
]
BSTR
bstrUserName
)
;
HRESULT
StopScreenSaver
(
HRESULT
StopScreenSaver
(
[
in
]
BSTR
bstrUserName
)
;
[
in
]
BSTR
bstrUserName
)
;
}
}
[
[
object
,
object
,
uuid
(
d597bab4
-
5b9
f
-
11
d1
-
8
dd2
-
00
aa004abd5e
),
uuid
(
d597bab4
-
5b9
f
-
11
d1
-
8
dd2
-
00
aa004abd5e
),
pointer_default
(
unique
)
pointer_default
(
unique
)
]
]
interface
ISensLogon2
:
IDispatch
interface
ISensLogon2
:
IDispatch
{
{
HRESULT
Logon
(
HRESULT
Logon
(
[
in
]
BSTR
bstrUserName
,
[
in
]
BSTR
bstrUserName
,
[
in
]
DWORD
dwSessionId
)
;
[
in
]
DWORD
dwSessionId
)
;
...
@@ -113,4 +122,6 @@ interface ISensLogon2 : IDispatch
...
@@ -113,4 +122,6 @@ interface ISensLogon2 : IDispatch
HRESULT
PostShell
(
HRESULT
PostShell
(
[
in
]
BSTR
bstrUserName
,
[
in
]
BSTR
bstrUserName
,
[
in
]
DWORD
dwSessionId
)
;
[
in
]
DWORD
dwSessionId
)
;
}
}
}
/*
library
SensEvents
*/
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment