From 2946af0b8e146704789cabfc7d4541c753fc9b64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Gardou?= Date: Sun, 18 Jul 2010 16:45:05 +0000 Subject: [PATCH] Fix my grotesque mistake of r48104 svn path=/trunk/; revision=48105 --- .../w32knapi/ntuser/NtUserGetIconInfo.c | 26 ------------------- 1 file changed, 26 deletions(-) diff --git a/rostests/apitests/w32knapi/ntuser/NtUserGetIconInfo.c b/rostests/apitests/w32knapi/ntuser/NtUserGetIconInfo.c index f85e554fb75..4c976cbc20a 100644 --- a/rostests/apitests/w32knapi/ntuser/NtUserGetIconInfo.c +++ b/rostests/apitests/w32knapi/ntuser/NtUserGetIconInfo.c @@ -99,31 +99,5 @@ Test_NtUserGetIconInfo(PTESTINFO pti) DestroyIcon(hIcon); - /* Test full param, with foreign icon */ - hIcon = LoadImageA(NULL, - OIC_HAND, - IMAGE_ICON, - 0, - 0, - LR_DEFAULTSIZE); - - TEST(hIcon != NULL); - - RtlInitUnicodeString(&hInstStr, NULL); - RtlInitUnicodeString(&ResourceStr, NULL); - - TEST(NtUserGetIconInfo(hIcon, - &iinfo, - &hInstStr, - &ResourceStr, - &bpp, - FALSE) == TRUE); - - TESTX(hInstStr.Buffer == NULL, "hInstStr.buffer : %p\n", hInstStr.Buffer); - TEST((LPCTSTR)ResourceStr.Buffer == MAKEINTRESOURCE(IDI_ICON)); - TEST(bpp == 32); - - DestroyIcon(hIcon); - return APISTATUS_NORMAL; } \ No newline at end of file