ole2disp.dll16: Implement SafeArrayGet[UBound|LBound].
[wine.git] / include / wsnwlink.h
blobf237f0d1de5f935ef0be772ad4b31081abec1c80
1 /*
2 * Copyright (C) 2003,2004 Roderick Colenbrander
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef _WSNWLINK_
20 #define _WSNWLINK_
22 #ifdef USE_WS_PREFIX
23 #define WS(x) WS_##x
24 #else
25 #define WS(x) x
26 #endif
28 #ifndef USE_WS_PREFIX
29 #define IPX_PTYPE 0x4000
30 #define IPX_FILTERPTYPE 0x4001
31 #define IPX_DSTYPE 0x4002
32 #define IPX_STOPFILTERPTYPE 0x4003
33 #define IPX_EXTENDED_ADDRESS 0x4004
34 #define IPX_RECVHDR 0x4005
35 #define IPX_MAXSIZE 0x4006
36 #define IPX_ADDRESS 0x4007
37 #define IPX_GETNETINFO 0x4008
38 #define IPX_GETNETINFO_NORIP 0x4009
39 #define IPX_SPXGETCONNECTIONSTATUS 0x400b
40 #define IPX_ADDRESS_NOTIFY 0x400c
41 #define IPX_MAX_ADAPTER_NUM 0x400d
42 #define IPX_RERIPNETNUMBER 0x400e
43 #define IPX_RECEIVE_BROADCAST 0x400f
44 #define IPX_IMMEDIATESPXACK 0x4010
45 #else
46 #define WS_IPX_PTYPE 0x4000
47 #define WS_IPX_FILTERPTYPE 0x4001
48 #define WS_IPX_DSTYPE 0x4002
49 #define WS_IPX_STOPFILTERPTYPE 0x4003
50 #define WS_IPX_EXTENDED_ADDRESS 0x4004
51 #define WS_IPX_RECVHDR 0x4005
52 #define WS_IPX_MAXSIZE 0x4006
53 #define WS_IPX_ADDRESS 0x4007
54 #define WS_IPX_GETNETINFO 0x4008
55 #define WS_IPX_GETNETINFO_NORIP 0x4009
56 #define WS_IPX_SPXGETCONNECTIONSTATUS 0x400b
57 #define WS_IPX_ADDRESS_NOTIFY 0x400c
58 #define WS_IPX_MAX_ADAPTER_NUM 0x400d
59 #define WS_IPX_RERIPNETNUMBER 0x400e
60 #define WS_IPX_RECEIVE_BROADCAST 0x400f
61 #define WS_IPX_IMMEDIATESPXACK 0x4010
62 #endif /* USE_WS_PREFIX */
64 typedef struct _IPX_ADDRESS_DATA {
65 INT adapternum;
66 UCHAR netnum[4];
67 UCHAR nodenum[6];
68 BOOLEAN wan;
69 BOOLEAN status;
70 INT maxpkt;
71 ULONG linkspeed;
72 } IPX_ADDRESS_DATA, *PIPX_ADDRESS_DATA;
74 #endif /* _WSNWLINK_ */