Result = GetSoundDeviceType(SoundDevice, &DeviceType);
SND_ASSERT( Result == MMSYSERR_NOERROR );
- if ( ! MMSUCCESS(Result) );
+ if ( ! MMSUCCESS(Result) )
return TranslateInternalMmResult(Result);
/* Choose the appropriate IOCTL */
{
/* FIXME - need to support AUX and mixer devices */
SND_ASSERT( FALSE );
+ IoCtl = 0;
}
/* Get the capabilities information from the driver */
MMRESULT
SetNt4WaveDeviceFormat(
IN PSOUND_DEVICE_INSTANCE SoundDeviceInstance,
+ IN DWORD DeviceId,
IN LPWAVEFORMATEX Format,
IN DWORD FormatSize)
{