Changeset 1749 for trunk/src/user32/loadres.cpp
- Timestamp:
- Nov 15, 1999, 12:29:25 AM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/loadres.cpp
r1667 r1749 1 /* $Id: loadres.cpp,v 1.1 5 1999-11-09 17:07:21 cbratschiExp $ */1 /* $Id: loadres.cpp,v 1.16 1999-11-14 23:29:25 sandervl Exp $ */ 2 2 3 3 /* … … 6 6 * Copyright 1998 Sander van Leeuwen 7 7 * 8 * Parts based on Wine code (objects\bitmap.c, loader\resource.c ):8 * Parts based on Wine code (objects\bitmap.c, loader\resource.c, objects\cursoricon.c): 9 9 * 10 10 * Copyright 1993 Alexandre Julliard 11 * 1993 Robert J. Amstadt 12 * 1996 Martin Von Loewis 13 * 1997 Alex Korobka 14 * 1998 Turchanov Sergey 11 15 * 1998 Huw D M Davies 12 * 1993 Robert J. Amstadt13 16 * 14 17 * Project Odin Software License can be found in LICENSE.TXT … … 24 27 #include "dib.h" 25 28 #include "initterm.h" 29 #include <win\cursoricon.h> 26 30 27 31 //****************************************************************************** … … 89 93 delete winres; 90 94 95 #ifdef DEBUG_ENABLELOG_LEVEL2 96 if(i) { 97 char *astring = (char *)HEAP_strdupWtoA(GetProcessHeap(), 0, lpBuffer); 98 dprintf(("LoadStringW from %X, id %d %s\n", hinst, wID, astring)); 99 HEAP_free(astring); 100 } 101 #else 91 102 dprintf(("LoadStringW from %X, id %d buffersize %d\n", hinst, wID, cchBuffer)); 103 #endif 92 104 return(i); 93 105 } … … 529 541 // return BITMAP_CopyBitmap(hnd); 530 542 case IMAGE_ICON: 531 543 return CopyIcon(hnd); 532 544 case IMAGE_CURSOR: 533 return CopyCursor(hnd); 545 return CopyCursor(hnd); 546 // return CopyCursorIcon(hnd,type, desiredx, desiredy, flags); 534 547 default: 535 548 dprintf(("CopyImage: Unsupported type"));
Note:
See TracChangeset
for help on using the changeset viewer.