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.

117 lines
1.8 KiB

  1. typedef struct _iniMMpolicy {
  2. GUID gPolicyID;
  3. LPWSTR pszPolicyName;
  4. DWORD cRef;
  5. BOOL bIsPersisted;
  6. DWORD dwFlags;
  7. ULONG uSoftSAExpirationTime;
  8. DWORD dwOfferCount;
  9. PIPSEC_MM_OFFER pOffers;
  10. struct _iniMMpolicy * pNext;
  11. } INIMMPOLICY, * PINIMMPOLICY;
  12. DWORD
  13. CreateIniMMPolicy(
  14. PIPSEC_MM_POLICY pMMPolicy,
  15. PINIMMPOLICY * ppIniMMPolicy
  16. );
  17. DWORD
  18. ValidateMMPolicy(
  19. PIPSEC_MM_POLICY pMMPolicy
  20. );
  21. DWORD
  22. ValidateMMOffers(
  23. DWORD dwOfferCount,
  24. PIPSEC_MM_OFFER pOffers
  25. );
  26. PINIMMPOLICY
  27. FindMMPolicy(
  28. PINIMMPOLICY pIniMMPolicyList,
  29. LPWSTR pszPolicyName
  30. );
  31. VOID
  32. FreeIniMMPolicy(
  33. PINIMMPOLICY pIniMMPolicy
  34. );
  35. VOID
  36. FreeIniMMOffers(
  37. DWORD dwOfferCount,
  38. PIPSEC_MM_OFFER pOffers
  39. );
  40. DWORD
  41. CreateIniMMOffers(
  42. DWORD dwInOfferCount,
  43. PIPSEC_MM_OFFER pInOffers,
  44. PDWORD pdwOfferCount,
  45. PIPSEC_MM_OFFER * ppOffers
  46. );
  47. DWORD
  48. SetIniMMPolicy(
  49. PINIMMPOLICY pIniMMPolicy,
  50. PIPSEC_MM_POLICY pMMPolicy
  51. );
  52. DWORD
  53. GetIniMMPolicy(
  54. PINIMMPOLICY pIniMMPolicy,
  55. PIPSEC_MM_POLICY * ppMMPolicy
  56. );
  57. DWORD
  58. CopyMMPolicy(
  59. PINIMMPOLICY pIniMMPolicy,
  60. PIPSEC_MM_POLICY pMMPolicy
  61. );
  62. DWORD
  63. CreateMMOffers(
  64. DWORD dwInOfferCount,
  65. PIPSEC_MM_OFFER pInOffers,
  66. PDWORD pdwOfferCount,
  67. PIPSEC_MM_OFFER * ppOffers
  68. );
  69. DWORD
  70. DeleteIniMMPolicy(
  71. PINIMMPOLICY pIniMMPolicy
  72. );
  73. VOID
  74. FreeMMOffers(
  75. DWORD dwOfferCount,
  76. PIPSEC_MM_OFFER pOffers
  77. );
  78. VOID
  79. FreeIniMMPolicyList(
  80. PINIMMPOLICY pIniMMPolicyList
  81. );
  82. PINIMMPOLICY
  83. FindMMPolicyByGuid(
  84. PINIMMPOLICY pIniMMPolicyList,
  85. GUID gPolicyID
  86. );
  87. VOID
  88. FreeMMPolicies(
  89. DWORD dwNumMMPolicies,
  90. PIPSEC_MM_POLICY pMMPolicies
  91. );
  92. DWORD
  93. LocateMMPolicy(
  94. PMM_FILTER pMMFilter,
  95. PINIMMPOLICY * ppIniMMPolicy
  96. );