Source code of Windows XP (NT5)
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.

55 lines
1.2 KiB

  1. /**********************************************************************/
  2. /** Microsoft Windows **/
  3. /** Copyright(c) Microsoft Corp., 1993 **/
  4. /**********************************************************************/
  5. /*
  6. wscntl.h
  7. Semi-public include file for the WsControl API in the Chicago/
  8. Snowball Windows Sockets implementation.
  9. FILE HISTORY:
  10. KeithMo 04-Feb-1994 Created.
  11. */
  12. #ifndef _WSCNTL_H_
  13. #define _WSCNTL_H_
  14. //
  15. // Function prototypes.
  16. //
  17. DWORD
  18. PASCAL FAR
  19. WsControl(
  20. DWORD Protocol,
  21. DWORD Action,
  22. LPVOID InputBuffer,
  23. LPDWORD InputBufferLength,
  24. LPVOID OutputBuffer,
  25. LPDWORD OutputBufferLength
  26. );
  27. typedef DWORD (PASCAL FAR * LPWSCONTROL)( DWORD Protocol,
  28. DWORD Action,
  29. LPVOID InputBuffer,
  30. LPDWORD InputBufferLength,
  31. LPVOID OutputBuffer,
  32. LPDWORD OutputBufferLength );
  33. //
  34. // TCP/IP action codes.
  35. //
  36. #define WSCNTL_TCPIP_QUERY_INFO 0x00000000
  37. #define WSCNTL_TCPIP_SET_INFO 0x00000001
  38. #endif // _WSCNTL_H_