Commit 0ea21942 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

dmime: DirectMusicPerformance doesn't supports COM aggregation.

parent 5bd33566
......@@ -1178,8 +1178,13 @@ HRESULT WINAPI DMUSIC_CreateDirectMusicPerformanceImpl (LPCGUID lpcGUID, LPVOID
TRACE("(%p,%p,%p)\n", lpcGUID, ppobj, pUnkOuter);
if (pUnkOuter) {
*ppobj = NULL;
return CLASS_E_NOAGGREGATION;
}
obj = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(IDirectMusicPerformance8Impl));
if (NULL == obj) {
if (NULL == obj) {
*ppobj = NULL;
return E_OUTOFMEMORY;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment