IErrorInfo is now derived from IUnknown.
[wine] / include / wine / winsock16.h
1 #ifndef __WINE_WINE_WINSOCK16_H
2 #define __WINE_WINE_WINSOCK16_H
3
4 #include "windef.h"
5 #include "pshpack1.h"
6
7 /* ws_hostent16, ws_protoent16, ws_servent16, ws_netent16
8  * are 1-byte aligned here ! */
9 typedef struct ws_hostent16
10 {
11         SEGPTR  h_name;         /* official name of host */
12         SEGPTR  h_aliases;      /* alias list */
13         INT16   h_addrtype;     /* host address type */
14         INT16   h_length;       /* length of address */
15         SEGPTR  h_addr_list;    /* list of addresses from name server */
16 } _ws_hostent16;
17
18 typedef struct ws_protoent16
19 {
20         SEGPTR  p_name;         /* official protocol name */
21         SEGPTR  p_aliases;      /* alias list */
22         INT16   p_proto;        /* protocol # */
23 } _ws_protoent16;
24
25 typedef struct ws_servent16
26 {
27         SEGPTR  s_name;         /* official service name */
28         SEGPTR  s_aliases;      /* alias list */
29         INT16   s_port;         /* port # */
30         SEGPTR  s_proto;        /* protocol to use */
31 } _ws_servent16;
32
33 typedef struct ws_netent16
34 {
35         SEGPTR  n_name;         /* official name of net */
36         SEGPTR  n_aliases;      /* alias list */
37         INT16   n_addrtype;     /* net address type */
38         INT     n_net;          /* network # */
39 } _ws_netent16;
40
41 #include "poppack.h"
42
43 #endif /* __WINE_WINE_WINSOCK16_H */