mirror of
https://github.com/reactos/reactos.git
synced 2024-09-09 12:20:21 +00:00
23 lines
699 B
C
23 lines
699 B
C
![]() |
|
||
|
DWORD WINAPI
|
||
|
UpdatePerUserSystemParameters(DWORD dw1, DWORD dw2);
|
||
|
|
||
|
INT
|
||
|
Test_NtUserUpdatePerUserSystemParameters(PTESTINFO pti)
|
||
|
{
|
||
|
BOOL bScrRd;
|
||
|
|
||
|
TEST(NtUserUpdatePerUserSystemParameters(0, 0) == 0);
|
||
|
TEST(NtUserUpdatePerUserSystemParameters(0, 1) == 0);
|
||
|
TEST(NtUserUpdatePerUserSystemParameters(1, 0) == 0);
|
||
|
TEST(NtUserUpdatePerUserSystemParameters(1, 1) == 0);
|
||
|
TEST(NtUserUpdatePerUserSystemParameters(0, 2) == 0);
|
||
|
TEST(NtUserUpdatePerUserSystemParameters(0, -1) == 0);
|
||
|
|
||
|
// NtUserSystemParametersInfo(SPI_SETSCREENREADER, 1, 0, 0);
|
||
|
NtUserSystemParametersInfo(SPI_GETSCREENREADER, 0, &bScrRd, 0);
|
||
|
printf("bScrRd = %d\n", bScrRd);
|
||
|
|
||
|
return APISTATUS_NORMAL;
|
||
|
}
|