SHGetSetSettings has now the right signature and the expected behavior
[wine] / include / nspapi.h
1 /* NSPAPI.H -- winsock 1.1
2  * not supported on win95
3  *
4  * Copyright (C) 2001 Stefan Leichter
5  *
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.
10  *
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.
15  *
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
19  */
20
21 #ifndef _WINE_NSPAPI_
22 #define _WINE_NSPAPI_
23
24 #include "windef.h"
25
26 #ifdef __cplusplus
27 extern "C" {
28 #endif /* defined(__cplusplus) */
29 /*
30  * constants
31  */
32 #define XP_CONNECTIONLESS               0x00000001
33 #define XP_GUARANTEED_DELIVERY          0x00000002
34 #define XP_GUARANTEED_ORDER             0x00000004
35 #define XP_MESSAGE_ORIENTED             0x00000008
36 #define XP_PSEUDO_STREAM                0x00000010
37 #define XP_GRACEFUL_CLOSE               0x00000020
38 #define XP_EXPEDITED_DATA               0x00000040
39 #define XP_CONNECT_DATA                 0x00000080
40 #define XP_DISCONNECT_DATA              0x00000100
41 #define XP_SUPPORTS_BROADCAST           0x00000200
42 #define XP_SUPPORTS_MULTICAST           0x00000400
43 #define XP_BANDWITH_ALLOCATION          0x00000800
44 #define XP_FRAGMENTATION                0x00001000
45 #define XP_ENCRYPTS                     0x00002000
46
47 /*
48  * structures
49  */
50 typedef  struct _PROTOCOL_INFOA
51 {
52          DWORD   dwServiceFlags;
53          INT     iAddressFamily;
54          INT     iMaxSockAddr;
55          INT     iMinSockAddr;
56          INT     iSocketType;
57          INT     iProtocol;
58          DWORD   dwMessageSize;
59          LPSTR   lpProtocol;
60 } PROTOCOL_INFOA;
61
62 typedef  struct _PROTOCOL_INFOW
63 {
64          DWORD   dwServiceFlags;
65          INT     iAddressFamily;
66          INT     iMaxSockAddr;
67          INT     iMinSockAddr;
68          INT     iSocketType;
69          INT     iProtocol;
70          DWORD   dwMessageSize;
71          LPWSTR  lpProtocol;
72 } PROTOCOL_INFOW;
73
74
75 /*
76  * function prototypes
77  */
78
79
80
81 #ifdef __cplusplus
82 }      /* extern "C" */
83 #endif /* defined(__cplusplus) */
84
85 #endif /* _WINE_NSPAPI_ */