Imported Upstream version 1.15.1
[deb_xorg-server.git] / hw / xwin / winms.h
CommitLineData
a09e091a
JB
1#ifndef _WINMS_H_
2#define _WINMS_H_
3/*
4 *Copyright (C) 2001-2004 Harold L Hunt II All Rights Reserved.
5 *
6 *Permission is hereby granted, free of charge, to any person obtaining
7 * a copy of this software and associated documentation files (the
8 *"Software"), to deal in the Software without restriction, including
9 *without limitation the rights to use, copy, modify, merge, publish,
10 *distribute, sublicense, and/or sell copies of the Software, and to
11 *permit persons to whom the Software is furnished to do so, subject to
12 *the following conditions:
13 *
14 *The above copyright notice and this permission notice shall be
15 *included in all copies or substantial portions of the Software.
16 *
17 *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
18 *EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19 *MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
20 *NONINFRINGEMENT. IN NO EVENT SHALL HAROLD L HUNT II BE LIABLE FOR
21 *ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
22 *CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
23 *WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24 *
25 *Except as contained in this notice, the name of Harold L Hunt II
26 *shall not be used in advertising or otherwise to promote the sale, use
27 *or other dealings in this Software without prior written authorization
28 *from Harold L Hunt II.
29 *
30 * Authors: Harold L Hunt II
31 */
32
33#define DIRECTDRAW_VERSION 0x0300
34#ifndef WIN32_LEAN_AND_MEAN
35#define WIN32_LEAN_AND_MEAN
36#endif
37#ifndef WINVER
38#define WINVER 0x0500
39#endif
40
41#include <X11/Xwindows.h>
42#include <windowsx.h>
43
44#pragma push_macro("Status")
45#undef Status
46#define Status wStatus
47#include "ddraw.h"
48#pragma pop_macro("Status")
49
50#undef CreateWindow
51
52#endif /* _WINMS_H_ */