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.

33 lines
812 B

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1997.
  5. //
  6. // File: logons.h
  7. //
  8. // Contents: Replacement logon session list code
  9. //
  10. // Classes:
  11. //
  12. // Functions:
  13. //
  14. // History: 8-17-98 RichardW Created
  15. //
  16. //----------------------------------------------------------------------------
  17. #ifndef __LOGONS_H__
  18. #define __LOGONS_H__
  19. #define LsapConvertLuidToSecHandle( L, H ) \
  20. ((PSecHandle) H)->dwLower = ((PLUID) L)->HighPart ; \
  21. ((PSecHandle) H)->dwUpper = ((PLUID) L)->LowPart ;
  22. #define LsapConvertSecHandleToLuid( H, L ) \
  23. ((PLUID) L)->HighPart = ((PSecHandle) H)->dwLower ; \
  24. ((PLUID) L)->LowPart = ((PSecHandle) H)->dwUpper ;
  25. #endif