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
56 lines
847 B
/*++
|
|
|
|
Copyright (c) 2000 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
recovery.h
|
|
|
|
Abstract:
|
|
|
|
This module contains prototypes to support local account password recovery.
|
|
|
|
Author:
|
|
|
|
Pete Skelly (petesk) 09-May-00
|
|
|
|
--*/
|
|
|
|
#ifndef __RECOVERY_H__
|
|
#define __RECOVERY_H__
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
DWORD
|
|
SPRecoverQueryStatus(
|
|
PVOID pvContext,
|
|
LPWSTR pszUserName,
|
|
DWORD *pdwStatus);
|
|
|
|
DWORD
|
|
PRCreateDummyToken(
|
|
PUNICODE_STRING Username,
|
|
PUNICODE_STRING Domain,
|
|
HANDLE *Token);
|
|
|
|
DWORD
|
|
PRGetProfilePath(
|
|
HANDLE hUserToken,
|
|
PWSTR pszPath);
|
|
|
|
DWORD
|
|
RecoverChangePasswordNotify(
|
|
HANDLE UserToken,
|
|
BYTE OldPasswordOWF[A_SHA_DIGEST_LEN],
|
|
PUNICODE_STRING NewPassword);
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
|
|
#endif // __RECOVERY_H__
|
|
|