Changeset 2200 for trunk/src/user32/dc.cpp
- Timestamp:
- Dec 24, 1999, 7:42:46 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/dc.cpp
r2076 r2200 1 /* $Id: dc.cpp,v 1.2 8 1999-12-14 19:13:18sandervl Exp $ */1 /* $Id: dc.cpp,v 1.29 1999-12-24 18:39:10 sandervl Exp $ */ 2 2 3 3 /* … … 1381 1381 //****************************************************************************** 1382 1382 //****************************************************************************** 1383 BOOL WIN32API ValidateRect( HWND hwnd, const RECT * lprc) 1384 { 1385 dprintf(("USER32: ValidateRect %x (%d,%d)(%d,%d)", hwnd, lprc->left, lprc->top, lprc->right, lprc->bottom)); 1386 return RedrawWindow( hwnd, lprc, 0, RDW_VALIDATE_W | RDW_NOCHILDREN_W | (hwnd==0 ? RDW_UPDATENOW_W : 0)); 1387 } 1388 //****************************************************************************** 1389 //****************************************************************************** 1390 BOOL WIN32API ValidateRgn( HWND hwnd, HRGN hrgn) 1391 { 1392 dprintf(("USER32: ValidateRgn %x %x", hwnd, hrgn)); 1393 return RedrawWindow( hwnd, NULL, hrgn, RDW_VALIDATE_W | RDW_NOCHILDREN_W | (hwnd==0 ? RDW_UPDATENOW_W : 0)); 1394 } 1395 /***************************************************************************** 1396 * Name : int WIN32API GetWindowRgn 1397 * Purpose : The GetWindowRgn function obtains a copy of the window region of a window. 1398 * Parameters: HWND hWnd handle to window whose window region is to be obtained 1399 * HRGN hRgn handle to region that receives a copy of the window region 1400 * Variables : 1401 * Result : NULLREGION, SIMPLEREGION, COMPLEXREGION, ERROR 1402 * Remark : 1403 * Status : UNTESTED STUB 1404 * 1405 * Author : Patrick Haller [Thu, 1998/02/26 11:55] 1406 *****************************************************************************/ 1407 1408 int WIN32API GetWindowRgn (HWND hWnd, 1409 HRGN hRgn) 1410 { 1411 dprintf(("USER32:GetWindowRgn (%08xh,%08x) not implemented.\n", 1412 hWnd, 1413 hRgn)); 1414 //Attention: Win32 hwnd handle! 1415 1416 return (NULLREGION_W); 1417 } 1418 /***************************************************************************** 1419 * Name : int WIN32API SetWindowRgn 1420 * Purpose : The SetWindowRgn function sets the window region of a window. The 1421 * window region determines the area within the window where the 1422 * operating system permits drawing. The operating system does not 1423 * display any portion of a window that lies outside of the window region 1424 * Parameters: HWND hWnd handle to window whose window region is to be set 1425 * HRGN hRgn handle to region 1426 * BOOL bRedraw window redraw flag 1427 * Variables : 1428 * Result : If the function succeeds, the return value is non-zero. 1429 * If the function fails, the return value is zero. 1430 * Remark : 1431 * Status : UNTESTED STUB 1432 * 1433 * Author : Patrick Haller [Thu, 1998/02/26 11:55] 1434 *****************************************************************************/ 1435 1436 int WIN32API SetWindowRgn(HWND hWnd, 1437 HRGN hRgn, 1438 BOOL bRedraw) 1439 { 1440 dprintf(("USER32:SetWindowRgn (%08xh,%08xh,%u) not implemented.\n", 1441 hWnd, 1442 hRgn, 1443 bRedraw)); 1444 //Attention: Win32 hwnd handle! 1445 1446 return (0); 1447 } 1448 //****************************************************************************** 1449 //******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.