On Wed, Jun 13, 2018 at 9:36 AM Huw Davies huw@codeweavers.com wrote:
On 13 Jun 2018, at 15:32, Alex Henrie alexhenrie24@gmail.com wrote:
On Thu, Jun 7, 2018 at 7:25 AM Huw Davies huw@codeweavers.com wrote:
On Mon, May 28, 2018 at 10:05:26PM -0600, Alex Henrie wrote:
/***********************************************************************
GetSystemFirmwareTable (KERNEL32.@)
*/ UINT WINAPI GetSystemFirmwareTable(DWORD provider, DWORD id, PVOID buffer, DWORD size) {
- FIXME("(%d %d %p %d):stub\n", provider, id, buffer, size);
- FIXME("(%08x %08x %p %d): semi-stub\n", provider, id, buffer, size);
This should probably be forwarded to NtQuerySystemInformation(SystemFirmwareTableInformation, ...).
NtQuerySystemInformation(SystemFirmwareTableInformation, ...) just returns STATUS_NOT_IMPLEMENTED on Windows.
You’re probably not calling it correctly. See: https://testbot.winehq.org/JobDetails.pl?Key=39104
You're right, thanks for the example! I was getting STATUS_NOT_IMPLEMENTED because I had not filled in the _SYSTEM_FIRMWARE_TABLE_INFORMATION struct. In fact, I didn't even know that anyone had figured out that struct's definition. Looks like you got it from http://www.exploit-monday.com/2013_06_16_archive.html.
I'll send a revised patch set tonight.
-Alex