mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 22:55:41 +00:00
[USER32]
- Make a debug print less useless svn path=/trunk/; revision=68617
This commit is contained in:
parent
61359d4e52
commit
176bad4690
1 changed files with 2 additions and 2 deletions
|
@ -1862,14 +1862,14 @@ CURSORICON_CopyImage(
|
||||||
if (!IS_INTRESOURCE(ustrRsrc.Buffer))
|
if (!IS_INTRESOURCE(ustrRsrc.Buffer))
|
||||||
ustrRsrc.Buffer[ustrRsrc.Length/sizeof(WCHAR)] = UNICODE_NULL;
|
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);
|
ustrRsrc.Buffer, IS_INTRESOURCE(ustrRsrc.Buffer) ? L"" : ustrRsrc.Buffer);
|
||||||
|
|
||||||
/* Get the module handle */
|
/* Get the module handle */
|
||||||
if (!GetModuleHandleExW(0, ustrModule.Buffer, &hModule))
|
if (!GetModuleHandleExW(0, ustrModule.Buffer, &hModule))
|
||||||
{
|
{
|
||||||
/* This should never happen */
|
/* This should never happen */
|
||||||
ERR("Invalid handle?.\n");
|
ERR("Invalid handle? Module='%wZ', error %lu.\n", &ustrModule, GetLastError());
|
||||||
SetLastError(ERROR_INVALID_PARAMETER);
|
SetLastError(ERROR_INVALID_PARAMETER);
|
||||||
goto leave;
|
goto leave;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue