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.

54 lines
1.8 KiB

  1. //+-----------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (c) Microsoft Corporation 2000
  6. //
  7. // File: logsess.h
  8. //
  9. // Contents: declarations, constants for logonsession manager
  10. //
  11. //
  12. // History: KDamour 13May 00 Created
  13. //
  14. //------------------------------------------------------------------------
  15. #ifndef NTDIGEST_LOGSESS_H
  16. #define NTDIGEST_LOGSESS_H
  17. // Initializes the LogonSession manager package
  18. NTSTATUS LogSessHandlerInit(VOID);
  19. NTSTATUS LogSessHandlerInsert(IN PDIGEST_LOGONSESSION pDigestLogSess);
  20. // Initialize the LogSess Structure
  21. NTSTATUS LogonSessionInit(IN PDIGEST_LOGONSESSION pLogonSession);
  22. // Free up memory utilized by LogonSession Structure
  23. NTSTATUS LogonSessionFree(IN PDIGEST_LOGONSESSION pDigestLogSess);
  24. // Locate a LogonSession based on a LogonId
  25. NTSTATUS LogSessHandlerLogonIdToPtr(
  26. IN PLUID pLogonId,
  27. IN BOOLEAN ForceRemove,
  28. OUT PDIGEST_LOGONSESSION * pUserLogonSession);
  29. // Locate a LogonSession based on a Principal Name (UserName)
  30. NTSTATUS LogSessHandlerAccNameToPtr(
  31. IN PUNICODE_STRING pustrAccountName,
  32. OUT PDIGEST_LOGONSESSION * pUserLogonSession);
  33. NTSTATUS LogSessHandlerRelease(PDIGEST_LOGONSESSION pLogonSession);
  34. // Set the unicode string password in the LogonSession
  35. NTSTATUS LogSessHandlerPasswdSet(
  36. IN PLUID pLogonId,
  37. IN PUNICODE_STRING pustrPasswd);
  38. // Get the unicode string password in the logonsession
  39. NTSTATUS LogSessHandlerPasswdGet(
  40. IN PDIGEST_LOGONSESSION pLogonSession,
  41. OUT PUNICODE_STRING pustrPasswd);
  42. #endif // NTDIGEST_LOGSESS_H