user32: Added debug traces to SetParent.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2016-02-22 12:55:04 +01:00 committed by Alexandre Julliard
parent d13a44e4aa
commit 3ece2ab7ee
1 changed files with 2 additions and 0 deletions

View File

@ -2984,6 +2984,8 @@ HWND WINAPI SetParent( HWND hwnd, HWND parent )
POINT pt;
BOOL ret;
TRACE("(%p %p)\n", hwnd, parent);
if (is_broadcast(hwnd) || is_broadcast(parent))
{
SetLastError(ERROR_INVALID_PARAMETER);