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


Ignore:
Timestamp:
Jun 1, 2000, 1:27:57 PM (25 years ago)
Author:
sandervl
Message:

Moved GetClipRgn & GetClipBox into user32 (dc.cpp)

File:
1 edited

Legend:

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

    r2582 r3641  
    1 /* $Id: dc.h,v 1.11 2000-01-31 22:30:51 sandervl Exp $ */
     1/* $Id: dc.h,v 1.12 2000-06-01 11:27:57 sandervl Exp $ */
    22/*
    33 * public dc functions
     
    438438
    439439
     440int       APIENTRY _O32_GetClipRgn( HDC, HRGN );
     441
     442inline int O32_GetClipRgn(HDC a, HRGN b)
     443{
     444 int yyrc;
     445 USHORT sel = RestoreOS2FS();
     446
     447    yyrc = _O32_GetClipRgn(a, b);
     448    SetFS(sel);
     449
     450    return yyrc;
     451}
     452
     453int       OPEN32API _O32_GetClipBox( HDC, PRECT );
     454
     455inline int O32_GetClipBox(HDC a, PRECT b)
     456{
     457 int yyrc;
     458 USHORT sel = RestoreOS2FS();
     459
     460    yyrc = _O32_GetClipBox(a, b);
     461    SetFS(sel);
     462
     463    return yyrc;
     464}
     465
    440466   // from pmddi.h:
    441467   /* CopyClipRegion */
Note: See TracChangeset for help on using the changeset viewer.