projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[WDMAUD.DRV][MMEBUDDY]
[reactos.git]
/
reactos
/
dll
/
win32
/
wdmaud.drv
/
wdmaud.c
diff --git
a/reactos/dll/win32/wdmaud.drv/wdmaud.c
b/reactos/dll/win32/wdmaud.drv/wdmaud.c
index
3378be6
..
2a491f3
100644
(file)
--- a/
reactos/dll/win32/wdmaud.drv/wdmaud.c
+++ b/
reactos/dll/win32/wdmaud.drv/wdmaud.c
@@
-609,6
+609,13
@@
GetDeviceInterfaceString(
(LPVOID) &DeviceInfo,
sizeof(WDMAUD_DEVICE_INFO),
NULL);
+
+ if ( MMSUCCESS(Result) && InterfaceLength > 2)
+ {
+ Interface[1] = L'\\';
+ Interface[InterfaceLength-1] = L'\0';
+ }
+
return Result;
}