mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +00:00
a5c3bb5bce
- Update .rc filename; addendum to7ad21a4
(r70458). - Move one '#include "resource.h"' around to where it is needed. Addendum toe1b2e7a
(r29284) thenec5e0ea
(r48103). - Adjust all '#include <win32nt.h>'
30 lines
876 B
C
30 lines
876 B
C
/*
|
|
* PROJECT: ReactOS api tests
|
|
* LICENSE: GPL - See COPYING in the top level directory
|
|
* PURPOSE: Test for NtUserUpdatePerUserSystemParameters
|
|
* PROGRAMMERS:
|
|
*/
|
|
|
|
#include "../win32nt.h"
|
|
|
|
|
|
|
|
DWORD WINAPI
|
|
UpdatePerUserSystemParameters(DWORD dw1, DWORD dw2);
|
|
|
|
START_TEST(NtUserUpdatePerUserSystemParameters)
|
|
{
|
|
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);
|
|
|
|
}
|