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.

56 lines
847 B

  1. /*++
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. recovery.h
  5. Abstract:
  6. This module contains prototypes to support local account password recovery.
  7. Author:
  8. Pete Skelly (petesk) 09-May-00
  9. --*/
  10. #ifndef __RECOVERY_H__
  11. #define __RECOVERY_H__
  12. #ifdef __cplusplus
  13. extern "C" {
  14. #endif
  15. DWORD
  16. SPRecoverQueryStatus(
  17. PVOID pvContext,
  18. LPWSTR pszUserName,
  19. DWORD *pdwStatus);
  20. DWORD
  21. PRCreateDummyToken(
  22. PUNICODE_STRING Username,
  23. PUNICODE_STRING Domain,
  24. HANDLE *Token);
  25. DWORD
  26. PRGetProfilePath(
  27. HANDLE hUserToken,
  28. PWSTR pszPath);
  29. DWORD
  30. RecoverChangePasswordNotify(
  31. HANDLE UserToken,
  32. BYTE OldPasswordOWF[A_SHA_DIGEST_LEN],
  33. PUNICODE_STRING NewPassword);
  34. #ifdef __cplusplus
  35. }
  36. #endif
  37. #endif // __RECOVERY_H__