mirror of
https://gitlab.winehq.org/wine/wine.git
synced 2024-11-21 17:09:06 -07:00
ntdll: Always return 0 length on failure in SystemFirmwareTableInformation.
This commit is contained in:
parent
9f8ef43991
commit
6d1df55bf3
1 changed files with 1 additions and 1 deletions
|
@ -3479,6 +3479,7 @@ NTSTATUS WINAPI NtQuerySystemInformation( SYSTEM_INFORMATION_CLASS class,
|
|||
ret = STATUS_INFO_LENGTH_MISMATCH;
|
||||
break;
|
||||
}
|
||||
len = 0;
|
||||
|
||||
switch (sfti->Action)
|
||||
{
|
||||
|
@ -3489,7 +3490,6 @@ NTSTATUS WINAPI NtQuerySystemInformation( SYSTEM_INFORMATION_CLASS class,
|
|||
ret = get_firmware_info(sfti, size, &len);
|
||||
break;
|
||||
default:
|
||||
len = 0;
|
||||
ret = STATUS_NOT_IMPLEMENTED;
|
||||
FIXME("info_class SYSTEM_FIRMWARE_TABLE_INFORMATION action %d\n", sfti->Action);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue