Closing of wave output devices is functional and terminates the sound thread
[reactos.git] / reactos / dll / win32 / sndblst / sndblst.c
index 076e0ca..9ce2e28 100644 (file)
@@ -93,6 +93,7 @@ BOOLEAN FoundDevice(
         return FALSE;
 
     /* Set up our function table */
+    ZeroMemory(&FuncTable, sizeof(MMFUNCTION_TABLE));
     FuncTable.GetCapabilities = GetSoundBlasterDeviceCapabilities;
     FuncTable.QueryWaveFormatSupport = QueryNt4WaveDeviceFormatSupport;
     FuncTable.SetWaveFormat = SetNt4WaveDeviceFormat;