windows-nt/Source/XPSP1/NT/ds/netapi/svcdlls/wkssvc/server/wslsa.h
2020-09-26 16:20:57 +08:00

66 lines
1.2 KiB
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*++
Copyright (c) 1991 Microsoft Corporation
Module Name:
wswksta.h
Abstract:
Private header file to be included by Workstation service modules
need information from the LSA authentication package.
Author:
Rita Wong (ritaw) 15-May-1991
Revision History:
--*/
#ifndef _WSLSA_INCLUDED_
#define _WSLSA_INCLUDED_
#include <ntmsv1_0.h>
NET_API_STATUS
WsInitializeLsa(
VOID
);
VOID
WsShutdownLsa(
VOID
);
NET_API_STATUS
WsLsaEnumUsers(
OUT LPBYTE *EnumUsersResponse
);
NET_API_STATUS
WsLsaGetUserInfo(
IN PLUID LogonId,
OUT LPBYTE *UserInfoResponse,
OUT LPDWORD UserInfoResponseLength
);
NET_API_STATUS
WsLsaRelogonUsers(
IN LPTSTR LogonServer
);
// The following variable is used to restrict access to information exposed
// by the LSA. The value is set based upon the following registry key
//
// HKLM\System\CurrentControlSet\Control\Lsa\RestrictAnonymous
//
// If this key is defined and has a value greater than zero then the variable
// WsLsaRestrictAnonymous is set to the value in the registry, otherwise
// the value is zero. This is done in WsInitializeLsa
extern DWORD WsLsaRestrictAnonymous;
#endif // _WSLSA_INCLUDED_