Top level windows with 0 width or height are created with a size of 1x1 in
[wine] / include / struct32.h
1 /* Structure definitions for Win32 -- used only internally */
2 #ifndef __WINE_STRUCT32_H
3 #define __WINE_STRUCT32_H
4
5 #include "winbase.h"
6 #include "windef.h"
7 #include "wingdi.h"
8 #include "wine/winuser16.h"
9
10 extern void STRUCT32_MINMAXINFO32to16( const MINMAXINFO*, MINMAXINFO16* );
11 extern void STRUCT32_MINMAXINFO16to32( const MINMAXINFO16*, MINMAXINFO* );
12 extern void STRUCT32_WINDOWPOS32to16( const WINDOWPOS*, WINDOWPOS16* );
13 extern void STRUCT32_WINDOWPOS16to32( const WINDOWPOS16*, WINDOWPOS* );
14 extern void STRUCT32_NCCALCSIZE32to16Flat( const NCCALCSIZE_PARAMS *from,
15                                            NCCALCSIZE_PARAMS16 *to,
16                                            int validRects );
17 extern void STRUCT32_NCCALCSIZE16to32Flat( const NCCALCSIZE_PARAMS16* from,
18                                            NCCALCSIZE_PARAMS* to,
19                                            int validRects );
20
21 void STRUCT32_MSG16to32(const MSG16 *msg16,MSG *msg32);
22 void STRUCT32_MSG32to16(const MSG *msg32,MSG16 *msg16);
23
24 void STRUCT32_CREATESTRUCT32Ato16(const CREATESTRUCTA*,CREATESTRUCT16*);
25 void STRUCT32_CREATESTRUCT16to32A(const CREATESTRUCT16*,CREATESTRUCTA*);
26 void STRUCT32_MDICREATESTRUCT32Ato16( const MDICREATESTRUCTA*,
27                                       MDICREATESTRUCT16*);
28 void STRUCT32_MDICREATESTRUCT16to32A( const MDICREATESTRUCT16*,
29                                       MDICREATESTRUCTA*);
30 #endif  /* __WINE_STRUCT32_H */