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.

34 lines
1.1 KiB

  1. //+-----------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (c) Microsoft Corporation 1991 - 1997
  6. //
  7. // File: connmgr.h
  8. //
  9. // Contents: Connection Manager code for KSecDD
  10. //
  11. //
  12. // History: 3 Jun 92 RichardW Created
  13. // 15 Dec 97 AdamBa Modified from private\lsa\client\ssp
  14. //
  15. //------------------------------------------------------------------------
  16. #ifndef __CONNMGR_H__
  17. #define __CONNMGR_H__
  18. typedef struct _KernelContext {
  19. struct _KernelContext * pNext; // Link to next context
  20. struct _KernelContext * pPrev; // Link to previous context
  21. UCHAR UserSessionKey[MSV1_0_USER_SESSION_KEY_LENGTH];
  22. UCHAR LanmanSessionKey[MSV1_0_LANMAN_SESSION_KEY_LENGTH];
  23. HANDLE TokenHandle;
  24. PACCESS_TOKEN AccessToken;
  25. } KernelContext, *PKernelContext;
  26. void AddKernelContext(PKernelContext *, PKSPIN_LOCK, PKernelContext);
  27. SECURITY_STATUS DeleteKernelContext(PKernelContext *, PKSPIN_LOCK, PKernelContext);
  28. #endif // __CONNMGR_H__