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.

45 lines
909 B

  1. //+--------------------------------------------------------------------------
  2. //
  3. // Copyright (c) 1997-1999 Microsoft Corporation
  4. //
  5. // File:
  6. //
  7. // Contents:
  8. //
  9. // History:
  10. //
  11. //---------------------------------------------------------------------------
  12. #ifndef __SECSTORE_H__
  13. #define __SECSTORE_H__
  14. #include <windows.h>
  15. #include <ntsecapi.h>
  16. #ifdef __cplusplus
  17. extern "C"{
  18. #endif
  19. DWORD
  20. RetrieveKey(PWCHAR pwszKeyName,
  21. PBYTE * ppbKey,
  22. DWORD * pcbKey );
  23. DWORD
  24. StoreKey( PWCHAR pwszKeyName,
  25. BYTE * pbKey,
  26. DWORD cbKey );
  27. DWORD
  28. OpenPolicy( LPWSTR ServerName,
  29. DWORD DesiredAccess,
  30. PLSA_HANDLE PolicyHandle );
  31. void
  32. InitLsaString( PLSA_UNICODE_STRING LsaString,
  33. LPWSTR String );
  34. #ifdef __cplusplus
  35. }
  36. #endif
  37. #endif