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
cd6d9e83
Commit
cd6d9e83
authored
Dec 16, 2009
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Dec 16, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add endpointvolume.idl.
parent
73c31606
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
150 additions
and
0 deletions
+150
-0
.gitignore
.gitignore
+1
-0
Makefile.in
include/Makefile.in
+1
-0
endpointvolume.idl
include/endpointvolume.idl
+148
-0
No files found.
.gitignore
View file @
cd6d9e83
...
...
@@ -145,6 +145,7 @@ include/docobj.h
include/downloadmgr.h
include/dxgi.h
include/dxgitype.h
include/endpointvolume.h
include/exdisp.h
include/fusion.h
include/hlink.h
...
...
include/Makefile.in
View file @
cd6d9e83
...
...
@@ -32,6 +32,7 @@ PUBLIC_IDL_H_SRCS = \
downloadmgr.idl
\
dxgi.idl
\
dxgitype.idl
\
endpointvolume.idl
\
exdisp.idl
\
fusion.idl
\
hlink.idl
\
...
...
include/endpointvolume.idl
0 → 100644
View file @
cd6d9e83
/*
*
Copyright
(
C
)
2009
Maarten
Lankhorst
*
*
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
.
,
51
Franklin
St
,
Fifth
Floor
,
Boston
,
MA
02110
-
1301
,
USA
*/
import
"unknwn.idl"
;
import
"devicetopology.idl"
;
typedef
struct
AUDIO_VOLUME_NOTIFICATION_DATA
{
GUID
guidEventContext
;
BOOL
bMuted
;
FLOAT
fMasterVolume
;
UINT
nChannels
;
FLOAT
afChannelVolumes
[
1
]
;
}
AUDIO_VOLUME_NOTIFICATION_DATA
;
cpp_quote
(
"typedef struct AUDIO_VOLUME_NOTIFICATION_DATA *PAUDIO_VOLUME_NOTIFICATION_DATA;"
)
cpp_quote
(
"#define ENDPOINT_HARDWARE_SUPPORT_VOLUME 0x1\n"
)
cpp_quote
(
"#define ENDPOINT_HARDWARE_SUPPORT_MUTE 0x2\n"
)
cpp_quote
(
"#define ENDPOINT_HARDWARE_SUPPORT_METER 0x4\n"
)
interface
IAudioEndpointVolumeCallback
;
interface
IAudioEndpointVolume
;
interface
IAudioEndpointVolumeEx
;
interface
IAudioMeterInformation
;
[
pointer_default
(
unique
),
nonextensible
,
uuid
(
657804
fa
-
d6ad
-
4496
-
8
a60
-
352752
af4f89
),
local
,
object
]
interface
IAudioEndpointVolumeCallback
:
IUnknown
{
HRESULT
OnNotify
(
AUDIO_VOLUME_NOTIFICATION_DATA
*
pNotify
)
;
}
[
pointer_default
(
unique
),
nonextensible
,
uuid
(
5
cdf2c82
-841e-4546
-
9722
-
0
cf74078229a
),
local
,
object
]
interface
IAudioEndpointVolume
:
IUnknown
{
HRESULT
RegisterControlChangeNotify
(
[
in
]
IAudioEndpointVolumeCallback
*
pNotify
)
;
HRESULT
UnregisterControlChangeNotify
(
[
in
]
IAudioEndpointVolumeCallback
*
pNotify
)
;
HRESULT
GetChannelCount
(
[
out
]
UINT
*
pnChannelCount
)
;
HRESULT
SetMasterVolumeLevel
(
[
in
]
FLOAT
fLevelDB
,
[
unique
,
in
]
LPCGUID
pguidEventContext
)
;
HRESULT
SetMasterVolumeLevelScalar
(
[
in
]
FLOAT
fLevel
,
[
unique
,
in
]
LPCGUID
pguidEventContext
)
;
HRESULT
GetMasterVolumeLevel
(
[
out
]
FLOAT
*
fLevelDB
)
;
HRESULT
GetMasterVolumeLevelScalar
(
[
out
]
FLOAT
*
fLevel
)
;
HRESULT
SetChannelVolumeLevel
(
[
in
]
UINT
nChannel
,
[
in
]
FLOAT
fLevelDB
,
[
unique
,
in
]
LPCGUID
pguidEventContext
)
;
HRESULT
SetChannelVolumeLevelScalar
(
[
in
]
UINT
nChannel
,
[
in
]
FLOAT
fLevel
,
[
unique
,
in
]
LPCGUID
pguidEventContext
)
;
HRESULT
GetChannelVolumeLevel
(
[
in
]
UINT
nChannel
,
[
out
]
FLOAT
*
fLevelDB
)
;
HRESULT
GetChannelVolumeLevelScalar
(
[
in
]
UINT
nChannel
,
[
out
]
FLOAT
*
fLevel
)
;
HRESULT
SetMute
(
[
in
]
BOOL
bMute
,
[
unique
,
in
]
LPCGUID
pguidEventContext
)
;
HRESULT
GetMute
(
[
out
]
BOOL
*
bMute
)
;
HRESULT
GetVolumeStepInfo
(
[
out
]
UINT
*
pnStep
,
[
out
]
UINT
*
pnStepCount
)
;
HRESULT
VolumeStepUp
(
[
unique
,
in
]
LPCGUID
pguidEventContext
)
;
HRESULT
VolumeStepDown
(
[
unique
,
in
]
LPCGUID
pguidEventContext
)
;
HRESULT
QueryHardwareSupport
(
[
out
]
DWORD
*
pdwHardwareSupportMask
)
;
HRESULT
GetVolumeRange
(
[
out
]
FLOAT
*
pflVolumeMindB
,
[
out
]
FLOAT
*
pflVolumeMaxdB
,
[
out
]
FLOAT
*
pflVolumeIncrementdB
)
;
}
[
pointer_default
(
unique
),
nonextensible
,
uuid
(
66
e11784
-
f695
-
4
f28
-
a505
-
a7080081a78f
),
local
,
object
]
interface
IAudioEndpointVolumeEx
:
IAudioEndpointVolume
{
HRESULT
GetVolumeRangeChannel
(
[
in
]
UINT
iChannel
,
[
out
]
FLOAT
*
pflVolumeMindB
,
[
out
]
FLOAT
*
pflVolumeMaxdB
,
[
out
]
FLOAT
*
pflVolumeIncrementdB
)
;
}
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