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.

91 lines
2.0 KiB

  1. ///////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) 1999, Microsoft Corp. All rights reserved.
  4. //
  5. // FILE
  6. //
  7. // hosts.h
  8. //
  9. // SYNOPSIS
  10. //
  11. // Declares the various BaseCampHost implementations.
  12. //
  13. // MODIFICATION HISTORY
  14. //
  15. // 04/21/1999 Original version.
  16. //
  17. ///////////////////////////////////////////////////////////////////////////////
  18. #ifndef HOSTS_H
  19. #define HOSTS_H
  20. #if _MSC_VER >= 1000
  21. #pragma once
  22. #endif
  23. #include <authif.h>
  24. #include <basecamp.h>
  25. ///////////////////////////////////////////////////////////////////////////////
  26. //
  27. // CLASS
  28. //
  29. // BaseCampHost
  30. //
  31. // DESCRIPTION
  32. //
  33. // Host for Authentication DLLs.
  34. //
  35. ///////////////////////////////////////////////////////////////////////////////
  36. class ATL_NO_VTABLE BaseCampHost :
  37. public BaseCampHostBase,
  38. public CComCoClass<BaseCampHost, &__uuidof(BaseCampHost)>
  39. {
  40. public:
  41. IAS_DECLARE_REGISTRY(BaseCampHost, 1, IAS_REGISTRY_AUTO, IASTypeLibrary)
  42. IAS_DECLARE_OBJECT_ID(IAS_PROVIDER_MICROSOFT_BASECAMP_HOST)
  43. BaseCampHost() throw ()
  44. : BaseCampHostBase(
  45. "BaseCampHost",
  46. AUTHSRV_PARAMETERS_KEY_W,
  47. AUTHSRV_EXTENSIONS_VALUE_W,
  48. TRUE,
  49. (ACTION_ACCEPT | ACTION_REJECT)
  50. )
  51. { }
  52. };
  53. ///////////////////////////////////////////////////////////////////////////////
  54. //
  55. // CLASS
  56. //
  57. // AuthorizationHost
  58. //
  59. // DESCRIPTION
  60. //
  61. // Host for Authorization DLLs.
  62. //
  63. ///////////////////////////////////////////////////////////////////////////////
  64. class ATL_NO_VTABLE AuthorizationHost :
  65. public BaseCampHostBase,
  66. public CComCoClass<AuthorizationHost, &__uuidof(AuthorizationHost)>
  67. {
  68. public:
  69. IAS_DECLARE_REGISTRY(AuthorizationHost, 1, IAS_REGISTRY_AUTO, IASTypeLibrary)
  70. IAS_DECLARE_OBJECT_ID(IAS_PROVIDER_MICROSOFT_AUTHORIZATION_HOST)
  71. AuthorizationHost() throw ()
  72. : BaseCampHostBase(
  73. "AuthorizationHost",
  74. AUTHSRV_PARAMETERS_KEY_W,
  75. AUTHSRV_AUTHORIZATION_VALUE_W,
  76. FALSE,
  77. ACTION_REJECT
  78. )
  79. { }
  80. };
  81. #endif // HOSTS_H