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
ae81a130
Commit
ae81a130
authored
Jan 12, 2014
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jan 13, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmscript: Include the DMUS_OBJECTDESC directly into DirectMusicScriptTrack.
parent
a5135bdc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
scripttrack.c
dlls/dmscript/scripttrack.c
+4
-5
No files found.
dlls/dmscript/scripttrack.c
View file @
ae81a130
...
...
@@ -29,7 +29,7 @@ typedef struct DirectMusicScriptTrack {
IDirectMusicTrack8
IDirectMusicTrack8_iface
;
IPersistStream
IPersistStream_iface
;
LONG
ref
;
LPDMUS_OBJECTDESC
pD
esc
;
DMUS_OBJECTDESC
d
esc
;
}
DirectMusicScriptTrack
;
static
inline
DirectMusicScriptTrack
*
impl_from_IDirectMusicTrack8
(
IDirectMusicTrack8
*
iface
)
...
...
@@ -318,10 +318,9 @@ HRESULT WINAPI DMUSIC_CreateDirectMusicScriptTrack(REFIID riid, void **ret_iface
track
->
IDirectMusicTrack8_iface
.
lpVtbl
=
&
dmtrack8_vtbl
;
track
->
IPersistStream_iface
.
lpVtbl
=
&
persist_vtbl
;
track
->
pDesc
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
DMUS_OBJECTDESC
));
DM_STRUCT_INIT
(
track
->
pDesc
);
track
->
pDesc
->
dwValidData
|=
DMUS_OBJ_CLASS
;
track
->
pDesc
->
guidClass
=
CLSID_DirectMusicScriptTrack
;
track
->
desc
.
dwSize
=
sizeof
(
track
->
desc
);
track
->
desc
.
dwValidData
|=
DMUS_OBJ_CLASS
;
track
->
desc
.
guidClass
=
CLSID_DirectMusicScriptTrack
;
track
->
ref
=
1
;
DMSCRIPT_LockModule
();
...
...
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