Check for NULL before doing IsEqualGUID() in
[wine/multimedia.git] / include / winpos.h
blob3669d63a7c10e0753d5cd5ae6f008dc374f59e33
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 struct tagWINDOWPOS16;
39 extern BOOL WINPOS_RedrawIconTitle( HWND hWnd );
40 extern BOOL WINPOS_ShowIconTitle( HWND hwnd, BOOL bShow );
41 extern void WINPOS_GetMinMaxInfo( HWND hwnd, POINT *maxSize, POINT *maxPos, POINT *minTrack,
42 POINT *maxTrack );
43 extern LONG WINPOS_HandleWindowPosChanging16(HWND hwnd, struct tagWINDOWPOS16 *winpos);
44 extern LONG WINPOS_HandleWindowPosChanging(HWND hwnd, WINDOWPOS *winpos);
45 extern HWND WINPOS_WindowFromPoint( HWND hwndScope, POINT pt, INT *hittest );
46 extern void WINPOS_CheckInternalPos( HWND hwnd );
47 extern void WINPOS_ActivateOtherWindow( HWND hwnd );
48 extern BOOL WINPOS_CreateInternalPosAtom(void);
50 #endif /* __WINE_WINPOS_H */