mirror of
https://github.com/reactos/reactos.git
synced 2025-04-19 12:08:55 +00:00
[SETUPAPI]
- Do not fail on non-existing GUIDs in SetupDiGetClassDevsExW WinCDemu portable now goes a bit further and permits to load CD images, but no new drive letters are affected. svn path=/trunk/; revision=63643
This commit is contained in:
parent
58edad6809
commit
d11edd7453
1 changed files with 3 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
* SetupAPI interface-related functions
|
||||
*
|
||||
* Copyright 2000 Andreas Mohr for CodeWeavers
|
||||
* 2005-2006 Hervé Poussineau (hpoussin@reactos.org)
|
||||
* 2005-2006 Herv<EFBFBD> Poussineau (hpoussin@reactos.org)
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
|
@ -97,7 +97,8 @@ SETUP_CreateInterfaceList(
|
|||
hInterfaceKey = SetupDiOpenClassRegKeyExW(InterfaceGuid, KEY_ENUMERATE_SUB_KEYS, DIOCR_INTERFACE, MachineName, NULL);
|
||||
if (hInterfaceKey == INVALID_HANDLE_VALUE)
|
||||
{
|
||||
rc = GetLastError();
|
||||
/* Key doesn't exist. Let's keep it empty */
|
||||
rc = ERROR_SUCCESS;
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue