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.

55 lines
1.3 KiB

  1. ///////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) 1998, Microsoft Corp. All rights reserved.
  4. //
  5. // FILE
  6. //
  7. // mschaperror.h
  8. //
  9. // SYNOPSIS
  10. //
  11. // Declares the class MSChapErrorReporter.
  12. //
  13. // MODIFICATION HISTORY
  14. //
  15. // 12/03/1998 Original version.
  16. //
  17. ///////////////////////////////////////////////////////////////////////////////
  18. #ifndef _MSCHAPERROR_H_
  19. #define _MSCHAPERROR_H_
  20. #if _MSC_VER >= 1000
  21. #pragma once
  22. #endif
  23. #include <iastl.h>
  24. ///////////////////////////////////////////////////////////////////////////////
  25. //
  26. // CLASS
  27. //
  28. // MSChapErrorReporter
  29. //
  30. // DESCRIPTION
  31. //
  32. // Implements a request handler for populating MS-CHAP-Error VSAs.
  33. //
  34. ///////////////////////////////////////////////////////////////////////////////
  35. class ATL_NO_VTABLE MSChapErrorReporter
  36. : public IASTL::IASRequestHandlerSync,
  37. public CComCoClass<MSChapErrorReporter, &__uuidof(MSChapErrorReporter)>
  38. {
  39. public:
  40. IAS_DECLARE_OBJECT_ID(IAS_PROVIDER_MICROSOFT_MSCHAP_ERROR)
  41. IAS_DECLARE_REGISTRY(MSChapErrorReporter, 1, 0, IASTypeLibrary)
  42. BEGIN_IAS_RESPONSE_MAP()
  43. IAS_RESPONSE_ENTRY(IAS_RESPONSE_ACCESS_REJECT)
  44. END_IAS_RESPONSE_MAP()
  45. protected:
  46. virtual IASREQUESTSTATUS onSyncRequest(IRequest* pRequest) throw ();
  47. };
  48. #endif // _MSCHAPERROR_H_