Changeset 6040 for trunk/src/user32/display.cpp
- Timestamp:
- Jun 17, 2001, 11:08:01 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/display.cpp
r4535 r6040 1 /* $Id: display.cpp,v 1.1 0 2000-10-26 17:22:23sandervl Exp $ */1 /* $Id: display.cpp,v 1.11 2001-06-17 21:08:00 sandervl Exp $ */ 2 2 /* 3 3 * Display/Monitor Win32 apis … … 434 434 RECT rcWork; 435 435 436 dprintf(("USER32: GetMonitorInfoA\n"));436 dprintf(("USER32: GetMonitorInfoA %x %x", hMonitor, lpMonitorInfo)); 437 437 438 438 if ((hMonitor == xPRIMARY_MONITOR) && … … 462 462 RECT rcWork; 463 463 464 dprintf(("USER32: GetMonitorInfoW\n"));464 dprintf(("USER32: GetMonitorInfoW %x %x", hMonitor, lpMonitorInfo)); 465 465 466 466 if ((hMonitor == xPRIMARY_MONITOR) && … … 490 490 WINDOWPLACEMENT wp; 491 491 492 dprintf(("USER32: MonitorFromWindow\n"));492 dprintf(("USER32: MonitorFromWindow %x %x", hWnd, dwFlags)); 493 493 494 494 if (dwFlags & (MONITOR_DEFAULTTOPRIMARY | MONITOR_DEFAULTTONEAREST)) … … 502 502 } 503 503 504 dprintf(("USER32: MonitorFromWindow failed")); 504 505 return NULL; 505 506 } … … 508 509 HMONITOR WIN32API MonitorFromRect(LPRECT lprcScreenCoords, DWORD dwFlags) 509 510 { 510 dprintf(("USER32: MonitorFromRect\n"));511 dprintf(("USER32: MonitorFromRect (%d,%d)(%d,%d) %x", lprcScreenCoords->left, lprcScreenCoords->top, lprcScreenCoords->right, lprcScreenCoords->bottom, dwFlags)); 511 512 512 513 if ((dwFlags & (MONITOR_DEFAULTTOPRIMARY | MONITOR_DEFAULTTONEAREST)) || … … 518 519 return xPRIMARY_MONITOR; 519 520 } 521 dprintf(("USER32: MonitorFromRect failed")); 520 522 return NULL; 521 523 } … … 524 526 HMONITOR WIN32API MonitorFromPoint(POINT ptScreenCoords, DWORD dwFlags) 525 527 { 526 dprintf(("USER32: MonitorFromPoint\n"));528 dprintf(("USER32: MonitorFromPoint (%d,%d) %x", ptScreenCoords.x, ptScreenCoords.y, dwFlags)); 527 529 528 530 if ((dwFlags & (MONITOR_DEFAULTTOPRIMARY | MONITOR_DEFAULTTONEAREST)) || … … 535 537 } 536 538 539 dprintf(("USER32: MonitorFromPoint failed")); 537 540 return NULL; 538 541 } … … 545 548 LPARAM dwData) 546 549 { 547 dprintf(("USER32: EnumDisplayMonitors\n"));548 549 550 RECT rcLimit; 551 552 dprintf(("USER32: EnumDisplayMonitors %x %x %x %x", hdcOptionalForPainting, lprcEnumMonitorsThatIntersect, lpfnEnumProc, dwData)); 550 553 551 554 if (!lpfnEnumProc)
Note:
See TracChangeset
for help on using the changeset viewer.