mirror of
https://github.com/reactos/reactos.git
synced 2025-04-04 04:26:32 +00:00
[SETUPAPI] Apply suggestion
Co-authored-by: Serge Gautherie <32623169+SergeGautherie@users.noreply.github.com>
This commit is contained in:
parent
938c924016
commit
1de625af8e
1 changed files with 1 additions and 0 deletions
|
@ -214,6 +214,7 @@ SETUP_CreateInterfaceList(
|
|||
rc = RegQueryValueExW(hReferenceKey, SymbolicLink, NULL, &dwRegType, NULL, &dwLength);
|
||||
if (rc != ERROR_SUCCESS)
|
||||
{
|
||||
/* Skip device interface with invalid reference value (i.e. interface not actually available for this device) */
|
||||
RegCloseKey(hReferenceKey);
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue