From 879c57d63ce2ac933c7d4d1a82f1046f5853d516 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Sun, 21 Dec 2008 02:40:09 +0000 Subject: [PATCH] use _wcsicmp instead of non-standard wcscmpi svn path=/trunk/; revision=38216 --- .../apitests/w32knapi/ntuser/NtUserSystemParametersInfo.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rostests/apitests/w32knapi/ntuser/NtUserSystemParametersInfo.c b/rostests/apitests/w32knapi/ntuser/NtUserSystemParametersInfo.c index f4a0c035f45..1f470559786 100644 --- a/rostests/apitests/w32knapi/ntuser/NtUserSystemParametersInfo.c +++ b/rostests/apitests/w32knapi/ntuser/NtUserSystemParametersInfo.c @@ -305,7 +305,7 @@ Test_SPI_GETSETBEEP(PTESTINFO pti) TEST(bTemp == 0); cbSize = sizeof(szReg); TEST(QueryUserRegValueW(L"Control Panel\\Sound", L"Beep", &szReg, &cbSize, NULL) == ERROR_SUCCESS); - TEST(wcscmpi(szReg, L"No") == 0); + TEST(_wcsicmp(szReg, L"No") == 0); /* Value 1 */ NtUserSystemParametersInfo(SPI_SETBEEP, 1, NULL, SPIF_UPDATEINIFILE); @@ -313,7 +313,7 @@ Test_SPI_GETSETBEEP(PTESTINFO pti) TEST(bTemp == 1); cbSize = sizeof(szReg); TEST(QueryUserRegValueW(L"Control Panel\\Sound", L"Beep", &szReg, &cbSize, NULL) == ERROR_SUCCESS); - TEST(wcscmpi(szReg, L"Yes") == 0); + TEST(_wcsicmp(szReg, L"Yes") == 0); /* Value 2 */ NtUserSystemParametersInfo(SPI_SETBEEP, 2, NULL, SPIF_UPDATEINIFILE); @@ -321,7 +321,7 @@ Test_SPI_GETSETBEEP(PTESTINFO pti) TEST(bTemp == 1); cbSize = sizeof(szReg); TEST(QueryUserRegValueW(L"Control Panel\\Sound", L"Beep", &szReg, &cbSize, NULL) == ERROR_SUCCESS); - TEST(wcscmpi(szReg, L"Yes") == 0); + TEST(_wcsicmp(szReg, L"Yes") == 0); /* Restore original value */ NtUserSystemParametersInfo(SPI_SETBEEP, 0, &bOrig, SPIF_UPDATEINIFILE);