Take into account some alignment done by HeapAlloc() on Win9x.
[wine.git] / include / winpos.h
blob27a950cbd635b96e1f6624bb786e200f12c3ba20
1 /*
2 * *DeferWindowPos() structure and definitions
4 * Copyright 1994 Alexandre Julliard
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 #ifndef __WINE_WINPOS_H
22 #define __WINE_WINPOS_H
24 #include <stdarg.h>
25 #include <windef.h>
26 #include <winbase.h>
27 #include <wingdi.h>
28 #include <winuser.h>
30 /* undocumented SWP flags - from SDK 3.1 */
31 #define SWP_NOCLIENTSIZE 0x0800
32 #define SWP_NOCLIENTMOVE 0x1000
34 /* Wine extra SWP flag */
35 #define SWP_WINE_NOHOSTMOVE 0x80000000
37 extern BOOL WINPOS_RedrawIconTitle( HWND hWnd );
38 extern BOOL WINPOS_ShowIconTitle( HWND hwnd, BOOL bShow );
39 extern void WINPOS_GetMinMaxInfo( HWND hwnd, POINT *maxSize, POINT *maxPos, POINT *minTrack,
40 POINT *maxTrack );
41 extern LONG WINPOS_HandleWindowPosChanging(HWND hwnd, WINDOWPOS *winpos);
42 extern HWND WINPOS_WindowFromPoint( HWND hwndScope, POINT pt, INT *hittest );
43 extern void WINPOS_CheckInternalPos( HWND hwnd );
44 extern void WINPOS_ActivateOtherWindow( HWND hwnd );
46 #endif /* __WINE_WINPOS_H */