Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
66e68156
Commit
66e68156
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 Command track GetParam/SetParam methods.
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d0780e37
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
10 deletions
+35
-10
commandtrack.c
dlls/dmstyle/commandtrack.c
+35
-10
No files found.
dlls/dmstyle/commandtrack.c
View file @
66e68156
...
@@ -119,24 +119,49 @@ static HRESULT WINAPI command_track_Play(IDirectMusicTrack8 *iface, void *pState
...
@@ -119,24 +119,49 @@ static HRESULT WINAPI command_track_Play(IDirectMusicTrack8 *iface, void *pState
return
S_OK
;
return
S_OK
;
}
}
static
HRESULT
WINAPI
command_track_GetParam
(
IDirectMusicTrack8
*
iface
,
REFGUID
rguidT
ype
,
static
HRESULT
WINAPI
command_track_GetParam
(
IDirectMusicTrack8
*
iface
,
REFGUID
t
ype
,
MUSIC_TIME
mtTime
,
MUSIC_TIME
*
pmtNext
,
void
*
pP
aram
)
MUSIC_TIME
time
,
MUSIC_TIME
*
next
,
void
*
p
aram
)
{
{
IDirectMusicCommandTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
IDirectMusicCommandTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
FIXME
(
"(%p, %s, %d, %p, %p): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
mtTime
,
pmtNext
,
pParam
);
if
(
!
rguidType
)
TRACE
(
"(%p, %s, %d, %p, %p):
\n
"
,
This
,
debugstr_dmguid
(
type
),
time
,
next
,
param
);
if
(
!
type
)
return
E_POINTER
;
return
E_POINTER
;
return
S_OK
;
if
(
IsEqualGUID
(
type
,
&
GUID_CommandParam
))
{
FIXME
(
"GUID_CommandParam not handled yet
\n
"
);
return
S_OK
;
}
else
if
(
IsEqualGUID
(
type
,
&
GUID_CommandParam2
))
{
FIXME
(
"GUID_CommandParam2 not handled yet
\n
"
);
return
S_OK
;
}
else
if
(
IsEqualGUID
(
type
,
&
GUID_CommandParamNext
))
{
FIXME
(
"GUID_CommandParamNext not handled yet
\n
"
);
return
S_OK
;
}
return
DMUS_E_GET_UNSUPPORTED
;
}
}
static
HRESULT
WINAPI
command_track_SetParam
(
IDirectMusicTrack8
*
iface
,
REFGUID
rguidT
ype
,
static
HRESULT
WINAPI
command_track_SetParam
(
IDirectMusicTrack8
*
iface
,
REFGUID
t
ype
,
MUSIC_TIME
mtTime
,
void
*
pP
aram
)
MUSIC_TIME
time
,
void
*
p
aram
)
{
{
IDirectMusicCommandTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
IDirectMusicCommandTrack
*
This
=
impl_from_IDirectMusicTrack8
(
iface
);
FIXME
(
"(%p, %s, %d, %p): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
mtTime
,
pParam
);
return
S_OK
;
TRACE
(
"(%p, %s, %d, %p)
\n
"
,
This
,
debugstr_dmguid
(
type
),
time
,
param
);
if
(
!
type
)
return
E_POINTER
;
if
(
IsEqualGUID
(
type
,
&
GUID_CommandParam
))
{
FIXME
(
"GUID_CommandParam not handled yet
\n
"
);
return
S_OK
;
}
else
if
(
IsEqualGUID
(
type
,
&
GUID_CommandParamNext
))
{
FIXME
(
"GUID_CommandParamNext not handled yet
\n
"
);
return
S_OK
;
}
return
DMUS_E_SET_UNSUPPORTED
;
}
}
static
HRESULT
WINAPI
command_track_IsParamSupported
(
IDirectMusicTrack8
*
iface
,
REFGUID
rguidType
)
static
HRESULT
WINAPI
command_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