mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 20:59:54 +00:00
Initialize correctly the DMUS_OBJECTDESC local structure.
This commit is contained in:
parent
abe9c975a8
commit
8f62ecba56
@ -503,7 +503,9 @@ HRESULT WINAPI IDirectMusicScriptImpl_IPersistStream_Load (LPPERSISTSTREAM iface
|
||||
case FOURCC_RIFF: {
|
||||
IDirectMusicObject* pObject = NULL;
|
||||
DMUS_OBJECTDESC desc;
|
||||
|
||||
|
||||
ZeroMemory ((LPVOID)&desc, sizeof(DMUS_OBJECTDESC));
|
||||
desc.dwSize = sizeof(DMUS_OBJECTDESC);
|
||||
desc.dwValidData = DMUS_OBJ_STREAM | DMUS_OBJ_CLASS;
|
||||
desc.guidClass = CLSID_DirectMusicContainer;
|
||||
desc.pStream = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user