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
b8149561
Commit
b8149561
authored
Jun 10, 2015
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jun 11, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmstyle: Pass the object instead of the iface to helper functions.
parent
774aad74
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
style.c
dlls/dmstyle/style.c
+8
-8
No files found.
dlls/dmstyle/style.c
View file @
b8149561
...
...
@@ -706,9 +706,9 @@ static HRESULT parse_part_list(DMUS_PRIVATE_CHUNK *pChunk, IStream *pStm)
return
S_OK
;
}
static
HRESULT
IDirectMusicStyle8Impl_IPersistStream_ParsePatternList
(
LPPERSISTSTREAM
iface
,
DMUS_PRIVATE_CHUNK
*
pChunk
,
IStream
*
pStm
)
{
ICOM_THIS_MULTI
(
IDirectMusicStyle8Impl
,
PersistStreamVtbl
,
iface
);
static
HRESULT
parse_pattern_list
(
IDirectMusicStyle8Impl
*
This
,
DMUS_PRIVATE_CHUNK
*
pChunk
,
IStream
*
pStm
)
{
HRESULT
hr
=
E_FAIL
;
DMUS_PRIVATE_CHUNK
Chunk
;
DWORD
ListSize
[
3
],
ListCount
[
3
];
...
...
@@ -871,9 +871,9 @@ static HRESULT IDirectMusicStyle8Impl_IPersistStream_ParsePatternList (LPPERSIST
return
S_OK
;
}
static
HRESULT
IDirectMusicStyle8Impl_IPersistStream_ParseStyleForm
(
LPPERSISTSTREAM
iface
,
DMUS_PRIVATE_CHUNK
*
pChunk
,
IStream
*
pStm
)
{
ICOM_THIS_MULTI
(
IDirectMusicStyle8Impl
,
PersistStreamVtbl
,
iface
);
static
HRESULT
parse_style_form
(
IDirectMusicStyle8Impl
*
This
,
DMUS_PRIVATE_CHUNK
*
pChunk
,
IStream
*
pStm
)
{
HRESULT
hr
=
E_FAIL
;
DMUS_PRIVATE_CHUNK
Chunk
;
DWORD
StreamSize
,
StreamCount
,
ListSize
[
3
],
ListCount
[
3
];
...
...
@@ -998,7 +998,7 @@ static HRESULT IDirectMusicStyle8Impl_IPersistStream_ParseStyleForm (LPPERSISTST
}
case
DMUS_FOURCC_PATTERN_LIST
:
{
TRACE_
(
dmfile
)(
": PATTERN list
\n
"
);
hr
=
IDirectMusicStyle8Impl_IPersistStream_ParsePatternList
(
iface
,
&
Chunk
,
pStm
);
hr
=
parse_pattern_list
(
This
,
&
Chunk
,
pStm
);
if
(
FAILED
(
hr
))
return
hr
;
break
;
}
...
...
@@ -1043,7 +1043,7 @@ static HRESULT WINAPI IDirectMusicStyle8Impl_IPersistStream_Load (LPPERSISTSTREA
switch
(
Chunk
.
fccID
)
{
case
DMUS_FOURCC_STYLE_FORM
:
{
TRACE_
(
dmfile
)(
": Style form
\n
"
);
hr
=
IDirectMusicStyle8Impl_IPersistStream_ParseStyleForm
(
iface
,
&
Chunk
,
pStm
);
hr
=
parse_style_form
(
This
,
&
Chunk
,
pStm
);
if
(
FAILED
(
hr
))
return
hr
;
break
;
}
...
...
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