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.

60 lines
977 B

  1. /*++
  2. Copyright (c) 1997 Microsoft Corporation
  3. Module Name:
  4. dnssrv.h
  5. Abstract:
  6. Routines for processing SRV DNS records.
  7. Author:
  8. Cliff Van Dyke (cliffv) 28-Feb-1997
  9. Environment:
  10. User mode only.
  11. Contains NT-specific code.
  12. Requires ANSI C extensions: slash-slash comments, long external names.
  13. Revision History:
  14. --*/
  15. //
  16. // Externally visible procedures.
  17. //
  18. NET_API_STATUS
  19. NetpSrvOpen(
  20. IN LPSTR DnsRecordName,
  21. IN DWORD DnsQueryFlags,
  22. OUT PHANDLE SrvContextHandle
  23. );
  24. NET_API_STATUS
  25. NetpSrvProcessARecords(
  26. IN PDNS_RECORD DnsARecords,
  27. IN LPSTR DnsHostName OPTIONAL,
  28. IN ULONG Port,
  29. OUT PULONG SockAddressCount,
  30. OUT LPSOCKET_ADDRESS *SockAddresses
  31. );
  32. NET_API_STATUS
  33. NetpSrvNext(
  34. IN HANDLE SrvContextHandle,
  35. OUT PULONG SockAddressCount OPTIONAL,
  36. OUT LPSOCKET_ADDRESS *SockAddresses OPTIONAL,
  37. OUT LPSTR *DnsHostName OPTIONAL
  38. );
  39. VOID
  40. NetpSrvClose(
  41. IN HANDLE SrvContextHandle
  42. );