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.

67 lines
1.2 KiB

  1. /*++
  2. Copyright (c) 2001 Microsoft Corporation
  3. Module Name:
  4. sspisrv.hxx
  5. Abstract:
  6. sspisrv
  7. Author:
  8. Larry Zhu (LZhu) January 1, 2002
  9. Environment:
  10. User Mode
  11. Revision History:
  12. --*/
  13. #ifndef SSPI_SRV_HXX
  14. #define SSPI_SRV_HXX
  15. #include "sspi.hxx"
  16. class TSspiServerMainParam : public TSsiServerMainLoopThreadParam {
  17. public:
  18. TSspiServerMainParam(
  19. VOID
  20. );
  21. OPTIONAL PSTR pszPrincipal;
  22. OPTIONAL LUID* pCredLogonID;
  23. PSTR pszPackageName;
  24. OPTIONAL VOID* pAuthData;
  25. ULONG ServerFlags;
  26. ULONG TargetDataRep; // SECURITY_NATIVE_DREP
  27. ULONG ServerActionFlags;
  28. OPTIONAL PCSTR pszApplication;
  29. private:
  30. NO_COPY(TSspiServerMainParam);
  31. };
  32. class TSspiServerParam : public TSspiServerThreadParam, public TSspiServerMainParam {
  33. public:
  34. TSspiServerParam(
  35. VOID
  36. );
  37. TSspiServerParam(
  38. IN const TSsiServerMainLoopThreadParam* pSrvMainLoopParam
  39. );
  40. HRESULT
  41. Validate(
  42. VOID
  43. ) const;
  44. private:
  45. THResult m_hr;
  46. NO_COPY(TSspiServerParam);
  47. };
  48. #endif // #ifndef SSPI_SRV_HXX