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.

55 lines
1.1 KiB

  1. //+-----------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (c) Microsoft Corporation 1992-1999
  6. //
  7. // File: secpri.h
  8. //
  9. // Contents: private functions in security.dll
  10. //
  11. //
  12. // History: 6/9/95 MikeSw Created
  13. //
  14. //------------------------------------------------------------------------
  15. #ifndef __SECPRI_H__
  16. #define __SECPRI_H__
  17. #if _MSC_VER > 1000
  18. #pragma once
  19. #endif
  20. #ifdef __cplusplus
  21. extern "C" {
  22. #endif
  23. HRESULT
  24. SecIStoreSecret(
  25. IN PUNICODE_STRING SecretName,
  26. IN OPTIONAL PUNICODE_STRING SecretValue,
  27. IN OPTIONAL PUNICODE_STRING OldSecretValue,
  28. IN OPTIONAL GUID * EmulatedDomainId
  29. );
  30. HRESULT
  31. SecIRetrieveSecret(
  32. IN PUNICODE_STRING SecretName,
  33. OUT PUNICODE_STRING SecretValue,
  34. OUT OPTIONAL PUNICODE_STRING OldSecretValue,
  35. OUT OPTIONAL PLARGE_INTEGER LastSetTime,
  36. IN OPTIONAL GUID * EmulatedDomainId
  37. );
  38. HRESULT
  39. SecIEnumerateSecrets(
  40. IN OPTIONAL GUID * EmulatedDomainId,
  41. OUT PULONG CountOfSecrets,
  42. OUT PUNICODE_STRING * SecretNames
  43. );
  44. #ifdef __cplusplus
  45. }
  46. #endif
  47. #endif