From c3793625296031bdc25aca5c7bee69292545f985 Mon Sep 17 00:00:00 2001 From: marco Date: Thu, 19 Nov 2015 14:12:10 +0000 Subject: [PATCH] * wince has its own struct. Fix it in same way as win/wininc/struct.inc git-svn-id: trunk@32362 - --- rtl/wince/wininc/struct.inc | 42 +++++++++---------------------------- 1 file changed, 10 insertions(+), 32 deletions(-) diff --git a/rtl/wince/wininc/struct.inc b/rtl/wince/wininc/struct.inc index 9c8cb9af1a..7e60ca68c2 100644 --- a/rtl/wince/wininc/struct.inc +++ b/rtl/wince/wininc/struct.inc @@ -53,7 +53,7 @@ {$ifdef read_interface} type - + {$i typshrdh.inc} { WARNING the variable argument list is not implemented for FPC @@ -265,26 +265,14 @@ TANIMATIONINFO = ANIMATIONINFO; PANIMATIONINFO = ^ANIMATIONINFO; - POINT = record - x : LONG; - y : LONG; - end; - LPPOINT = ^POINT; - tagPOINT = POINT; - TPOINT = POINT; - PPOINT = ^POINT; + POINT = TPOINT; + LPPOINT = PPOINT; + tagPOINT = TPOINT; - RECT = record - case Integer of - 0: (Left,Top,Right,Bottom : Longint); - 1: (TopLeft,BottomRight : TPoint); - end; - LPRECT = ^RECT; - LPCRECT = ^RECT; + RECT = TRect; + LPRECT = PRECT; _RECT = RECT; - TRECT = RECT; - PRECT = ^RECT; - tagRECT = RECT; //+windef + LPRCECT = PRECT; RECTL = record left : LONG; @@ -539,12 +527,6 @@ TPOINTL = POINTL; PPOINTL = ^POINTL; - TSmallPoint = record - X, - Y : SmallInt; - end; - - POINTS = record x : SHORT; y : SHORT; @@ -3245,14 +3227,9 @@ TEMRFORMAT = EMRFORMAT; PEMRFORMAT = ^EMRFORMAT; - SIZE = record - cx : LONG; - cy : LONG; - end; - LPSIZE = ^SIZE; + SIZE = TSize; + LPSIZE = PSIZE; tagSIZE = SIZE; - TSIZE = SIZE; - PSIZE = ^SIZE; SIZEL = SIZE; //windef TSIZEL = SIZE; //windef @@ -8234,5 +8211,6 @@ type a.flag0:=a.flag0 or ((__fAckReq shl bp_DDEUP_fAckReq) and bm_DDEUP_fAckReq); end; + {$i typshrd.inc} {$endif read_implementation}