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
2fe96053
Commit
2fe96053
authored
Mar 13, 2014
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Mar 14, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dswave: DirectSoundWave doesn't support COM aggregation.
parent
9a537598
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
6 deletions
+12
-6
dswave.c
dlls/dswave/dswave.c
+2
-1
dswave_main.c
dlls/dswave/dswave_main.c
+9
-4
dswave_private.h
dlls/dswave/dswave_private.h
+1
-1
No files found.
dlls/dswave/dswave.c
View file @
2fe96053
...
...
@@ -723,7 +723,8 @@ static const IPersistStreamVtbl DirectMusicWave_PersistStream_Vtbl = {
/* for ClassFactory */
HRESULT
WINAPI
DMUSIC_CreateDirectMusicWaveImpl
(
LPCGUID
lpcGUID
,
LPVOID
*
ppobj
,
LPUNKNOWN
pUnkOuter
)
{
HRESULT
WINAPI
create_dswave
(
REFIID
lpcGUID
,
void
**
ppobj
)
{
IDirectMusicWaveImpl
*
obj
;
obj
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
IDirectMusicWaveImpl
));
...
...
dlls/dswave/dswave_main.c
View file @
2fe96053
...
...
@@ -71,12 +71,17 @@ static ULONG WINAPI WaveCF_Release(IClassFactory * iface)
return
1
;
/* non-heap based object */
}
static
HRESULT
WINAPI
WaveCF_CreateInstance
(
IClassFactory
*
iface
,
IUnknown
*
pOuter
,
REFIID
riid
,
void
**
ppobj
)
static
HRESULT
WINAPI
WaveCF_CreateInstance
(
IClassFactory
*
iface
,
IUnknown
*
outer_unk
,
REFIID
riid
,
void
**
ret_iface
)
{
TRACE
(
"(%p, %s, %p)
\n
"
,
pOuter
,
debugstr_dmguid
(
riid
),
ppobj
);
TRACE
(
"(%p, %s, %p)
\n
"
,
outer_unk
,
debugstr_dmguid
(
riid
),
ret_iface
);
return
DMUSIC_CreateDirectMusicWaveImpl
(
riid
,
ppobj
,
pOuter
);
if
(
outer_unk
)
{
*
ret_iface
=
NULL
;
return
CLASS_E_NOAGGREGATION
;
}
return
create_dswave
(
riid
,
ret_iface
);
}
static
HRESULT
WINAPI
WaveCF_LockServer
(
IClassFactory
*
iface
,
BOOL
dolock
)
...
...
dlls/dswave/dswave_private.h
View file @
2fe96053
...
...
@@ -48,7 +48,7 @@ typedef struct IDirectMusicWaveImpl IDirectMusicWaveImpl;
/*****************************************************************************
* ClassFactory
*/
extern
HRESULT
WINAPI
DMUSIC_CreateDirectMusicWaveImpl
(
LPCGUID
lpcGUID
,
LPVOID
*
ppobj
,
LPUNKNOWN
pUnkOuter
)
DECLSPEC_HIDDEN
;
extern
HRESULT
WINAPI
create_dswave
(
REFIID
lpcGUID
,
void
**
ret_iface
)
DECLSPEC_HIDDEN
;
/*****************************************************************************
...
...
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