[PATCH] kernel32/tests: Load GetSystemFirmwareTable() dynamically.
Dmitry Timoshkov
dmitry at baikal.ru
Fri Jul 13 02:59:03 CDT 2018
Zebediah Figura <z.figura12 at gmail.com> wrote:
> expected_len -= min_sfti_len;
> smbios_table = HeapAlloc(GetProcessHeap(), 0, expected_len);
> - len = GetSystemFirmwareTable(RSMB, 0, smbios_table, expected_len);
> + len = pGetSystemFirmwareTable(RSMB, 0, smbios_table, expected_len);
I guess that an earlier call fails and the test is skipped but still
it would be better to check the pGetSystemFirmwareTable for NULL.
--
Dmitry.
More information about the wine-devel
mailing list