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.

46 lines
869 B

  1. /*++
  2. Copyright (c) 1991-1992 Microsoft Corporation
  3. Module Name:
  4. brwins.c
  5. Abstract:
  6. This module contains the routines to interface with the WINS name server.
  7. Author:
  8. Larry Osterman
  9. Revision History:
  10. --*/
  11. #ifndef _BRWINS_
  12. #define _BRWINS_
  13. NET_API_STATUS
  14. BrGetWinsServerName(
  15. IN PUNICODE_STRING Network,
  16. OUT LPTSTR *PrimaryWinsServerAddress,
  17. OUT LPTSTR *SecondaryWinsServerAddress
  18. );
  19. NET_API_STATUS
  20. BrQueryWinsServer(
  21. IN LPTSTR PrimaryWinsServerAddress,
  22. IN LPTSTR SecondaryWinsServerAddress,
  23. OUT PVOID WinsServerList,
  24. OUT PDWORD EntriesInList,
  25. OUT PDWORD TotalEntriesInList
  26. );
  27. NET_API_STATUS
  28. BrQuerySpecificWinsServer(
  29. IN LPTSTR WinsServerAddress,
  30. OUT PVOID *WinsServerList,
  31. OUT PDWORD EntriesInList,
  32. OUT PDWORD TotalEntriesInList
  33. );
  34. #endif