2 * Win32 relay functions
3 * The implementations here perform only parameter conversions, and
4 * call the Win16 counterparts
6 * Copyright 1996 Martin von Loewis
16 void PARAM32_POINT32to16(const POINT32
* p32
,POINT
* p16
)
22 void PARAM32_SIZE16to32(const SIZE
* p16
, SIZE32
* p32
)
29 /****************************************************************
30 * MoveToEx (GDI32.254)
32 BOOL
WIN32_MoveToEx(HDC hdc
,int x
,int y
,POINT32
* p32
)
36 return MoveToEx(hdc
,x
,y
,(POINT
*)NULL
);
38 PARAM32_POINT32to16(p32
,&p
);
39 return MoveToEx(hdc
,x
,y
,&p
);
43 BOOL
WIN32_GetTextExtentPointA(HDC hdc
, LPCTSTR str
, int length
, SIZE32
* lpsize
)
49 retval
= GetTextExtentPoint(hdc
, str
, length
, &s
);
50 PARAM32_SIZE16to32(&s
, lpsize
);