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) 2001 Microsoft Corporation
  3. Module Name:
  4. subauth.hxx
  5. Abstract:
  6. subauth
  7. Author:
  8. Larry Zhu (LZhu) December 1, 2001
  9. Environment:
  10. User Mode
  11. Revision History:
  12. --*/
  13. #ifndef SUB_AUTH_HXX
  14. #define SUB_AUTH_HXX
  15. NTSTATUS
  16. GetSubAuthLogonInfo(
  17. IN ULONG SubAuthId,
  18. IN BOOLEAN bUseNewSubAuthStyle,
  19. IN UNICODE_STRING* pUserName,
  20. IN UNICODE_STRING* pDomainName,
  21. IN UNICODE_STRING* pPassword,
  22. IN UNICODE_STRING* pWorkstation,
  23. OUT ULONG* pcbLogonInfo,
  24. OUT VOID** ppLognInfo
  25. );
  26. NTSTATUS
  27. MsvSubAuthLsaLogon(
  28. IN HANDLE hLsa,
  29. IN ULONG PackageId,
  30. IN SECURITY_LOGON_TYPE LogonType,
  31. IN ULONG SubAuthId,
  32. IN BOOLEAN bUseNewSubAuthStyle,
  33. IN UNICODE_STRING* pUserName,
  34. IN UNICODE_STRING* pDomainName,
  35. IN UNICODE_STRING* pPassword,
  36. IN UNICODE_STRING* pWorkstation,
  37. OUT HANDLE* phToken
  38. );
  39. NTSTATUS
  40. MsvSubAuthLogon(
  41. IN HANDLE hLsa,
  42. IN ULONG PackageId,
  43. IN ULONG SubAuthId,
  44. IN UNICODE_STRING* pUserName,
  45. IN UNICODE_STRING* pDomainName,
  46. IN UNICODE_STRING* pPassword,
  47. IN UNICODE_STRING* pWorkstation
  48. );
  49. #endif // #ifndef SUB_AUTH_HXX