Ignore:
Timestamp:
Nov 15, 1999, 12:29:25 AM (26 years ago)
Author:
sandervl
Message:

GetIconInfo hack

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/loadres.cpp

    r1667 r1749  
    1 /* $Id: loadres.cpp,v 1.15 1999-11-09 17:07:21 cbratschi Exp $ */
     1/* $Id: loadres.cpp,v 1.16 1999-11-14 23:29:25 sandervl Exp $ */
    22
    33/*
     
    66 * Copyright 1998 Sander van Leeuwen
    77 *
    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):
    99 *
    1010 * Copyright 1993 Alexandre Julliard
     11 *           1993 Robert J. Amstadt
     12 *           1996 Martin Von Loewis
     13 *           1997 Alex Korobka
     14 *           1998 Turchanov Sergey
    1115 *           1998 Huw D M Davies
    12  *           1993 Robert J. Amstadt
    1316 *
    1417 * Project Odin Software License can be found in LICENSE.TXT
     
    2427#include "dib.h"
    2528#include "initterm.h"
     29#include <win\cursoricon.h>
    2630
    2731//******************************************************************************
     
    8993    delete winres;
    9094
     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
    91102    dprintf(("LoadStringW from %X, id %d buffersize %d\n", hinst, wID, cchBuffer));
     103#endif
    92104    return(i);
    93105}
     
    529541//              return BITMAP_CopyBitmap(hnd);
    530542        case IMAGE_ICON:
    531                 return CopyIcon(hnd);
     543                return CopyIcon(hnd);
    532544        case IMAGE_CURSOR:
    533                 return CopyCursor(hnd);
     545                return CopyCursor(hnd);
     546//              return CopyCursorIcon(hnd,type, desiredx, desiredy, flags);
    534547        default:
    535548                dprintf(("CopyImage: Unsupported type"));
Note: See TracChangeset for help on using the changeset viewer.