Changeset 3679 for trunk/src/user32/dc.h


Ignore:
Timestamp:
Jun 8, 2000, 8:10:12 PM (25 years ago)
Author:
sandervl
Message:

lots of fixes + changes (see ChangeLog)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/dc.h

    r3662 r3679  
    1 /* $Id: dc.h,v 1.13 2000-06-07 14:51:25 sandervl Exp $ */
     1/* $Id: dc.h,v 1.14 2000-06-08 18:10:09 sandervl Exp $ */
    22/*
    33 * public dc functions
     
    463463}
    464464
     465int APIENTRY _O32_ExcludeClipRect(HDC a, int b, int c, int d, int e);
     466
     467inline int O32_ExcludeClipRect(HDC a, int b, int c, int d, int e)
     468{
     469 int yyrc;
     470 USHORT sel = RestoreOS2FS();
     471
     472    yyrc = _O32_ExcludeClipRect(a, b, c, d, e);
     473    SetFS(sel);
     474
     475    return yyrc;
     476}
     477
     478int APIENTRY _O32_IntersectClipRect(HDC a, int b, int c, int d, int e);
     479
     480inline int O32_IntersectClipRect(HDC a, int b, int c, int d, int e)
     481{
     482 int yyrc;
     483 USHORT sel = RestoreOS2FS();
     484
     485    yyrc = _O32_IntersectClipRect(a, b, c, d, e);
     486    SetFS(sel);
     487
     488    return yyrc;
     489}
     490
     491int APIENTRY _O32_ExtSelectClipRgn(HDC a, HRGN b, int c);
     492
     493inline int O32_ExtSelectClipRgn(HDC a, HRGN b, int c)
     494{
     495 int yyrc;
     496 USHORT sel = RestoreOS2FS();
     497
     498    yyrc = _O32_ExtSelectClipRgn(a, b, c);
     499    SetFS(sel);
     500
     501    return yyrc;
     502}
     503
     504int APIENTRY _O32_OffsetClipRgn(HDC a, int b, int c);
     505
     506inline int O32_OffsetClipRgn(HDC a, int b, int c)
     507{
     508 int yyrc;
     509 USHORT sel = RestoreOS2FS();
     510
     511    yyrc = _O32_OffsetClipRgn(a, b, c);
     512    SetFS(sel);
     513
     514    return yyrc;
     515}
     516
    465517   // from pmddi.h:
    466518   /* CopyClipRegion */
Note: See TracChangeset for help on using the changeset viewer.