[NTUSER] Demote ERR to TRACE, also some minor corrections (#3132)

This commit is contained in:
Kyle Katarn 2020-09-05 16:59:10 +02:00 committed by GitHub
parent fb529605a6
commit 9f428f5522
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -800,7 +800,7 @@ static LRESULT handle_internal_message( PWND pWnd, UINT msg, WPARAM wparam, LPAR
} }
case WM_ASYNC_DESTROYWINDOW: case WM_ASYNC_DESTROYWINDOW:
{ {
ERR("WM_ASYNC_DESTROYWINDOW\n"); TRACE("WM_ASYNC_DESTROYWINDOW\n");
if (pWnd->style & WS_CHILD) if (pWnd->style & WS_CHILD)
return co_UserFreeWindow(pWnd, PsGetCurrentProcessWin32Process(), PsGetCurrentThreadWin32Thread(), TRUE); return co_UserFreeWindow(pWnd, PsGetCurrentProcessWin32Process(), PsGetCurrentThreadWin32Thread(), TRUE);
else else
@ -1867,8 +1867,8 @@ co_IntSendMessageWithCallBack( HWND hWnd,
if(!(Message = AllocateUserMessage(FALSE))) if(!(Message = AllocateUserMessage(FALSE)))
{ {
ERR("MsqSendMessage(): Not enough memory to allocate a message"); ERR("MsqSendMessage(): Not enough memory to allocate a message\n");
RETURN( FALSE); RETURN(FALSE);
} }
Message->Msg.hwnd = hWnd; Message->Msg.hwnd = hWnd;