setupapi: Correct a return value.
This commit is contained in:
parent
0a5e09d794
commit
13ff6e7a1b
|
@ -664,7 +664,8 @@ BOOL WINAPI SetupQueryInfOriginalFileInformationW(
|
|||
if (OriginalFileInfo->cbSize != sizeof(*OriginalFileInfo))
|
||||
{
|
||||
ERR("incorrect OriginalFileInfo->cbSize of %d\n", OriginalFileInfo->cbSize);
|
||||
return ERROR_INVALID_USER_BUFFER;
|
||||
SetLastError(ERROR_INVALID_USER_BUFFER);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
inf_path = (LPWSTR)&InfInformation->VersionData[0];
|
||||
|
|
Loading…
Reference in New Issue