user32: Make GetMonitorInfoW print the monitor properties.

This commit is contained in:
Dmitry Timoshkov 2008-09-11 13:13:14 +09:00 committed by Alexandre Julliard
parent a2a3c59a45
commit 5587387c9f
1 changed files with 6 additions and 1 deletions

View File

@ -477,7 +477,12 @@ BOOL WINAPI GetMonitorInfoA(HMONITOR hMonitor, LPMONITORINFO lpMonitorInfo)
*/
BOOL WINAPI GetMonitorInfoW(HMONITOR hMonitor, LPMONITORINFO lpMonitorInfo)
{
return USER_Driver->pGetMonitorInfo( hMonitor, lpMonitorInfo );
BOOL ret = USER_Driver->pGetMonitorInfo( hMonitor, lpMonitorInfo );
if (ret)
TRACE("flags %04x, monitor %s, work %s\n", lpMonitorInfo->dwFlags,
wine_dbgstr_rect(&lpMonitorInfo->rcMonitor),
wine_dbgstr_rect(&lpMonitorInfo->rcWork));
return ret;
}
/***********************************************************************