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
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
101 additions
and
90 deletions
+101
-90
sensevts.idl
include/sensevts.idl
+101
-90
No files found.
include/sensevts.idl
View file @
862377f1
...
@@ -16,101 +16,112 @@
...
@@ -16,101 +16,112 @@
*
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
{
DWORD
dwSize
;
DWORD
dwFlags
;
DWORD
dwOutSpeed
;
DWORD
dwInSpeed
;
}
SENS_QOCINFO
,
*
LPSENS_QOCINFO
;
[
[
object
,
version
(
2.0
),
uuid
(
d597bab1
-
5b9
f
-
11
d1
-
8
dd2
-
00
aa004abd5e
),
uuid
(
d597deed
-
5b9
f
-
11
d1
-
8
dd2
-
00
aa004abd5e
)
pointer_default
(
unique
)
]
]
interface
ISensNetwork
:
IDispatch
library
SensEvents
{
{
HRESULT
ConnectionMade
(
importlib
(
"stdole2.tlb"
)
;
[
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
)
;
}
[
typedef
struct
SENS_QOCINFO
object
,
{
uuid
(
d597bab2
-
5b9
f
-
11
d1
-
8
dd2
-
00
aa004abd5e
),
DWORD
dwSize
;
pointer_default
(
unique
)
DWORD
dwFlags
;
]
DWORD
dwOutSpeed
;
interface
ISensOnNow
:
IDispatch
DWORD
dwInSpeed
;
{
}
SENS_QOCINFO
,
*
LPSENS_QOCINFO
;
HRESULT
OnAcPower
(
void
)
;
HRESULT
OnBatteryPower
(
[
in
]
DWORD
dwBatteryLifePercent
)
;
HRESULT
BatteryLow
(
[
in
]
DWORD
dwBatteryLifePercent
)
;
}
[
[
object
,
object
,
uuid
(
d597bab3
-
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
ISensLogon
:
IDispatch
interface
ISensNetwork
:
IDispatch
{
{
HRESULT
Logon
(
HRESULT
ConnectionMade
(
[
in
]
BSTR
bstrUserName
)
;
[
in
]
BSTR
bstrConnection
,
HRESULT
Logoff
(
[
in
]
ULONG
ulType
,
[
in
]
BSTR
bstrUserName
)
;
[
in
]
LPSENS_QOCINFO
lpQOCInfo
)
;
HRESULT
StartShell
(
HRESULT
ConnectionMadeNoQOCInfo
(
[
in
]
BSTR
bstrUserName
)
;
[
in
]
BSTR
bstrConnection
,
HRESULT
DisplayLock
(
[
in
]
ULONG
ulType
)
;
[
in
]
BSTR
bstrUserName
)
;
HRESULT
ConnectionLost
(
HRESULT
DisplayUnlock
(
[
in
]
BSTR
bstrConnection
,
[
in
]
BSTR
bstrUserName
)
;
[
in
]
ULONG
ulType
)
;
HRESULT
StartScreenSaver
(
HRESULT
DestinationReachable
(
[
in
]
BSTR
bstrUserName
)
;
[
in
]
BSTR
bstrDestination
,
HRESULT
StopScreenSaver
(
[
in
]
BSTR
bstrConnection
,
[
in
]
BSTR
bstrUserName
)
;
[
in
]
ULONG
ulType
,
}
[
in
]
LPSENS_QOCINFO
lpQOCInfo
)
;
HRESULT
DestinationReachableNoQOCInfo
(
[
in
]
BSTR
bstrDestination
,
[
in
]
BSTR
bstrConnection
,
[
in
]
ULONG
ulType
)
;
}
[
[
object
,
object
,
uuid
(
d597bab4
-
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
ISensLogon2
:
IDispatch
interface
ISensOnNow
:
IDispatch
{
{
HRESULT
Logon
(
HRESULT
OnAcPower
(
void
)
;
[
in
]
BSTR
bstrUserName
,
HRESULT
OnBatteryPower
(
[
in
]
DWORD
dwSessionId
)
;
[
in
]
DWORD
dwBatteryLifePercent
)
;
HRESULT
Logoff
(
HRESULT
BatteryLow
(
[
in
]
BSTR
bstrUserName
,
[
in
]
DWORD
dwBatteryLifePercent
)
;
[
in
]
DWORD
dwSessionId
)
;
}
HRESULT
SessionDisconnect
(
[
in
]
BSTR
bstrUserName
,
[
[
in
]
DWORD
dwSessionId
)
;
object
,
HRESULT
SessionReconnect
(
uuid
(
d597bab3
-
5b9
f
-
11
d1
-
8
dd2
-
00
aa004abd5e
),
[
in
]
BSTR
bstrUserName
,
pointer_default
(
unique
)
[
in
]
DWORD
dwSessionId
)
;
]
HRESULT
PostShell
(
interface
ISensLogon
:
IDispatch
[
in
]
BSTR
bstrUserName
,
{
[
in
]
DWORD
dwSessionId
)
;
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
-
5b9
f
-
11
d1
-
8
dd2
-
00
aa004abd5e
),
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
*/
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