Ignore:
Timestamp:
Nov 24, 1999, 8:30:18 PM (26 years ago)
Author:
sandervl
Message:

EB's dibsection updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gdi32/gdi32.cpp

    r1703 r1830  
    1 /* $Id: gdi32.cpp,v 1.16 1999-11-11 13:16:40 sandervl Exp $ */
     1/* $Id: gdi32.cpp,v 1.17 1999-11-24 19:30:18 sandervl Exp $ */
    22
    33/*
     
    19031903int WIN32API SetDIBits( HDC arg1, HBITMAP arg2, UINT arg3, UINT arg4, const VOID * arg5, const BITMAPINFO * arg6, UINT  arg7)
    19041904{
    1905     dprintf(("GDI32: SetDIBits\n"));
     1905    dprintf(("GDI32: SetDIBits %x %x %x %x %x %x %x\n", arg1, arg2, arg3, arg4, arg5, arg6, arg7));
     1906
     1907    if(DIBSection::getSection() != NULL) {
     1908        DIBSection *dsect;
     1909
     1910        dsect = DIBSection::find((DWORD)arg2);
     1911        if(dsect) {
     1912           return dsect->SetDIBits(arg1, arg2, arg3, arg4, arg5, (WINBITMAPINFOHEADER *)&arg6->bmiHeader, arg7);
     1913        }
     1914    }
    19061915    return O32_SetDIBits(arg1, arg2, arg3, arg4, arg5, arg6, arg7);
    19071916}
Note: See TracChangeset for help on using the changeset viewer.