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.

41 lines
989 B

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1998 - 1999
  6. //
  7. // File: regutil.h
  8. //
  9. //--------------------------------------------------------------------------
  10. #ifndef HEADER_REGUTIL
  11. #define HEADER_REGUTIL
  12. BOOL
  13. OpenAdapterKey(
  14. const LPTSTR Name,
  15. PHKEY Key
  16. );
  17. BOOL
  18. ReadRegistryDword(HKEY Key,
  19. LPCTSTR ParameterName,
  20. LPDWORD Value);
  21. BOOL ReadRegistryOemString(HKEY Key,
  22. LPWSTR ParameterName,
  23. LPTSTR String,
  24. LPDWORD Length);
  25. BOOL ReadRegistryIpAddrString(HKEY Key,
  26. LPCTSTR ParameterName,
  27. PIP_ADDR_STRING IpAddr);
  28. BOOL ReadRegistryString(HKEY Key,
  29. LPCTSTR ParameterName,
  30. LPTSTR String,
  31. LPDWORD Length);
  32. #endif