Author: jgardou Date: Sun Jul 18 16:45:05 2010 New Revision: 48105
URL: http://svn.reactos.org/svn/reactos?rev=48105&view=rev Log: Fix my grotesque mistake of r48104
Modified: trunk/rostests/apitests/w32knapi/ntuser/NtUserGetIconInfo.c
Modified: trunk/rostests/apitests/w32knapi/ntuser/NtUserGetIconInfo.c URL: http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/w32knapi/ntuser/N... ============================================================================== --- trunk/rostests/apitests/w32knapi/ntuser/NtUserGetIconInfo.c [iso-8859-1] (original) +++ trunk/rostests/apitests/w32knapi/ntuser/NtUserGetIconInfo.c [iso-8859-1] Sun Jul 18 16:45:05 2010 @@ -99,31 +99,5 @@
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; }