Changeset 3728 for trunk/include/os2wrap.h
- Timestamp:
- Jun 17, 2000, 2:31:55 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/os2wrap.h
r2982 r3728 1 /* $Id: os2wrap.h,v 1.1 4 2000-03-03 11:14:22sandervl Exp $ */1 /* $Id: os2wrap.h,v 1.15 2000-06-17 12:31:55 sandervl Exp $ */ 2 2 #ifndef __OS2WRAP_H__ 3 3 #define __OS2WRAP_H__ … … 7512 7512 } 7513 7513 7514 inline HRGN _GpiCreatePolygonRegion(HPS a, ULONG b, PPOLYGON c, ULONG d) 7515 { 7516 HRGN yyrc; 7517 USHORT sel = RestoreOS2FS(); 7518 7519 yyrc = GpiCreatePolygonRegion(a, b, c, d); 7520 SetFS(sel); 7521 7522 return yyrc; 7523 } 7524 7525 #undef GpiCreatePolygonRegion 7526 #define GpiCreatePolygonRegion _GpiCreatePolygonRegion 7527 7528 inline HRGN _GpiCreateEllipticRegion(HPS a, PRECTL b) 7529 { 7530 HRGN yyrc; 7531 USHORT sel = RestoreOS2FS(); 7532 7533 yyrc = GpiCreateEllipticRegion(a, b); 7534 SetFS(sel); 7535 7536 return yyrc; 7537 } 7538 7539 #undef GpiCreateEllipticRegion 7540 #define GpiCreateEllipticRegion _GpiCreateEllipticRegion 7541 7542 inline HRGN _GpiCreateRoundRectRegion(HPS a, PPOINTL b, LONG c, LONG d) 7543 { 7544 HRGN yyrc; 7545 USHORT sel = RestoreOS2FS(); 7546 7547 yyrc = GpiCreateRoundRectRegion(a, b, c, d); 7548 SetFS(sel); 7549 7550 return yyrc; 7551 } 7552 7553 #undef GpiCreateRoundRectRegion 7554 #define GpiCreateRoundRectRegion _GpiCreateRoundRectRegion 7555 7514 7556 #undef GpiPolygons 7515 7557 #define GpiPolygons _GpiPolygons
Note:
See TracChangeset
for help on using the changeset viewer.