https://git.reactos.org/?p=reactos.git;a=commitdiff;h=93f77f2625c40e8eb2fbb…
commit 93f77f2625c40e8eb2fbbc9d7e491c4d72f2b30c
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Mon Jul 8 00:08:22 2019 +0200
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Mon Jul 8 00:08:22 2019 +0200
[SETUPAPI] CM_Delete_DevNode_Key[_Ex]: Use DEVINST instead of DEVNODE because we are
using DEVINST anywhere else.
---
dll/win32/setupapi/cfgmgr.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/dll/win32/setupapi/cfgmgr.c b/dll/win32/setupapi/cfgmgr.c
index 55c3d64dccc..1362f9969f5 100644
--- a/dll/win32/setupapi/cfgmgr.c
+++ b/dll/win32/setupapi/cfgmgr.c
@@ -1567,14 +1567,14 @@ CM_Delete_Class_Key_Ex(
CONFIGRET
WINAPI
CM_Delete_DevNode_Key(
- _In_ DEVNODE dnDevNode,
+ _In_ DEVINST dnDevInst,
_In_ ULONG ulHardwareProfile,
_In_ ULONG ulFlags)
{
TRACE("CM_Delete_DevNode_Key(%p %lu %lx)\n",
- dnDevNode, ulHardwareProfile, ulFlags);
+ dnDevInst, ulHardwareProfile, ulFlags);
- return CM_Delete_DevNode_Key_Ex(dnDevNode, ulHardwareProfile, ulFlags,
+ return CM_Delete_DevNode_Key_Ex(dnDevInst, ulHardwareProfile, ulFlags,
NULL);
}
@@ -1585,13 +1585,13 @@ CM_Delete_DevNode_Key(
CONFIGRET
WINAPI
CM_Delete_DevNode_Key_Ex(
- _In_ DEVNODE dnDevNode,
+ _In_ DEVINST dnDevInst,
_In_ ULONG ulHardwareProfile,
_In_ ULONG ulFlags,
_In_opt_ HANDLE hMachine)
{
FIXME("CM_Delete_DevNode_Key_Ex(%p %lu %lx %p)\n",
- dnDevNode, ulHardwareProfile, ulFlags, hMachine);
+ dnDevInst, ulHardwareProfile, ulFlags, hMachine);
return CR_CALL_NOT_IMPLEMENTED;
}