RegFlushKey: wrong error code.

This commit is contained in:
Andreas Mohr 1999-02-13 12:40:22 +00:00 committed by Alexandre Julliard
parent cabc5a1561
commit 743885a914
1 changed files with 1 additions and 1 deletions

View File

@ -3203,7 +3203,7 @@ DWORD WINAPI RegFlushKey( HKEY hkey )
lpkey = lookup_hkey( hkey );
if (!lpkey)
return ERROR_INVALID_HANDLE;
return ERROR_BADKEY;
ERR(reg, "What is the correct filename?\n");