Changeset 1299 for trunk/src/user32/loadres.cpp
- Timestamp:
- Oct 14, 1999, 9:31:32 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/loadres.cpp
r1196 r1299 1 /* $Id: loadres.cpp,v 1. 8 1999-10-08 19:34:25 dengertExp $ */1 /* $Id: loadres.cpp,v 1.9 1999-10-14 19:31:29 sandervl Exp $ */ 2 2 3 3 /* … … 439 439 return(hRet); 440 440 } 441 //****************************************************************************** 442 //****************************************************************************** 441 /****************************************************************************** 442 * CopyImage32 [USER32.61] Creates new image and copies attributes to it 443 * 444 * PARAMS 445 * hnd [I] Handle to image to copy 446 * type [I] Type of image to copy 447 * desiredx [I] Desired width of new image 448 * desiredy [I] Desired height of new image 449 * flags [I] Copy flags 450 * 451 * RETURNS 452 * Success: Handle to newly created image 453 * Failure: NULL 454 * 455 * FIXME: implementation still lacks nearly all features, see LR_* 456 * defines in windows.h 457 * 458 */ 459 HICON WINAPI CopyImage( HANDLE hnd, UINT type, INT desiredx, 460 INT desiredy, UINT flags ) 461 { 462 dprintf(("CopyImage %x %d (%d,%d) %x", hnd, type, desiredx, desiredy, flags)); 463 switch (type) 464 { 465 // case IMAGE_BITMAP: 466 // return BITMAP_CopyBitmap(hnd); 467 case IMAGE_ICON: 468 return CopyIcon(hnd); 469 case IMAGE_CURSOR: 470 return CopyCursor(hnd); 471 default: 472 dprintf(("CopyImage: Unsupported type")); 473 } 474 return 0; 475 } 476 //****************************************************************************** 477 //******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.