projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[SETUPAPI] Improve CM_Disable_DevNode_Ex
[reactos.git]
/
dll
/
win32
/
setupapi
/
cfgmgr.c
diff --git
a/dll/win32/setupapi/cfgmgr.c
b/dll/win32/setupapi/cfgmgr.c
index
859b0e4
..
3b341c5
100644
(file)
--- a/
dll/win32/setupapi/cfgmgr.c
+++ b/
dll/win32/setupapi/cfgmgr.c
@@
-1830,11
+1830,12
@@
CM_Disable_DevNode_Ex(
RpcTryExcept
{
- ret = PNP_DeviceInstanceAction(BindingHandle,
- PNP_DEVINST_DISABLE,
- ulFlags,
- lpDevInst,
- NULL);
+ ret = PNP_DisableDevInst(BindingHandle,
+ lpDevInst,
+ NULL,
+ NULL,
+ 0,
+ ulFlags);
}
RpcExcept(EXCEPTION_EXECUTE_HANDLER)
{