Changeset 3722 for trunk/src/user32/dc.h
- Timestamp:
- Jun 17, 2000, 11:45:02 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/dc.h
r3679 r3722 1 /* $Id: dc.h,v 1.1 4 2000-06-08 18:10:09sandervl Exp $ */1 /* $Id: dc.h,v 1.15 2000-06-17 09:45:02 sandervl Exp $ */ 2 2 /* 3 3 * public dc functions … … 111 111 #define RDW_FRAME_W 0x0400 112 112 #define RDW_NOFRAME_W 0x0800 113 114 typedef struct _RGNDATAHEADER_W {115 DWORD dwSize;116 DWORD iType;117 DWORD nCount;118 DWORD nRgnSize;119 RECT rcBound;120 } RGNDATAHEADER_W, *LPRGNDATAHEADER_W;121 122 typedef struct _RGNDATA_W {123 RGNDATAHEADER_W rdh;124 char Buffer[1];125 } RGNDATA_W , *PRGNDATA_W , *LPRGNDATA_W ;126 127 128 113 /* Xform FLAGS */ 129 114 #define MWT_IDENTITY_W 1 … … 257 242 } 258 243 259 ULONG OPEN32API _O32_GetRegionData (HRGN hrgn, ULONG count, PRGNDATA_W pData);260 261 inline DWORD O32_GetRegionData(HRGN a, DWORD b, PRGNDATA_W c)262 {263 DWORD yyrc;264 USHORT sel = RestoreOS2FS();265 266 yyrc = _O32_GetRegionData(a, b, c);267 SetFS(sel);268 269 return yyrc;270 }271 244 272 245 BOOL OPEN32API _O32_DeleteObject (LHANDLE hgdiobj); … … 304 277 _O32_SetLastError(a); 305 278 SetFS(sel); 306 }307 308 BOOL OPEN32API _O32_SetRectRgn (HRGN dest, int left, int top, int right, int bottom);309 310 inline BOOL O32_SetRectRgn(HRGN a, int b, int c, int d, int e)311 {312 BOOL yyrc;313 USHORT sel = RestoreOS2FS();314 315 yyrc = _O32_SetRectRgn(a, b, c, d, e);316 SetFS(sel);317 318 return yyrc;319 }320 321 int OPEN32API _O32_CombineRgn (HRGN dest, HRGN src1, HRGN src2, int mode);322 323 inline int O32_CombineRgn(HRGN a, HRGN b, HRGN c, int d)324 {325 int yyrc;326 USHORT sel = RestoreOS2FS();327 328 yyrc = _O32_CombineRgn(a, b, c, d);329 SetFS(sel);330 331 return yyrc;332 }333 334 HRGN OPEN32API _O32_CreateRectRgn (int left, int top, int right, int bottom);335 336 inline HRGN O32_CreateRectRgn(int a, int b, int c, int d)337 {338 HRGN yyrc;339 USHORT sel = RestoreOS2FS();340 341 yyrc = _O32_CreateRectRgn(a, b, c, d);342 SetFS(sel);343 344 return yyrc;345 279 } 346 280
Note:
See TracChangeset
for help on using the changeset viewer.