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
d7ae69a3
Commit
d7ae69a3
authored
Jan 22, 2020
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jan 23, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmstyle: Partially implement Style track GetParam/SetParam methods.
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
0b8333d2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
7 deletions
+29
-7
styletrack.c
dlls/dmstyle/styletrack.c
+29
-7
No files found.
dlls/dmstyle/styletrack.c
View file @
d7ae69a3
...
...
@@ -138,7 +138,7 @@ static HRESULT WINAPI style_track_GetParam(IDirectMusicTrack8 *iface, REFGUID ty
IDirectMusicStyleTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
struct
list
*
item
=
NULL
;
FIXME
(
"(%p, %s, %d, %p, %p): stub
\n
"
,
This
,
debugstr_dmguid
(
type
),
time
,
next
,
param
);
TRACE
(
"(%p, %s, %d, %p, %p):
\n
"
,
This
,
debugstr_dmguid
(
type
),
time
,
next
,
param
);
if
(
!
type
)
return
E_POINTER
;
...
...
@@ -155,17 +155,39 @@ static HRESULT WINAPI style_track_GetParam(IDirectMusicTrack8 *iface, REFGUID ty
}
return
DMUS_E_NOT_FOUND
;
}
else
if
(
IsEqualGUID
(
&
GUID_TimeSignature
,
type
))
{
FIXME
(
"GUID_TimeSignature not handled yet
\n
"
);
return
S_OK
;
}
return
S_OK
;
return
DMUS_E_GET_UNSUPPORTED
;
}
static
HRESULT
WINAPI
style_track_SetParam
(
IDirectMusicTrack8
*
iface
,
REFGUID
rguidTyp
e
,
MUSIC_TIME
mtTime
,
void
*
pP
aram
)
static
HRESULT
WINAPI
style_track_SetParam
(
IDirectMusicTrack8
*
iface
,
REFGUID
type
,
MUSIC_TIME
tim
e
,
void
*
p
aram
)
{
IDirectMusicStyleTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
FIXME
(
"(%p, %s, %d, %p): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
mtTime
,
pParam
);
return
S_OK
;
IDirectMusicStyleTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
TRACE
(
"(%p, %s, %d, %p)
\n
"
,
This
,
debugstr_dmguid
(
type
),
time
,
param
);
if
(
!
type
)
return
E_POINTER
;
if
(
IsEqualGUID
(
type
,
&
GUID_DisableTimeSig
))
{
FIXME
(
"GUID_DisableTimeSig not handled yet
\n
"
);
return
S_OK
;
}
else
if
(
IsEqualGUID
(
type
,
&
GUID_EnableTimeSig
))
{
FIXME
(
"GUID_EnableTimeSig not handled yet
\n
"
);
return
S_OK
;
}
else
if
(
IsEqualGUID
(
type
,
&
GUID_IDirectMusicStyle
))
{
FIXME
(
"GUID_IDirectMusicStyle not handled yet
\n
"
);
return
S_OK
;
}
else
if
(
IsEqualGUID
(
type
,
&
GUID_SeedVariations
))
{
FIXME
(
"GUID_SeedVariations not handled yet
\n
"
);
return
S_OK
;
}
return
DMUS_E_SET_UNSUPPORTED
;
}
static
HRESULT
WINAPI
style_track_IsParamSupported
(
IDirectMusicTrack8
*
iface
,
REFGUID
rguidType
)
...
...
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