Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lorenzo Ferrillo
wine
Commits
862377f1
Commit
862377f1
authored
13 years ago
by
Francois Gouget
Committed by
Alexandre Julliard
13 years ago
Browse files
Options
Downloads
Patches
Plain Diff
sensapi: Define the SensEvents library in sensevts.idl.
Also import wtypes.idl.
parent
043c7fc0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/sensevts.idl
+101
-90
101 additions, 90 deletions
include/sensevts.idl
with
101 additions
and
90 deletions
include/sensevts.idl
+
101
−
90
View file @
862377f1
...
...
@@ -16,101 +16,112 @@
*
Foundation
,
Inc
.
,
51
Franklin
St
,
Fifth
Floor
,
Boston
,
MA
02110
-
1301
,
USA
*/
import
"wtypes.idl"
;
import
"oaidl.idl"
;
typedef
struct
SENS_QOCINFO
{
DWORD
dwSize
;
DWORD
dwFlags
;
DWORD
dwOutSpeed
;
DWORD
dwInSpeed
;
}
SENS_QOCINFO
,
*
LPSENS_QOCINFO
;
[
object
,
uuid
(
d597bab1
-
5b9
f
-
11
d1
-
8
dd2
-
00
aa004abd5e
),
pointer_default
(
unique
)
version
(
2.0
),
uuid
(
d597deed
-
5b9
f
-
11
d1
-
8
dd2
-
00
aa004abd5e
)
]
interface
ISensNetwork
:
IDispatch
library
SensEvents
{
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
)
;
}
importlib
(
"stdole2.tlb"
)
;
[
object
,
uuid
(
d597bab2
-
5b9
f
-
11
d1
-
8
dd2
-
00
aa004abd5e
),
pointer_default
(
unique
)
]
interface
ISensOnNow
:
IDispatch
{
HRESULT
OnAcPower
(
void
)
;
HRESULT
OnBatteryPower
(
[
in
]
DWORD
dwBatteryLifePercent
)
;
HRESULT
BatteryLow
(
[
in
]
DWORD
dwBatteryLifePercent
)
;
}
typedef
struct
SENS_QOCINFO
{
DWORD
dwSize
;
DWORD
dwFlags
;
DWORD
dwOutSpeed
;
DWORD
dwInSpeed
;
}
SENS_QOCINFO
,
*
LPSENS_QOCINFO
;
[
object
,
uuid
(
d597bab3
-
5b9
f
-
11
d1
-
8
dd2
-
00
aa004abd5e
),
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
(
d597bab1
-
5b9
f
-
11
d1
-
8
dd2
-
00
aa004abd5e
),
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
(
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
)
;
}
[
object
,
uuid
(
d597bab2
-
5b9
f
-
11
d1
-
8
dd2
-
00
aa004abd5e
),
pointer_default
(
unique
)
]
interface
ISensOnNow
:
IDispatch
{
HRESULT
OnAcPower
(
void
)
;
HRESULT
OnBatteryPower
(
[
in
]
DWORD
dwBatteryLifePercent
)
;
HRESULT
BatteryLow
(
[
in
]
DWORD
dwBatteryLifePercent
)
;
}
[
object
,
uuid
(
d597bab3
-
5b9
f
-
11
d1
-
8
dd2
-
00
aa004abd5e
),
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
-
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
*/
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment