Commit f998b267 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

dmime: DirectMusicSegment doesn't supports COM aggregation.

parent 91296abb
...@@ -1292,6 +1292,11 @@ static const IPersistStreamVtbl DirectMusicSegment8_PersistStream_Vtbl = { ...@@ -1292,6 +1292,11 @@ static const IPersistStreamVtbl DirectMusicSegment8_PersistStream_Vtbl = {
HRESULT WINAPI DMUSIC_CreateDirectMusicSegmentImpl (LPCGUID lpcGUID, LPVOID* ppobj, LPUNKNOWN pUnkOuter) { HRESULT WINAPI DMUSIC_CreateDirectMusicSegmentImpl (LPCGUID lpcGUID, LPVOID* ppobj, LPUNKNOWN pUnkOuter) {
IDirectMusicSegment8Impl* obj; IDirectMusicSegment8Impl* obj;
if (pUnkOuter) {
*ppobj = NULL;
return CLASS_E_NOAGGREGATION;
}
obj = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(IDirectMusicSegment8Impl)); obj = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(IDirectMusicSegment8Impl));
if (NULL == obj) { if (NULL == obj) {
*ppobj = NULL; *ppobj = NULL;
......
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