From e611b132f9b8abe35b362e5870b74bce94a1e58e Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 16 May 2020 20:51:50 -0700 Subject: initial commit --- private/nw/svcdlls/nwwks/inc/nwlsa.h | 69 ++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 private/nw/svcdlls/nwwks/inc/nwlsa.h (limited to 'private/nw/svcdlls/nwwks/inc/nwlsa.h') diff --git a/private/nw/svcdlls/nwwks/inc/nwlsa.h b/private/nw/svcdlls/nwwks/inc/nwlsa.h new file mode 100644 index 000000000..cb2245c5d --- /dev/null +++ b/private/nw/svcdlls/nwwks/inc/nwlsa.h @@ -0,0 +1,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 + + +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_ -- cgit v1.2.3