mirror of
https://gitlab.winehq.org/wine/wine.git
synced 2024-11-19 17:06:04 -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;
|
ret = STATUS_INFO_LENGTH_MISMATCH;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
len = 0;
|
||||||
|
|
||||||
switch (sfti->Action)
|
switch (sfti->Action)
|
||||||
{
|
{
|
||||||
|
@ -3489,7 +3490,6 @@ NTSTATUS WINAPI NtQuerySystemInformation( SYSTEM_INFORMATION_CLASS class,
|
||||||
ret = get_firmware_info(sfti, size, &len);
|
ret = get_firmware_info(sfti, size, &len);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
len = 0;
|
|
||||||
ret = STATUS_NOT_IMPLEMENTED;
|
ret = STATUS_NOT_IMPLEMENTED;
|
||||||
FIXME("info_class SYSTEM_FIRMWARE_TABLE_INFORMATION action %d\n", sfti->Action);
|
FIXME("info_class SYSTEM_FIRMWARE_TABLE_INFORMATION action %d\n", sfti->Action);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue