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.

65 lines
1.2 KiB

  1. /*++
  2. Copyright (c) 1991 Microsoft Corporation
  3. Module Name:
  4. wswksta.h
  5. Abstract:
  6. Private header file to be included by Workstation service modules
  7. need information from the LSA authentication package.
  8. Author:
  9. Rita Wong (ritaw) 15-May-1991
  10. Revision History:
  11. --*/
  12. #ifndef _WSLSA_INCLUDED_
  13. #define _WSLSA_INCLUDED_
  14. #include <ntmsv1_0.h>
  15. NET_API_STATUS
  16. WsInitializeLsa(
  17. VOID
  18. );
  19. VOID
  20. WsShutdownLsa(
  21. VOID
  22. );
  23. NET_API_STATUS
  24. WsLsaEnumUsers(
  25. OUT LPBYTE *EnumUsersResponse
  26. );
  27. NET_API_STATUS
  28. WsLsaGetUserInfo(
  29. IN PLUID LogonId,
  30. OUT LPBYTE *UserInfoResponse,
  31. OUT LPDWORD UserInfoResponseLength
  32. );
  33. NET_API_STATUS
  34. WsLsaRelogonUsers(
  35. IN LPTSTR LogonServer
  36. );
  37. // The following variable is used to restrict access to information exposed
  38. // by the LSA. The value is set based upon the following registry key
  39. //
  40. // HKLM\System\CurrentControlSet\Control\Lsa\RestrictAnonymous
  41. //
  42. // If this key is defined and has a value greater than zero then the variable
  43. // WsLsaRestrictAnonymous is set to the value in the registry, otherwise
  44. // the value is zero. This is done in WsInitializeLsa
  45. extern DWORD WsLsaRestrictAnonymous;
  46. #endif // _WSLSA_INCLUDED_
  47.