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.

93 lines
2.9 KiB

  1. ///////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) 1998, Microsoft Corp. All rights reserved.
  4. //
  5. // FILE
  6. //
  7. // iascomp.idl
  8. //
  9. // SYNOPSIS
  10. //
  11. // This IDL file describes the IAS component interfaces
  12. //
  13. // MODIFICATION HISTORY
  14. //
  15. // 01/15/1998 Original version.
  16. // 05/19/1998 Consolidated per-user handlers into NT-SAM Per-User.
  17. // 08/24/1998 Renamed unused provider ID's.
  18. // 01/04/1999 Added IAS_PROVIDER_MICROSOFT_MSCHAP_ERROR.
  19. // 01/21/1999 Added IAS_PROVIDER_MICROSOFT_BASECAMP_HOST.
  20. // 04/19/1999 Added IAS_PROVIDER_MICROSOFT_AUTHORIZATION_HOST.
  21. //
  22. ///////////////////////////////////////////////////////////////////////////////
  23. import "oaidl.idl";
  24. typedef enum _RESERVEDID
  25. {
  26. IAS_RESERVED_ID = 0
  27. } RESERVEDID;
  28. ///////////////////////////////////////////////////////////////////////////
  29. // Provider (Request Handler)
  30. ///////////////////////////////////////////////////////////////////////////
  31. typedef enum _PROVIDERIDS
  32. {
  33. IAS_PROVIDER_MICROSOFT_NTSAM_AUTH = (IAS_RESERVED_ID + 1),
  34. IAS_PROVIDER_MICROSOFT_MSCHAP_ERROR,
  35. IAS_PROVIDER_MICROSOFT_BASECAMP_HOST,
  36. IAS_PROVIDER_MICROSOFT_AUTHORIZATION_HOST,
  37. IAS_PROVIDER_MICROSOFT_PROXY_POLICY,
  38. IAS_PROVIDER_MICROSOFT_NTSAM_PERUSER,
  39. IAS_PROVIDER_MICROSOFT_NAP,
  40. IAS_PROVIDER_MICROSOFT_RADIUS_PROXY,
  41. IAS_PROVIDER_MICROSOFT_ACCOUNTING,
  42. IAS_PROVIDER_MICROSOFT_EAP,
  43. IAS_PROVIDER_MICROSOFT_USER_RESTRICTIONS,
  44. IAS_PROVIDER_MICROSOFT_NTSAM_NAMES,
  45. IAS_PROVIDER_MICROSOFT_DB_ACCT
  46. } PROVIDERIDS;
  47. ///////////////////////////////////////////////////////////////////////////
  48. // Protocols
  49. ///////////////////////////////////////////////////////////////////////////
  50. typedef enum _IASPROTOCOLS
  51. {
  52. IAS_PROTOCOL_MICROSOFT_RADIUS = 0x40000,
  53. IAS_PROTOCOL_MICROSOFT_SURROGATE
  54. } IASPROTOCOLS;
  55. ///////////////////////////////////////////////////////////////////////////
  56. // Auditors
  57. ///////////////////////////////////////////////////////////////////////////
  58. typedef enum _IASAUDITORS
  59. {
  60. IAS_AUDITOR_MICROSOFT_NT_EVENT_LOG = 0x80000
  61. } IASAUDITORS;
  62. ///////////////////////////////////////////////////////////////////////////
  63. // IAS Component Interface
  64. ///////////////////////////////////////////////////////////////////////////
  65. [
  66. object,
  67. uuid(6BC096B4-0CE6-11D1-BAAE-00C04FC2E20D),
  68. dual,
  69. pointer_default(unique)
  70. ]
  71. interface IIasComponent : IDispatch
  72. {
  73. [id(1)] HRESULT Initialize(void);
  74. [id(2)] HRESULT Shutdown(void);
  75. [id(3)] HRESULT GetProperty(LONG Id, VARIANT* pValue);
  76. [id(4)] HRESULT PutProperty(LONG Id, VARIANT* pValue);
  77. [id(5)] HRESULT InitNew (void);
  78. [id(6)] HRESULT Suspend (void);
  79. [id(7)] HRESULT Resume (void);
  80. };