Ignore:
Timestamp:
Jun 12, 2001, 7:02:42 PM (24 years ago)
Author:
sandervl
Message:

FillRect & CS_CLASSDC fixes; use critical secions for hooks

File:
1 edited

Legend:

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

    r5951 r5973  
    1 /* $Id: user32.cpp,v 1.99 2001-06-10 12:05:40 sandervl Exp $ */
     1/* $Id: user32.cpp,v 1.100 2001-06-12 17:02:36 sandervl Exp $ */
    22
    33/*
     
    14261426/* Filled Shape Functions */
    14271427
     1428  /* Last COLOR id */
     1429#define COLOR_MAX   COLOR_GRADIENTINACTIVECAPTION
    14281430
    14291431int WIN32API FillRect(HDC hDC, const RECT * lprc, HBRUSH hbr)
    14301432{
     1433    if (hbr <= (HBRUSH) (COLOR_MAX + 1)) {
     1434        hbr = GetSysColorBrush( (INT) hbr - 1 );
     1435    }
    14311436    dprintf(("USER32:  FillRect %x (%d,%d)(%d,%d) brush %X", hDC, lprc->left, lprc->top, lprc->right, lprc->bottom, hbr));
    14321437    return O32_FillRect(hDC,lprc,hbr);
Note: See TracChangeset for help on using the changeset viewer.