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.

28 lines
1.5 KiB

  1. //========================================================================
  2. // Copyright (C) 1997 Microsoft Corporation
  3. // Author: RameshV
  4. // Description: This file has been generated. Pl look at the .c file
  5. //========================================================================
  6. //DOC This function is declared in dhcpds.c..
  7. //DOC DhcpDsValidateService checks the given service in the DS to see if it exists
  8. //DOC If the machine is a standalone, it sets IsStandAlone and returns ERROR_SUCCESS
  9. //DOC If the entry for the given Address is found, it sets Found to TRUE and returns
  10. //DOC ERROR_SUCCESS. If the DhcpRoot node is found, but entry is not Found, it sets
  11. //DOC Found to FALSE and returns ERROR_SUCCESS; If the DS could not be reached, it
  12. //DOC returns ERROR_FILE_NOT_FOUND
  13. DWORD
  14. DhcpDsValidateService( // check to validate for dhcp
  15. IN LPWSTR Domain,
  16. IN DWORD *Addresses, OPTIONAL
  17. IN ULONG nAddresses,
  18. IN LPWSTR UserName,
  19. IN LPWSTR Password,
  20. IN DWORD AuthFlags,
  21. OUT LPBOOL Found,
  22. OUT LPBOOL IsStandAlone
  23. ) ;
  24. //========================================================================
  25. // end of file
  26. //========================================================================