Added macros to header file for easier function calling.
[wine/multimedia.git] / include / winpos.h
bloba572d93228155422eaf1e9173c0c069df073a4ae
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"
12 #define DWP_MAGIC ((INT32)('W' | ('P' << 8) | ('O' << 16) | ('S' << 24)))
14 /* undocumented SWP flags - from SDK 3.1 */
15 #define SWP_NOCLIENTSIZE 0x0800
16 #define SWP_NOCLIENTMOVE 0x1000
18 typedef struct
20 INT32 actualCount;
21 INT32 suggestedCount;
22 BOOL32 valid;
23 INT32 wMagic;
24 HWND32 hwndParent;
25 WINDOWPOS32 winPos[1];
26 } DWP;
28 extern BOOL32 WINPOS_RedrawIconTitle( HWND32 hWnd );
29 extern BOOL32 WINPOS_ShowIconTitle( WND* pWnd, BOOL32 bShow );
30 extern void WINPOS_GetMinMaxInfo( WND* pWnd, POINT32 *maxSize,
31 POINT32 *maxPos, POINT32 *minTrack,
32 POINT32 *maxTrack );
33 extern UINT16 WINPOS_MinMaximize( WND* pWnd, UINT16 cmd, LPRECT16 lpPos);
34 extern BOOL32 WINPOS_SetActiveWindow( HWND32 hWnd, BOOL32 fMouse,
35 BOOL32 fChangeFocus );
36 extern BOOL32 WINPOS_ChangeActiveWindow( HWND32 hwnd, BOOL32 mouseMsg );
37 extern LONG WINPOS_SendNCCalcSize(HWND32 hwnd, BOOL32 calcValidRect,
38 RECT32 *newWindowRect, RECT32 *oldWindowRect,
39 RECT32 *oldClientRect, WINDOWPOS32 *winpos,
40 RECT32 *newClientRect );
41 extern LONG WINPOS_HandleWindowPosChanging16(WND *wndPtr, WINDOWPOS16 *winpos);
42 extern LONG WINPOS_HandleWindowPosChanging32(WND *wndPtr, WINDOWPOS32 *winpos);
43 extern INT16 WINPOS_WindowFromPoint( WND* scopeWnd, POINT16 pt, WND **ppWnd );
44 extern void WINPOS_CheckInternalPos( HWND32 hwnd );
45 extern BOOL32 WINPOS_ActivateOtherWindow(WND* pWnd);
46 extern BOOL32 WINPOS_CreateInternalPosAtom(void);
48 #endif /* __WINE_WINPOS_H */