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
e444c31f
Commit
e444c31f
authored
Jun 10, 2015
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jun 10, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dswave: Finish the cleanup of create_dswave().
parent
7370bed7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
dswave.c
dlls/dswave/dswave.c
+6
-6
No files found.
dlls/dswave/dswave.c
View file @
e444c31f
...
@@ -425,14 +425,14 @@ static const IPersistStreamVtbl persiststream_vtbl = {
...
@@ -425,14 +425,14 @@ static const IPersistStreamVtbl persiststream_vtbl = {
/* for ClassFactory */
/* for ClassFactory */
HRESULT
WINAPI
create_dswave
(
REFIID
lpcGUID
,
void
**
ppobj
)
HRESULT
WINAPI
create_dswave
(
REFIID
lpcGUID
,
void
**
ppobj
)
{
{
IDirectMusicWaveImpl
*
obj
;
IDirectMusicWaveImpl
*
obj
;
HRESULT
hr
;
HRESULT
hr
;
obj
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
IDirectMusicWaveImpl
));
obj
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
IDirectMusicWaveImpl
));
if
(
NULL
==
obj
)
{
if
(
!
obj
)
{
*
ppobj
=
NULL
;
*
ppobj
=
NULL
;
return
E_OUTOFMEMORY
;
return
E_OUTOFMEMORY
;
}
}
obj
->
IUnknown_iface
.
lpVtbl
=
&
unknown_vtbl
;
obj
->
IUnknown_iface
.
lpVtbl
=
&
unknown_vtbl
;
obj
->
ref
=
1
;
obj
->
ref
=
1
;
dmobject_init
(
&
obj
->
dmobj
,
&
CLSID_DirectSoundWave
,
&
obj
->
IUnknown_iface
);
dmobject_init
(
&
obj
->
dmobj
,
&
CLSID_DirectSoundWave
,
&
obj
->
IUnknown_iface
);
...
...
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