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