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.

62 lines
1.3 KiB

  1. /*++
  2. Copyright (c) 2001 Microsoft Corporation
  3. Module Name:
  4. msvlogon.hxx
  5. Abstract:
  6. logon
  7. Author:
  8. Larry Zhu (LZhu) December 1, 2001
  9. Environment:
  10. User Mode
  11. Revision History:
  12. --*/
  13. #ifndef MSV_LOGON_HXX
  14. #define MSV_LOGON_HXX
  15. NTSTATUS
  16. MsvLsaLogon(
  17. IN HANDLE hLogonHandle,
  18. IN ULONG PackageId,
  19. IN LUID* pLogonId,
  20. IN ULONG ParameterControl,
  21. IN UCHAR ChallengeToClient[MSV1_0_CHALLENGE_LENGTH],
  22. IN UNICODE_STRING* pUserName,
  23. IN UNICODE_STRING* pUserDomain,
  24. IN UNICODE_STRING* pPassword,
  25. IN UNICODE_STRING* pServerName,
  26. IN UNICODE_STRING* pServerDomain,
  27. IN UNICODE_STRING* pWorkstation,
  28. OUT HANDLE* pTokenHandle
  29. );
  30. NTSTATUS
  31. GetMsvLogonInfo(
  32. IN HANDLE hLogonHandle,
  33. IN ULONG PackageId,
  34. IN LUID* pLogonId,
  35. IN ULONG ParameterControl,
  36. IN UCHAR ChallengeToClient[MSV1_0_CHALLENGE_LENGTH],
  37. IN UNICODE_STRING* pUserName,
  38. IN UNICODE_STRING* pUserDomain,
  39. IN UNICODE_STRING* pPassword,
  40. IN UNICODE_STRING* pServerName,
  41. IN UNICODE_STRING* pServerDomain,
  42. IN UNICODE_STRING* pWorkstation,
  43. OUT ULONG* pcbLogonInfo,
  44. OUT MSV1_0_LM20_LOGON** ppLogonInfo
  45. );
  46. #endif // #ifndef MSV_LOGON_HXX