Author: tfaber
Date: Fri Aug 7 17:30:12 2015
New Revision: 68617
URL:
http://svn.reactos.org/svn/reactos?rev=68617&view=rev
Log:
[USER32]
- Make a debug print less useless
Modified:
trunk/reactos/win32ss/user/user32/windows/cursoricon.c
Modified: trunk/reactos/win32ss/user/user32/windows/cursoricon.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/user32/window…
==============================================================================
--- trunk/reactos/win32ss/user/user32/windows/cursoricon.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/user32/windows/cursoricon.c [iso-8859-1] Fri Aug 7
17:30:12 2015
@@ -1862,14 +1862,14 @@
if (!IS_INTRESOURCE(ustrRsrc.Buffer))
ustrRsrc.Buffer[ustrRsrc.Length/sizeof(WCHAR)] = UNICODE_NULL;
- TRACE("Got module %S, resource %p (%S).\n", ustrModule.Buffer,
+ TRACE("Got module %wZ, resource %p (%S).\n", &ustrModule,
ustrRsrc.Buffer, IS_INTRESOURCE(ustrRsrc.Buffer) ? L"" :
ustrRsrc.Buffer);
/* Get the module handle */
if (!GetModuleHandleExW(0, ustrModule.Buffer, &hModule))
{
/* This should never happen */
- ERR("Invalid handle?.\n");
+ ERR("Invalid handle? Module='%wZ', error %lu.\n",
&ustrModule, GetLastError());
SetLastError(ERROR_INVALID_PARAMETER);
goto leave;
}