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
Alexey Alyaev
wine
Commits
611bcf85
Commit
611bcf85
authored
20 years ago
by
Michael McCormack
Committed by
Alexandre Julliard
20 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Added idl file for the System Event Notifcation Services API
(SENSAPI).
parent
bdbadd9e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
include/.cvsignore
+1
-0
1 addition, 0 deletions
include/.cvsignore
include/Makefile.in
+1
-0
1 addition, 0 deletions
include/Makefile.in
include/sensevts.idl
+112
-0
112 additions, 0 deletions
include/sensevts.idl
with
114 additions
and
0 deletions
include/.cvsignore
+
1
−
0
View file @
611bcf85
...
...
@@ -21,6 +21,7 @@ oleidl.h
propidl.h
pstore.h
richole.h
sensevts.h
servprov.h
shldisp.h
shobjidl.h
...
...
This diff is collapsed.
Click to expand it.
include/Makefile.in
+
1
−
0
View file @
611bcf85
...
...
@@ -26,6 +26,7 @@ IDL_SRCS = \
propidl.idl
\
pstore.idl
\
richole.idl
\
sensevts.idl
\
servprov.idl
\
shldisp.idl
\
shobjidl.idl
\
...
...
This diff is collapsed.
Click to expand it.
include/sensevts.idl
0 → 100644
+
112
−
0
View file @
611bcf85
/*
*
Copyright
(
C
)
2005
Mike
McCormack
*
*
This
library
is
free
software
; you can redistribute it and/or
*
modify
it
under
the
terms
of
the
GNU
Lesser
General
Public
*
License
as
published
by
the
Free
Software
Foundation
; either
*
version
2.1
of
the
License
,
or
(
at
your
option
)
any
later
version
.
*
*
This
library
is
distributed
in
the
hope
that
it
will
be
useful
,
*
but
WITHOUT
ANY
WARRANTY
; without even the implied warranty of
*
MERCHANTABILITY
or
FITNESS
FOR
A
PARTICULAR
PURPOSE
.
See
the
GNU
*
Lesser
General
Public
License
for
more
details
.
*
*
You
should
have
received
a
copy
of
the
GNU
Lesser
General
Public
*
License
along
with
this
library
; if not, write to the Free Software
*
Foundation
,
Inc
.
,
59
Temple
Place
,
Suite
330
,
Boston
,
MA
02111
-
1307
USA
*/
import
"oaidl.idl"
;
typedef
struct
SENS_QOCINFO
{
DWORD
dwSize
;
DWORD
dwFlags
;
DWORD
dwOutSpeed
;
DWORD
dwInSpeed
;
}
SENS_QOCINFO
,
*
LPSENS_QOCINFO
;
[
object
,
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
,
pointer_default
(
unique
)
]
interface
ISensOnNow
:
IDispatch
{
HRESULT
OnAcPower
(
void
)
;
HRESULT
OnBatteryPower
(
[
in
]
DWORD
dwBatteryLifePercent
)
;
HRESULT
BatteryLow
(
[
in
]
DWORD
dwBatteryLifePercent
)
;
}
[
object
,
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
,
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
)
;
}
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