22 ((((dw) & 0xFF000000L) >> 24) | \
23 (((dw) & 0x00FF0000L) >> 8) | \
24 (((dw) & 0x0000FF00L) << 8) | \
25 (((dw) & 0x000000FFL) << 24))
29 ((((dw) & 0xFF000000L) >> 24) | \
30 (((dw) & 0x00FF0000L) >> 8) | \
31 (((dw) & 0x0000FF00L) << 8) | \
32 (((dw) & 0x000000FFL) << 24))
36 ((((w) & 0xFF00) >> 8) | \
37 (((w) & 0x00FF) << 8))
41 ((((w) & 0xFF00) >> 8) | \
42 (((w) & 0x00FF) << 8))
74 register unsigned char c;
87 if (*++
cp ==
'x' || *
cp ==
'X')
204 _itoa(
in.S_un.S_addr & 0xFF,
b, 10);
206 _itoa((
in.S_un.S_addr >> 8) & 0xFF,
b, 10);
209 _itoa((
in.S_un.S_addr >> 16) & 0xFF,
b, 10);
212 _itoa((
in.S_un.S_addr >> 24) & 0xFF,
b, 10);
230 return DH2N(hostlong);
240 return WH2N(hostshort);
250 return DN2H(netlong);
260 return WN2H(netshort);
274 DPRINT(
"WSAHtonl: %p, %lx, %p\n",
s, hostlong, lpnetlong);
295 *lpnetlong = hostlong;
300 *lpnetlong =
DN2H(hostlong);
332 DPRINT(
"WSAHtons: %p, %lx, %p\n",
s, hostshort, lpnetshort);
353 *lpnetshort = hostshort;
358 *lpnetshort =
WN2H(hostshort);
390 DPRINT(
"WSANtohl: %p, %lx, %p\n",
s, netlong, lphostlong);
411 *lphostlong = netlong;
416 *lphostlong =
DN2H(netlong);
448 DPRINT(
"WSANtohs: %p, %lx, %p\n",
s, netshort, lphostshort);
469 *lphostshort = netshort;
474 *lphostshort =
WN2H(netshort);
std::map< E_STRING, PART_TEST > parts
char * strcat(char *DstString, const char *SrcString)
char * strcpy(char *DstString, const char *SrcString)
INT WSAAPI WSANtohs(IN SOCKET s, IN USHORT netshort, OUT USHORT FAR *lphostshort)
INT WSAAPI WSAHtons(IN SOCKET s, IN USHORT hostshort, OUT USHORT FAR *lpnetshort)
INT WSAAPI WSANtohl(IN SOCKET s, IN ULONG netlong, OUT ULONG FAR *lphostlong)
INT WSAAPI WSAHtonl(IN SOCKET s, IN ULONG hostlong, OUT ULONG FAR *lpnetlong)
INT WINAPI WSAStartup(IN WORD wVersionRequested, OUT LPWSADATA lpWSAData)
_In_opt_ PFILE_OBJECT _In_opt_ PETHREAD Thread
_Must_inspect_result_ _In_ PLARGE_INTEGER _In_ PLARGE_INTEGER _In_ ULONG _In_ PFILE_OBJECT _In_ PVOID Process
GLboolean GLboolean GLboolean b
_CRTIMP char *__cdecl _itoa(_In_ int _Value, _Pre_notnull_ _Post_z_ char *_Dest, _In_ int _Radix)
_In_ NDIS_ERROR_CODE ErrorCode
WSAPROTOCOL_INFOW ProtocolInfo
PTCATALOG_ENTRY CatalogEntry
#define WSANOTINITIALISED
int PASCAL FAR WSACleanup(void)
FORCEINLINE DWORD WsQuickProlog(VOID)
VOID WSAAPI WsSockDereference(IN PWSSOCKET Socket)
INT WSAAPI WsApiProlog(OUT PWSPROCESS *Process, OUT PWSTHREAD *Thread)
PWSSOCKET WSAAPI WsSockGetSocket(IN SOCKET Handle)