Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
740 B

  1. //
  2. // DWINSOCK.H Dynamic WinSock
  3. //
  4. // Functions for dynamically linking to
  5. // best available WinSock.
  6. //
  7. // Dynamically links to WS2_32.DLL or
  8. // if WinSock 2 isn't available, it
  9. // dynamically links to WSOCK32.DLL.
  10. //
  11. //
  12. #ifndef DWINSOCK_H
  13. #define DWINSOCK_H
  14. int DWSInitWinSock(void);
  15. void DWSFreeWinSock(void);
  16. #if ((! defined(DPNBUILD_ONLYWINSOCK2)) && (! defined(DPNBUILD_NOWINSOCK2)))
  17. int GetWinsockVersion(void);
  18. #endif // ! DPNBUILD_ONLYWINSOCK2 and ! DPNBUILD_NOWINSOCK2
  19. #ifndef DPNBUILD_NOIPX
  20. int IPXAddressToStringNoSocket(LPSOCKADDR pSAddr,
  21. DWORD dwAddrLen,
  22. LPSTR lpAddrStr,
  23. LPDWORD pdwStrLen);
  24. #endif // ! DPNBUILD_NOIPX
  25. #endif // DWINSOCK_H