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.

53 lines
1.1 KiB

  1. //+----------------------------------------------------------------------------
  2. //
  3. // Copyright (C) 1992, Microsoft Corporation
  4. //
  5. // File: regsups.h
  6. //
  7. // Contents: support routines for registry.
  8. //
  9. // Classes:
  10. //
  11. // Functions:
  12. //
  13. // History: 18 Sep 92 Milans created.
  14. //
  15. //-----------------------------------------------------------------------------
  16. #ifndef _REGSUPS_
  17. #define _REGSUPS_
  18. OBJECT_ATTRIBUTES *KRegpAttributes(
  19. IN HANDLE hParent,
  20. IN PWSTR wszName);
  21. NTSTATUS KRegpGetValueByName(
  22. IN HKEY hKey,
  23. IN PWSTR wszValueName,
  24. OUT PBYTE pbData,
  25. IN OUT PULONG pcbSize);
  26. NTSTATUS KRegpGetKeyInfo(
  27. IN HKEY hKey,
  28. OUT PULONG pcNumSubKeys,
  29. OUT PULONG pcbMaxSubKeyLength,
  30. OUT PULONG pcNumValues,
  31. OUT PULONG pcbMaxValueName,
  32. OUT PULONG pcbMaxValueData);
  33. NTSTATUS KRegpEnumKeyValues(
  34. HKEY hKey,
  35. ULONG iValue,
  36. PWSTR wszValueName,
  37. PULONG pcbMaxValueName,
  38. PBYTE pbData,
  39. PULONG pcbMaxDataSize);
  40. NTSTATUS KRegpEnumSubKeys(
  41. HKEY hKey,
  42. ULONG iSubKey,
  43. PWSTR wszSubKeyName,
  44. PULONG pcbMaxNameSize);
  45. #endif // _REGSUPS_