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.

23 lines
614 B

  1. //--------------------------------------------------------------------
  2. // DcInfo - header
  3. // Copyright (C) Microsoft Corporation, 1999
  4. //
  5. // Created by: Louis Thomas (louisth), 7-8-99
  6. //
  7. // Gather information about the DCs in a domain
  8. #ifndef DCINFO_H
  9. #define DCINFO_H
  10. struct DcInfo {
  11. WCHAR * wszDnsName;
  12. in_addr * rgiaLocalIpAddresses;
  13. in_addr * rgiaRemoteIpAddresses;
  14. unsigned int nIpAddresses;
  15. bool bIsPdc;
  16. bool bIsGoodTimeSource;
  17. };
  18. void FreeDcInfo(DcInfo * pdci);
  19. HRESULT GetDcList(const WCHAR * wszDomainName, bool bGetIps, DcInfo ** prgDcs, unsigned int * pnDcs);
  20. #endif DCINFO_H