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.

45 lines
727 B

  1. #ifndef __COMMON_H__
  2. #define __COMMON_H__
  3. //+-----------------------------------------------------------------------
  4. //
  5. // Microsoft Windows
  6. //
  7. // Copyright (c) Microsoft Corporation 2000
  8. //
  9. // File: common.cxx
  10. //
  11. // Contents: Shared SSPI code
  12. //
  13. //
  14. // History: 11-March-2000 Created Todds
  15. //
  16. //------------------------------------------------------------------------
  17. typedef enum _SSP_STATE {
  18. SspLsaMode = 1,
  19. SspUserMode
  20. } SSP_STATE, *PSSP_STATE;
  21. // point at SSP global call state for use in allocations
  22. #ifdef MSV_SSP
  23. EXTERN PSSP_STATE pSspState = (PSSP_STATE) NtLmState;
  24. #endif
  25. #ifdef KERB_SSP
  26. EXTERN PSSP_STATE pSspState = (PSSP_STATE) KerberosState;
  27. #endif
  28. #endif