uxtheme/tests: Remove unneeded comment.
This commit is contained in:
parent
85c989be49
commit
b0696b8b4a
|
@ -514,11 +514,6 @@ static void test_GetCurrentThemeName(void)
|
||||||
"Expected 0xdeadbeef, got 0x%08x\n",
|
"Expected 0xdeadbeef, got 0x%08x\n",
|
||||||
GetLastError());
|
GetLastError());
|
||||||
|
|
||||||
/* When the number of characters given is too small (not 0, see above), GetCurrentThemeName returns 0x8007007a.
|
|
||||||
* The only definition I found was in strsafe.h:
|
|
||||||
*
|
|
||||||
* #define STRSAFE_E_INSUFFICIENT_BUFFER ((HRESULT)0x8007007AL) // 0x7A = 122L = ERROR_INSUFFICIENT_BUFFER
|
|
||||||
*/
|
|
||||||
SetLastError(0xdeadbeef);
|
SetLastError(0xdeadbeef);
|
||||||
hRes = pGetCurrentThemeName(currentTheme, 2, NULL, 0, NULL, 0);
|
hRes = pGetCurrentThemeName(currentTheme, 2, NULL, 0, NULL, 0);
|
||||||
if (bThemeActive)
|
if (bThemeActive)
|
||||||
|
|
Loading…
Reference in New Issue