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.

48 lines
673 B

  1. /*++
  2. Copyright (c) 1991 Microsoft Corporation
  3. Module Name:
  4. sockreg.h
  5. Abstract:
  6. Prototypes for sockreg.cxx
  7. stolen from Win95 winsock project (& modified)
  8. Author:
  9. Richard L Firth (rfirth) 10-Feb-1994
  10. Environment:
  11. Chicago/Snowball (i.e. Win32/Win16)
  12. Revision History:
  13. 10-Feb-1994 (rfirth)
  14. Created
  15. --*/
  16. //
  17. // registry/config/ini items
  18. //
  19. #define CONFIG_HOSTNAME 1
  20. #define CONFIG_DOMAIN 2
  21. #define CONFIG_SEARCH_LIST 3
  22. #define CONFIG_NAME_SERVER 4
  23. //
  24. // prototypes
  25. //
  26. UINT
  27. SockGetSingleValue(
  28. IN UINT ParameterId,
  29. OUT LPBYTE Data,
  30. IN UINT DataLength
  31. );