mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00
- RegQueryValueExW returns ERRROR_SUCCESS
svn path=/trunk/; revision=42827
This commit is contained in:
parent
2922b635c3
commit
785ccb4938
1 changed files with 1 additions and 1 deletions
|
@ -266,7 +266,7 @@ SETUP_CreateInterfaceList(
|
|||
else
|
||||
{
|
||||
dwLength = sizeof(DWORD);
|
||||
if (RegQueryValueExW(hControlKey, Linked, NULL, &dwRegType, (LPBYTE)&LinkedValue, &dwLength)
|
||||
if (RegQueryValueExW(hControlKey, Linked, NULL, &dwRegType, (LPBYTE)&LinkedValue, &dwLength) == ERROR_SUCCESS
|
||||
&& dwRegType == REG_DWORD && LinkedValue)
|
||||
interfaceInfo->Flags |= SPINT_ACTIVE;
|
||||
RegCloseKey(hControlKey);
|
||||
|
|
Loading…
Reference in a new issue