Fixed play back of uncompressed AVI file.
[wine.git] / include / winpos.h
blobc5c53001930ffa14908dfa37a3b52c7b48b62800
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 ((INT)('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 /* Wine extra SWP flag */
19 #define SWP_WINE_NOHOSTMOVE 0x80000000
21 struct tagWINDOWPOS16;
23 typedef struct
25 INT actualCount;
26 INT suggestedCount;
27 BOOL valid;
28 INT wMagic;
29 HWND hwndParent;
30 WINDOWPOS winPos[1];
31 } DWP;
33 extern BOOL WINPOS_RedrawIconTitle( HWND hWnd );
34 extern BOOL WINPOS_ShowIconTitle( WND* pWnd, BOOL bShow );
35 extern void WINPOS_GetMinMaxInfo( WND* pWnd, POINT *maxSize,
36 POINT *maxPos, POINT *minTrack,
37 POINT *maxTrack );
38 extern UINT WINPOS_MinMaximize( WND* pWnd, UINT16 cmd, LPRECT16 lpPos);
39 extern BOOL WINPOS_SetActiveWindow( HWND hWnd, BOOL fMouse,
40 BOOL fChangeFocus );
41 extern BOOL WINPOS_ChangeActiveWindow( HWND hwnd, BOOL mouseMsg );
42 extern LONG WINPOS_SendNCCalcSize(HWND hwnd, BOOL calcValidRect,
43 RECT *newWindowRect, RECT *oldWindowRect,
44 RECT *oldClientRect, WINDOWPOS *winpos,
45 RECT *newClientRect );
46 extern LONG WINPOS_HandleWindowPosChanging16(WND *wndPtr, struct tagWINDOWPOS16 *winpos);
47 extern LONG WINPOS_HandleWindowPosChanging(WND *wndPtr, WINDOWPOS *winpos);
48 extern INT16 WINPOS_WindowFromPoint( WND* scopeWnd, POINT16 pt, WND **ppWnd );
49 extern void WINPOS_CheckInternalPos( WND* wndPtr );
50 extern BOOL WINPOS_ActivateOtherWindow(WND* pWnd);
51 extern BOOL WINPOS_CreateInternalPosAtom(void);
53 #endif /* __WINE_WINPOS_H */