mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
dswave: Add missing segment vtbl initialisation (with DirectMusicSegment8_Segment_Vtbl).
This commit is contained in:
parent
c66a9cd418
commit
7fb33f0864
@ -732,6 +732,7 @@ HRESULT WINAPI DMUSIC_CreateDirectMusicWaveImpl (LPCGUID lpcGUID, LPVOID* ppobj,
|
||||
return E_OUTOFMEMORY;
|
||||
}
|
||||
obj->UnknownVtbl = &DirectMusicWave_Unknown_Vtbl;
|
||||
obj->SegmentVtbl = &DirectMusicSegment8_Segment_Vtbl;
|
||||
obj->ObjectVtbl = &DirectMusicWave_Object_Vtbl;
|
||||
obj->PersistStreamVtbl = &DirectMusicWave_PersistStream_Vtbl;
|
||||
obj->pDesc = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(DMUS_OBJECTDESC));
|
||||
|
Loading…
Reference in New Issue
Block a user