Source code of Windows XP (NT5)
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.

89 lines
2.4 KiB

  1. //+-----------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (c) Microsoft Corporation 2000
  6. //
  7. // File: LsaAp.h
  8. //
  9. // Contents: prototypes for export functions
  10. //
  11. //
  12. // History: KDamour 15Mar00 Created (based on NTLM)
  13. //
  14. //------------------------------------------------------------------------
  15. #ifndef NTDIGEST_LSAAP_H
  16. #define NTDIGEST_LSAAP_H
  17. ///////////////////////////////////////////////////////////////////////
  18. // //
  19. // Authentication package dispatch routine definitions //
  20. // //
  21. ///////////////////////////////////////////////////////////////////////
  22. NTSTATUS
  23. LsaApInitializePackage(
  24. IN ULONG AuthenticationPackageId,
  25. IN PLSA_DISPATCH_TABLE LsaDispatchTable,
  26. IN PSTRING Database OPTIONAL,
  27. IN PSTRING Confidentiality OPTIONAL,
  28. OUT PSTRING *AuthenticationPackageName
  29. );
  30. NTSTATUS
  31. LsaApLogonUser(
  32. IN PLSA_CLIENT_REQUEST ClientRequest,
  33. IN SECURITY_LOGON_TYPE LogonType,
  34. IN PVOID AuthenticationInformation,
  35. IN PVOID ClientAuthenticationBase,
  36. IN ULONG AuthenticationInformationLength,
  37. OUT PVOID *ProfileBuffer,
  38. OUT PULONG ProfileBufferSize,
  39. OUT PLUID LogonId,
  40. OUT PNTSTATUS SubStatus,
  41. OUT PLSA_TOKEN_INFORMATION_TYPE TokenInformationType,
  42. OUT PVOID *TokenInformation,
  43. OUT PUNICODE_STRING *AccountName,
  44. OUT PUNICODE_STRING *AuthenticatingAuthority
  45. );
  46. NTSTATUS
  47. LsaApCallPackage(
  48. IN PLSA_CLIENT_REQUEST ClientRequest,
  49. IN PVOID ProtocolSubmitBuffer,
  50. IN PVOID ClientBufferBase,
  51. IN ULONG SubmitBufferSize,
  52. OUT PVOID *ProtocolReturnBuffer,
  53. OUT PULONG ReturnBufferSize,
  54. OUT PNTSTATUS ProtocolStatus
  55. );
  56. NTSTATUS
  57. LsaApCallPackagePassthrough(
  58. IN PLSA_CLIENT_REQUEST ClientRequest,
  59. IN PVOID ProtocolSubmitBuffer,
  60. IN PVOID ClientBufferBase,
  61. IN ULONG SubmitBufferSize,
  62. OUT PVOID *ProtocolReturnBuffer,
  63. OUT PULONG ReturnBufferSize,
  64. OUT PNTSTATUS ProtocolStatus
  65. );
  66. VOID
  67. LsaApLogonTerminated(
  68. IN PLUID LogonId
  69. );
  70. // Acquire a users cleartext password and/or Digest hashed password forms
  71. NTSTATUS
  72. DigestGetPasswd(
  73. IN PUSER_CREDENTIALS pUserCreds,
  74. OUT PUCHAR * ppucUserAuthData,
  75. OUT PULONG pulAuthDataSize
  76. );
  77. #endif // NTDIGEST_LSAAP_H