Changeset 2265 for trunk/src


Ignore:
Timestamp:
Dec 30, 1999, 12:20:34 PM (26 years ago)
Author:
sandervl
Message:

Load entire bitmap into memory for LoadBitmapA (file)

Location:
trunk/src/user32
Files:
2 edited

Legend:

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

    r1749 r2265  
    1 /* $Id: loadres.cpp,v 1.16 1999-11-14 23:29:25 sandervl Exp $ */
     1/* $Id: loadres.cpp,v 1.17 1999-12-30 11:20:34 sandervl Exp $ */
    22
    33/*
     
    316316    else
    317317    {
    318         hMapping = VIRTUAL_MapFileA( lpszName, (LPVOID *)&ptr);
     318        hMapping = VIRTUAL_MapFileA( lpszName, (LPVOID *)&ptr, TRUE);
    319319        if (hMapping == INVALID_HANDLE_VALUE) return 0;
    320320        info = (BITMAPINFO *)(ptr + sizeof(BITMAPFILEHEADER));
  • trunk/src/user32/win32wbase.cpp

    r2261 r2265  
    1 /* $Id: win32wbase.cpp,v 1.126 1999-12-30 09:31:02 sandervl Exp $ */
     1/* $Id: win32wbase.cpp,v 1.127 1999-12-30 11:20:34 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    23062306
    23072307    dprintf (("SetWindowPos %x %x (%d,%d)(%d,%d) %x", Win32Hwnd, hwndInsertAfter, x, y, cx, cy, fuFlags));
     2308    if(cx < -10000) {
     2309        rc = TRUE;
     2310    }
    23082311
    23092312    if (fuFlags &
Note: See TracChangeset for help on using the changeset viewer.