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.

109 lines
2.4 KiB

  1. //#--------------------------------------------------------------
  2. //
  3. // File: iasext.h
  4. //
  5. // Synopsis: This file holds declarations of APIs being
  6. // exported from the IASHLPR.DLL used in the
  7. // Internet Authentication Server (IAS) project
  8. //
  9. //
  10. // History: 2/10/98 MKarki Created
  11. //
  12. // Copyright (C) 1997-98 Microsoft Corporation
  13. // All rights reserved.
  14. //
  15. //----------------------------------------------------------------
  16. #ifndef _IASEXT_H_
  17. #define _IASEXT_H_
  18. #ifdef __cplusplus
  19. extern "C" {
  20. #endif
  21. //
  22. // initialize the IAS Helper Component
  23. //
  24. STDAPI
  25. InitializeIas(
  26. /*[in]*/ BOOL bComInit
  27. );
  28. //
  29. // cleanup and shutdown of the IAS Helper Component
  30. //
  31. STDAPI_(VOID)
  32. ShutdownIas (VOID);
  33. //
  34. // Load IAS configuration information
  35. //
  36. STDAPI
  37. ConfigureIas (VOID);
  38. //
  39. // Allocate the specified number of empty attributs and
  40. // put them in the array provided
  41. //
  42. STDAPI
  43. AllocateAttributes (
  44. /*[in]*/ DWORD dwAttributeCount,
  45. /*[in]*/ PIASATTRIBUTE *ppIasAttribute
  46. );
  47. //
  48. // Free all the attributes allocated earlier
  49. //
  50. STDAPI
  51. FreeAttributes (
  52. /*[in]*/ DWORD dwAttributeCount,
  53. /*[in]*/ PIASATTRIBUTE *ppIasAttribute
  54. );
  55. //
  56. // process the filled attributes
  57. //
  58. STDAPI
  59. DoRequest (
  60. /*[in]*/ DWORD dwAttributeCount,
  61. /*[in]*/ PIASATTRIBUTE *ppInIasAttribute,
  62. /*[out]*/ PDWORD pdwOutAttributeCount,
  63. /*[out]*/ PIASATTRIBUTE **pppOutIasAttribute,
  64. /*[in]*/ LONG IasRequest,
  65. /*[in/out]*/ LONG *pIasResponse,
  66. /*[in]*/ IASPROTOCOL IasProtocol,
  67. /*[out]*/ PLONG plReason,
  68. /*[in]*/ BOOL bProcessVSA
  69. );
  70. //
  71. // allocate dynamic memory
  72. //
  73. STDAPI_(PVOID)
  74. MemAllocIas (
  75. /*[in]*/ DWORD dwSize
  76. );
  77. //
  78. // free dynamic memory
  79. //
  80. STDAPI_(VOID)
  81. MemFreeIas (
  82. /*[in]*/ PVOID pAllocatedMem
  83. );
  84. //
  85. // reallocate dynamic memory passing in the address of the allocated
  86. // memory and the size needed
  87. //
  88. STDAPI_(PVOID)
  89. MemReallocIas (
  90. /*[in]*/ PVOID pAllocatedMem,
  91. /*[in]*/ DWORD dwNewSize
  92. );
  93. #ifdef __cplusplus
  94. }
  95. #endif
  96. #endif // ifndef _IASEXT_H_