Release 951212
[wine/multimedia.git] / include / winpos.h
blob56cabb7f78044638a6165797786a36e81bb5a5f4
1 /*
2 * *DeferWindowPos() structure and definitions
4 * Copyright 1994 Alexandre Julliard
5 */
7 #ifndef WINPOS_H
8 #define WINPOS_H
10 #define DWP_MAGIC 0x5057 /* 'WP' */
12 typedef struct
14 WORD actualCount;
15 WORD suggestedCount;
16 WORD valid;
17 WORD wMagic;
18 HWND hwndParent;
19 WINDOWPOS winPos[1];
20 } DWP;
22 typedef struct
24 HTASK hWindowTask;
25 HTASK hTaskSendTo;
26 BOOL wFlag;
27 } ACTIVATESTRUCT, *LPACTIVATESTRUCT;
29 extern void WINPOS_FindIconPos( HWND hwnd );
30 extern BOOL WINPOS_SetActiveWindow( HWND hWnd, BOOL fMouse, BOOL fChangeFocus);
31 extern HWND WINPOS_ChangeActiveWindow( HWND hwnd, BOOL mouseMsg );
32 extern LONG WINPOS_SendNCCalcSize( HWND hwnd, BOOL calcValidRect,
33 RECT *newWindowRect, RECT *oldWindowRect,
34 RECT *oldClientRect, WINDOWPOS *winpos,
35 RECT *newClientRect );
36 extern LONG WINPOS_HandleWindowPosChanging( WINDOWPOS *winpos );
38 #endif /* WINPOS_H */