projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[WDMAUD]
[reactos.git]
/
reactos
/
drivers
/
wdm
/
audio
/
legacy
/
wdmaud
/
mmixer.c
diff --git
a/reactos/drivers/wdm/audio/legacy/wdmaud/mmixer.c
b/reactos/drivers/wdm/audio/legacy/wdmaud/mmixer.c
index
deafa02
..
2d8dbd8
100644
(file)
--- a/
reactos/drivers/wdm/audio/legacy/wdmaud/mmixer.c
+++ b/
reactos/drivers/wdm/audio/legacy/wdmaud/mmixer.c
@@
-271,6
+271,12
@@
Enum(
/* open device interface key */
Status = IoOpenDeviceInterfaceRegistryKey(&KeyName, GENERIC_READ | GENERIC_WRITE, OutKey);
+
+ if (!NT_SUCCESS(Status))
+ {
+ *OutKey = NULL;
+ }
+
#if 0
if (!NT_SUCCESS(Status))
{