- stubs for SHLWAPI.295 (create a URL shortcut ?) and SHLWAPI.394
[wine/multimedia.git] / include / nspapi.h
blob92e81a1503873e6694944682e605b2e0305ae8d8
1 /* NSPAPI.H -- winsock 1.1
2 * not supported on win95
4 * Copyright (C) 2001 Stefan Leichter
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_NSPAPI_
22 #define _WINE_NSPAPI_
24 #include "windef.h"
26 #ifdef __cplusplus
27 extern "C" {
28 #endif /* defined(__cplusplus) */
30 * constants
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
48 * structures
50 typedef struct _PROTOCOL_INFOA
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;
62 typedef struct _PROTOCOL_INFOW
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;
76 * function prototypes
81 #ifdef __cplusplus
82 } /* extern "C" */
83 #endif /* defined(__cplusplus) */
85 #endif /* _WINE_NSPAPI_ */