ReactOS  0.4.15-dev-1150-g593bcce
winsock16.h File Reference
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <pshpack1.h>
#include <poppack.h>
Include dependency graph for winsock16.h:

Go to the source code of this file.

Classes

struct  ws_fd_set16
 
struct  ws_hostent16
 
struct  ws_protoent16
 
struct  ws_servent16
 
struct  ws_netent16
 
struct  WSAData16
 

Macros

#define WS_FD_CLR16(fd, set)   __WS_FD_CLR((fd),(set), ws_fd_set16)
 
#define WS_FD_SET16(fd, set)   __WS_FD_SET1((fd),(set), ws_fd_set16)
 
#define WS_FD_ZERO16(set)   (((ws_fd_set16*)(set))->fd_count=0)
 
#define WS_FD_ISSET16(fd, set)   __WSAFDIsSet16((SOCKET16)(fd), (ws_fd_set16*)(set))
 
#define INVALID_SOCKET16   ((SOCKET16)(~0))
 

Typedefs

typedef UINT16 SOCKET16
 
typedef struct ws_hostent16 _ws_hostent16
 
typedef struct ws_protoent16 _ws_protoent16
 
typedef struct ws_servent16 _ws_servent16
 
typedef struct ws_netent16 _ws_netent16
 
typedef struct WSAData16 WSADATA16
 
typedef struct WSAData16LPWSADATA16
 

Functions

INT16 WINAPI __WSAFDIsSet16 (SOCKET16, ws_fd_set16 *)
 
INT16 WINAPI WSAStartup16 (UINT16 wVersionRequired, LPWSADATA16 lpWSAData)
 
void WINAPI WSASetLastError16 (INT16 iError)
 
INT16 WINAPI WSAUnhookBlockingHook16 (void)
 
FARPROC16 WINAPI WSASetBlockingHook16 (FARPROC16 lpBlockFunc)
 
HANDLE16 WINAPI WSAAsyncGetServByName16 (HWND16 hWnd, UINT16 wMsg, LPCSTR name, LPCSTR proto, SEGPTR buf, INT16 buflen)
 
HANDLE16 WINAPI WSAAsyncGetServByPort16 (HWND16 hWnd, UINT16 wMsg, INT16 port, LPCSTR proto, SEGPTR buf, INT16 buflen)
 
HANDLE16 WINAPI WSAAsyncGetProtoByName16 (HWND16 hWnd, UINT16 wMsg, LPCSTR name, SEGPTR buf, INT16 buflen)
 
HANDLE16 WINAPI WSAAsyncGetProtoByNumber16 (HWND16 hWnd, UINT16 wMsg, INT16 number, SEGPTR buf, INT16 buflen)
 
HANDLE16 WINAPI WSAAsyncGetHostByName16 (HWND16 hWnd, UINT16 wMsg, LPCSTR name, SEGPTR buf, INT16 buflen)
 
HANDLE16 WINAPI WSAAsyncGetHostByAddr16 (HWND16 hWnd, UINT16 wMsg, LPCSTR addr, INT16 len, INT16 type, SEGPTR buf, INT16 buflen)
 
INT16 WINAPI WSACancelAsyncRequest16 (HANDLE16 hAsyncTaskHandle)
 
INT16 WINAPI WSAAsyncSelect16 (SOCKET16 s, HWND16 hWnd, UINT16 wMsg, LONG lEvent)
 
INT16 WINAPI WSARecvEx16 (SOCKET16 s, char *buf, INT16 len, INT16 *flags)
 

Macro Definition Documentation

◆ INVALID_SOCKET16

#define INVALID_SOCKET16   ((SOCKET16)(~0))

Definition at line 87 of file winsock16.h.

◆ WS_FD_CLR16

#define WS_FD_CLR16 (   fd,
  set 
)    __WS_FD_CLR((fd),(set), ws_fd_set16)

Definition at line 82 of file winsock16.h.

◆ WS_FD_ISSET16

#define WS_FD_ISSET16 (   fd,
  set 
)    __WSAFDIsSet16((SOCKET16)(fd), (ws_fd_set16*)(set))

Definition at line 85 of file winsock16.h.

◆ WS_FD_SET16

#define WS_FD_SET16 (   fd,
  set 
)    __WS_FD_SET1((fd),(set), ws_fd_set16)

Definition at line 83 of file winsock16.h.

◆ WS_FD_ZERO16

#define WS_FD_ZERO16 (   set)    (((ws_fd_set16*)(set))->fd_count=0)

Definition at line 84 of file winsock16.h.

Typedef Documentation

◆ _ws_hostent16

◆ _ws_netent16

◆ _ws_protoent16

◆ _ws_servent16

◆ LPWSADATA16

◆ SOCKET16

typedef UINT16 SOCKET16

Definition at line 27 of file winsock16.h.

◆ WSADATA16

Function Documentation

◆ __WSAFDIsSet16()

INT16 WINAPI __WSAFDIsSet16 ( SOCKET16  ,
ws_fd_set16  
)

◆ WSAAsyncGetHostByAddr16()

HANDLE16 WINAPI WSAAsyncGetHostByAddr16 ( HWND16  hWnd,
UINT16  wMsg,
LPCSTR  addr,
INT16  len,
INT16  type,
SEGPTR  buf,
INT16  buflen 
)

◆ WSAAsyncGetHostByName16()

HANDLE16 WINAPI WSAAsyncGetHostByName16 ( HWND16  hWnd,
UINT16  wMsg,
LPCSTR  name,
SEGPTR  buf,
INT16  buflen 
)

◆ WSAAsyncGetProtoByName16()

HANDLE16 WINAPI WSAAsyncGetProtoByName16 ( HWND16  hWnd,
UINT16  wMsg,
LPCSTR  name,
SEGPTR  buf,
INT16  buflen 
)

◆ WSAAsyncGetProtoByNumber16()

HANDLE16 WINAPI WSAAsyncGetProtoByNumber16 ( HWND16  hWnd,
UINT16  wMsg,
INT16  number,
SEGPTR  buf,
INT16  buflen 
)

◆ WSAAsyncGetServByName16()

HANDLE16 WINAPI WSAAsyncGetServByName16 ( HWND16  hWnd,
UINT16  wMsg,
LPCSTR  name,
LPCSTR  proto,
SEGPTR  buf,
INT16  buflen 
)

◆ WSAAsyncGetServByPort16()

HANDLE16 WINAPI WSAAsyncGetServByPort16 ( HWND16  hWnd,
UINT16  wMsg,
INT16  port,
LPCSTR  proto,
SEGPTR  buf,
INT16  buflen 
)

◆ WSAAsyncSelect16()

INT16 WINAPI WSAAsyncSelect16 ( SOCKET16  s,
HWND16  hWnd,
UINT16  wMsg,
LONG  lEvent 
)

◆ WSACancelAsyncRequest16()

INT16 WINAPI WSACancelAsyncRequest16 ( HANDLE16  hAsyncTaskHandle)

◆ WSARecvEx16()

INT16 WINAPI WSARecvEx16 ( SOCKET16  s,
char buf,
INT16  len,
INT16 flags 
)

◆ WSASetBlockingHook16()

FARPROC16 WINAPI WSASetBlockingHook16 ( FARPROC16  lpBlockFunc)

◆ WSASetLastError16()

void WINAPI WSASetLastError16 ( INT16  iError)

◆ WSAStartup16()

INT16 WINAPI WSAStartup16 ( UINT16  wVersionRequired,
LPWSADATA16  lpWSAData 
)

◆ WSAUnhookBlockingHook16()

INT16 WINAPI WSAUnhookBlockingHook16 ( void  )