blob: cb2245c5d73e5083c0af15223806eb6666e34d47 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
/*++
Copyright (c) 1993 Microsoft Corporation
Module Name:
nwlsa.h
Abstract:
Header for LSA helper routines used by both the client and
server sides of the workstation service.
Author:
Rita Wong (ritaw) 22-Mar-1993
Revision History:
--*/
#ifndef _NWLSA_INCLUDED_
#define _NWLSA_INCLUDED_
#include <ntlsa.h>
DWORD
NwOpenPolicy(
IN ACCESS_MASK DesiredAccess,
OUT LSA_HANDLE *PolicyHandle
);
DWORD
NwOpenSecret(
IN ACCESS_MASK DesiredAccess,
IN LSA_HANDLE PolicyHandle,
IN LPWSTR LsaSecretName,
OUT PLSA_HANDLE SecretHandle
);
DWORD
NwFormSecretName(
IN LPWSTR UserName,
OUT LPWSTR *LsaSecretName
);
DWORD
NwSetPassword(
IN LPWSTR UserName,
IN LPWSTR Password
);
DWORD
NwDeletePassword(
IN LPWSTR UserName
);
DWORD
NwGetPassword(
IN LPWSTR UserName,
OUT PUNICODE_STRING *Password,
OUT PUNICODE_STRING *OldPassword
);
#define LAST_USER L"LastUser"
#define GATEWAY_USER L"GatewayUser"
#endif // _NWLSA_INCLUDED_
|