Release 950319
[wine] / include / winpos.h
1 /*
2  * *DeferWindowPos() structure and definitions
3  *
4  * Copyright 1994 Alexandre Julliard
5  */
6
7 #ifndef WINPOS_H
8 #define WINPOS_H
9
10 #define DWP_MAGIC  0x5057  /* 'WP' */
11
12 typedef struct
13 {
14     WORD        actualCount;
15     WORD        suggestedCount;
16     WORD        valid;
17     WORD        wMagic;
18     HWND        hwndParent;
19     WINDOWPOS   winPos[1];
20 } DWP;
21
22
23 extern HWND WINPOS_NextWindowFromPoint( HWND hwnd, POINT pt );
24 extern HWND WINPOS_ChangeActiveWindow( HWND hwnd, BOOL mouseMsg );
25 extern LONG WINPOS_SendNCCalcSize( HWND hwnd, BOOL calcValidRect,
26                                    RECT *newWindowRect, RECT *oldWindowRect,
27                                    RECT *oldClientRect, WINDOWPOS *winpos,
28                                    RECT *newClientRect );
29 extern LONG WINPOS_HandleWindowPosChanging( WINDOWPOS *winpos );
30
31 #endif  /* WINPOS_H */