summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
58edad6)
- 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
* SetupAPI interface-related functions
*
* Copyright 2000 Andreas Mohr for CodeWeavers
* SetupAPI interface-related functions
*
* Copyright 2000 Andreas Mohr for CodeWeavers
- * 2005-2006 Hervé Poussineau (hpoussin@reactos.org)
+ * 2005-2006 Herv� 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
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
hInterfaceKey = SetupDiOpenClassRegKeyExW(InterfaceGuid, KEY_ENUMERATE_SUB_KEYS, DIOCR_INTERFACE, MachineName, NULL);
if (hInterfaceKey == INVALID_HANDLE_VALUE)
{
hInterfaceKey = SetupDiOpenClassRegKeyExW(InterfaceGuid, KEY_ENUMERATE_SUB_KEYS, DIOCR_INTERFACE, MachineName, NULL);
if (hInterfaceKey == INVALID_HANDLE_VALUE)
{
+ /* Key doesn't exist. Let's keep it empty */
+ rc = ERROR_SUCCESS;