[PATCH v5 3/8] kernel32/tests: Add GetSystemFirmwareTable tests

Alex Henrie alexhenrie24 at gmail.com
Sat Jun 16 18:11:21 CDT 2018


On Fri, Jun 15, 2018 at 2:37 AM Huw Davies <huw at codeweavers.com> wrote:
>
> On Fri, Jun 15, 2018 at 12:59:09AM -0600, Alex Henrie wrote:
> > +    sfti->ProviderSignature = RSMB;
> > +    sfti->Action = SystemFirmwareTable_Get;
>
> You need to initialize TableID.

When querying the RSMB table, TableID is ignored. You get the same
results no matter what the table ID is. I'm adding a test that
demonstrates this.

I did, however, notice that some of the RSMB table values change over
time. So, I'm going to omit the test for NtQuerySystemInformation and
GetSystemFirmwareTable returning exactly the same data, and instead
just check that they both return the same amount of data.

If you'd like to look over my latest work before Monday, you can see
it at https://github.com/alexhenrie/wine/commits/master

Thanks for the help!

-Alex



More information about the wine-devel mailing list