]> git.sesse.net Git - rdpsrv/blob - Xserver/include/Xwinsock.h
Support RDP5 logon packets.
[rdpsrv] / Xserver / include / Xwinsock.h
1 /* $XConsortium: Xwinsock.h /main/1 1996/11/13 14:43:47 lehors $ */
2 /*
3
4 Copyright (C) 1996 X Consortium
5
6 Permission is hereby granted, free of charge, to any person obtaining a
7 copy of this software and associated documentation files (the "Soft-
8 ware"), to deal in the Software without restriction, including without
9 limitation the rights to use, copy, modify, merge, publish, distribute,
10 sublicense, and/or sell copies of the Software, and to permit persons to
11 whom the Software is furnished to do so, subject to the following condi-
12 tions:
13
14 The above copyright notice and this permission notice shall be included
15 in all copies or substantial portions of the Software.
16
17 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
18 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABIL-
19 ITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT
20 SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABIL-
21 ITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
23 IN THE SOFTWARE.
24
25 Except as contained in this notice, the name of the X Consortium shall
26 not be used in advertising or otherwise to promote the sale, use or
27 other dealings in this Software without prior written authorization from
28 the X Consortium.
29
30 */
31
32 /*
33  * This header file has for sole purpose to allow to include winsock.h
34  * without getting any name conflicts with our code.
35  * Conflicts come from the fact that including winsock.h actually pulls
36  * in the whole Windows API...
37  */
38
39 #define BOOL wBOOL
40 #undef Status
41 #define Status wStatus
42 #define ATOM wATOM
43 #define FreeResource wFreeResource
44 #include <winsock.h>
45 #undef Status
46 #define Status int
47 #undef BOOL
48 #undef ATOM
49 #undef FreeResource
50 #undef CreateWindowA
51 #undef RT_FONT
52 #undef RT_CURSOR