mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 02:36:13 +00:00
Set right error code, when a problem occurs
svn path=/trunk/; revision=19985
This commit is contained in:
parent
f2e1575922
commit
72be3bddcd
1 changed files with 1 additions and 1 deletions
|
@ -3757,7 +3757,7 @@ BOOL WINAPI SetupDiGetClassDevPropertySheetsW(
|
|||
rc = GetFunctionPointer(PropPageProvider, &hModule, (PVOID*)&pPropPageProvider);
|
||||
if (rc != ERROR_SUCCESS)
|
||||
{
|
||||
SetLastError(rc);
|
||||
SetLastError(ERROR_INVALID_PROPPAGE_PROVIDER);
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue