Changed initial process creation to avoid memory allocations.
[wine/multimedia.git] / include / winpos.h
blob5cd0116caf575518d7fe469a9a22f319e8fcab64
1 /*
2 * *DeferWindowPos() structure and definitions
4 * Copyright 1994 Alexandre Julliard
5 */
7 #ifndef __WINE_WINPOS_H
8 #define __WINE_WINPOS_H
10 #include "win.h"
11 #include "wine/winuser16.h" /* for WINDOWPOS16 */
13 #define DWP_MAGIC ((INT32)('W' | ('P' << 8) | ('O' << 16) | ('S' << 24)))
15 /* undocumented SWP flags - from SDK 3.1 */
16 #define SWP_NOCLIENTSIZE 0x0800
17 #define SWP_NOCLIENTMOVE 0x1000
19 typedef struct
21 INT32 actualCount;
22 INT32 suggestedCount;
23 BOOL32 valid;
24 INT32 wMagic;
25 HWND32 hwndParent;
26 WINDOWPOS32 winPos[1];
27 } DWP;
29 extern BOOL32 WINPOS_RedrawIconTitle( HWND32 hWnd );
30 extern BOOL32 WINPOS_ShowIconTitle( WND* pWnd, BOOL32 bShow );
31 extern void WINPOS_GetMinMaxInfo( WND* pWnd, POINT32 *maxSize,
32 POINT32 *maxPos, POINT32 *minTrack,
33 POINT32 *maxTrack );
34 extern UINT16 WINPOS_MinMaximize( WND* pWnd, UINT16 cmd, LPRECT16 lpPos);
35 extern BOOL32 WINPOS_SetActiveWindow( HWND32 hWnd, BOOL32 fMouse,
36 BOOL32 fChangeFocus );
37 extern BOOL32 WINPOS_ChangeActiveWindow( HWND32 hwnd, BOOL32 mouseMsg );
38 extern LONG WINPOS_SendNCCalcSize(HWND32 hwnd, BOOL32 calcValidRect,
39 RECT32 *newWindowRect, RECT32 *oldWindowRect,
40 RECT32 *oldClientRect, WINDOWPOS32 *winpos,
41 RECT32 *newClientRect );
42 extern LONG WINPOS_HandleWindowPosChanging16(WND *wndPtr, WINDOWPOS16 *winpos);
43 extern LONG WINPOS_HandleWindowPosChanging32(WND *wndPtr, WINDOWPOS32 *winpos);
44 extern INT16 WINPOS_WindowFromPoint( WND* scopeWnd, POINT16 pt, WND **ppWnd );
45 extern void WINPOS_CheckInternalPos( WND* wndPtr );
46 extern BOOL32 WINPOS_ActivateOtherWindow(WND* pWnd);
47 extern BOOL32 WINPOS_CreateInternalPosAtom(void);
49 #endif /* __WINE_WINPOS_H */