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
4e23e412
Commit
4e23e412
authored
Jul 19, 2022
by
Zhiyi Zhang
Committed by
Alexandre Julliard
Jul 20, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add IMediaParamInfo definition.
Signed-off-by:
Zhiyi Zhang
<
zzhang@codeweavers.com
>
parent
9090229e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
59 additions
and
0 deletions
+59
-0
Makefile.in
include/Makefile.in
+1
-0
medparam.idl
include/medparam.idl
+58
-0
No files found.
include/Makefile.in
View file @
4e23e412
...
...
@@ -414,6 +414,7 @@ SOURCES = \
mcx.h
\
mediaerr.h
\
mediaobj.idl
\
medparam.idl
\
metahost.idl
\
mfapi.h
\
mfd3d12.idl
\
...
...
include/medparam.idl
0 → 100644
View file @
4e23e412
/*
*
Copyright
2022
Zhiyi
Zhang
for
CodeWeavers
*
*
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"
;
typedef
float
MP_DATA
;
typedef
DWORD
MP_CAPS
;
typedef
DWORD
MP_TIMEDATA
;
typedef
enum
_MP_Type
{
MPT_INT
,
MPT_FLOAT
,
MPT_BOOL
,
MPT_ENUM
,
MPT_MAX
,
}
MP_TYPE
;
typedef
struct
_MP_PARAMINFO
{
MP_TYPE
mpType
;
MP_CAPS
mopCaps
;
MP_DATA
mpdMinValue
;
MP_DATA
mpdMaxValue
;
MP_DATA
mpdNeutralValue
;
WCHAR
szUnitText
[
32
]
;
WCHAR
szLabel
[
32
]
;
}
MP_PARAMINFO
;
[
object
,
uuid
(
6
D6CBB60
-
A223
-
44
AA
-
842
F
-
A2F06750BE6D
),
version
(
1.0
)
]
interface
IMediaParamInfo
:
IUnknown
{
HRESULT
GetParamCount
(
[
out
]
DWORD
*
count
)
;
HRESULT
GetParamInfo
(
[
in
]
DWORD
index
,
[
out
]
MP_PARAMINFO
*
info
)
;
HRESULT
GetParamText
(
[
in
]
DWORD
index
,
[
out
]
WCHAR
**
text
)
;
HRESULT
GetNumTimeFormats
(
[
out
]
DWORD
*
count
)
;
HRESULT
GetSupportedTimeFormat
(
[
in
]
DWORD
index
,
[
out
]
GUID
*
guid
)
;
HRESULT
GetCurrentTimeFormat
(
[
out
]
GUID
*
guid
,
[
out
]
MP_TIMEDATA
*
time_data
)
;
}
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