- Fix wdmaud / sysaudio service installation when a driver is installed

svn path=/trunk/; revision=39758
This commit is contained in:
Johannes Anderwald 2009-02-26 00:04:26 +00:00
parent 5f60162daa
commit be3c2ddc31

View file

@ -166,7 +166,8 @@ MMSYS_InstallDevice(HDEVINFO hDevInfo, PSP_DEVINFO_DATA pspDevInfoData)
PVOID Context; PVOID Context;
BOOL Result; BOOL Result;
if (!IsEqualIID(&pspDevInfoData->ClassGuid, &GUID_DEVCLASS_SOUND)) if (!IsEqualIID(&pspDevInfoData->ClassGuid, &GUID_DEVCLASS_SOUND) &&
!IsEqualIID(&pspDevInfoData->ClassGuid, &GUID_DEVCLASS_MEDIA))
return ERROR_DI_DO_DEFAULT; return ERROR_DI_DO_DEFAULT;
Length = GetWindowsDirectoryW(szBuffer, MAX_PATH); Length = GetWindowsDirectoryW(szBuffer, MAX_PATH);