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.

54 lines
808 B

  1. /*++
  2. Copyright (c) 1989-2001 Microsoft Corporation
  3. Module Name:
  4. registry.h
  5. Abstract:
  6. Registry functions
  7. Author:
  8. Jiandong Ruan
  9. Revision History:
  10. --*/
  11. #ifndef __REGISTRY_H__
  12. #define __REGISTRY_H__
  13. PKEY_VALUE_FULL_INFORMATION
  14. SmbQueryValueKey(
  15. HANDLE hKey,
  16. LPWSTR ValueStringName
  17. );
  18. LONG
  19. SmbReadLong(
  20. IN HANDLE hKey,
  21. IN WCHAR *KeyName,
  22. IN LONG DefaultValue,
  23. IN LONG MinimumValue
  24. );
  25. ULONG
  26. SmbReadULong(
  27. IN HANDLE hKey,
  28. IN WCHAR *KeyName,
  29. IN ULONG DefaultValue,
  30. IN ULONG MinimumValue
  31. );
  32. NTSTATUS
  33. SmbReadRegistry(
  34. IN HANDLE Key,
  35. IN LPWSTR ValueStringName,
  36. IN OUT DWORD *Type,
  37. IN OUT DWORD *Size,
  38. IN OUT PVOID *Buffer
  39. );
  40. #endif