1
0
mirror of https://github.com/wine-mirror/wine synced 2024-06-29 06:14:34 +00:00

nsi/tests: Use NSI_IP_COMPARTMENT_TABLE instead of hard coding the integer.

This commit is contained in:
Huw Davies 2024-05-17 10:26:32 +01:00 committed by Alexandre Julliard
parent 04927ec80d
commit 8af82d67ec

View File

@ -439,7 +439,8 @@ static void test_ip_cmpt( int family )
key = 1;
for (i = 0; i < ARRAY_SIZE(rw_sizes); i++)
{
err = NsiGetAllParameters( 1, mod, 2, &key, sizeof(key), &rw, rw_sizes[i], &dyn, sizeof(dyn), NULL, 0 );
err = NsiGetAllParameters( 1, mod, NSI_IP_COMPARTMENT_TABLE, &key, sizeof(key), &rw, rw_sizes[i],
&dyn, sizeof(dyn), NULL, 0 );
if (!err) break;
}
ok( !err, "got %lx\n", err );