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.

60 lines
1.9 KiB

  1. //---------------------------------------------------------------------------
  2. //
  3. // Module: registry.h
  4. //
  5. // Description:
  6. //
  7. //
  8. //@@BEGIN_MSINTERNAL
  9. // Development Team:
  10. // Mike McLaughlin
  11. //
  12. // History: Date Author Comment
  13. //
  14. //@@END_MSINTERNAL
  15. //---------------------------------------------------------------------------
  16. //
  17. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
  18. // KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  19. // IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
  20. // PURPOSE.
  21. //
  22. // Copyright (c) 1996-1999 Microsoft Corporation. All Rights Reserved.
  23. //
  24. //---------------------------------------------------------------------------
  25. //---------------------------------------------------------------------------
  26. // Constants and Macros
  27. //---------------------------------------------------------------------------
  28. //---------------------------------------------------------------------------
  29. // Global Data
  30. //---------------------------------------------------------------------------
  31. //---------------------------------------------------------------------------
  32. // Data structures
  33. //---------------------------------------------------------------------------
  34. //---------------------------------------------------------------------------
  35. // Local prototypes
  36. //---------------------------------------------------------------------------
  37. NTSTATUS
  38. OpenRegistryKeyForRead(
  39. PCWSTR pcwstr,
  40. PHANDLE pHandle,
  41. HANDLE hRootDir = NULL
  42. );
  43. NTSTATUS
  44. QueryRegistryValue(
  45. HANDLE hkey,
  46. PCWSTR pcwstrValueName,
  47. PKEY_VALUE_FULL_INFORMATION *ppkvfi
  48. );
  49. //---------------------------------------------------------------------------
  50. // End of File: registry.h
  51. //---------------------------------------------------------------------------