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.

154 lines
2.6 KiB

  1. //
  2. // Policy Object References
  3. //
  4. DWORD
  5. RegAddNFAReferenceToPolicyObject(
  6. HKEY hRegistryKey,
  7. LPWSTR pszIpsecPolicyName,
  8. LPWSTR pszIpsecNFADistinguishedName
  9. );
  10. DWORD
  11. RegRemoveNFAReferenceFromPolicyObject(
  12. HKEY hRegistryKey,
  13. LPWSTR pszIpsecPolicyName,
  14. LPWSTR pszIpsecNFAName
  15. );
  16. //
  17. // NFA Object References
  18. //
  19. DWORD
  20. RegAddPolicyReferenceToNFAObject(
  21. HKEY hRegistryKey,
  22. LPWSTR pszIpsecNFAName,
  23. LPWSTR pszIpsecPolicyName
  24. );
  25. DWORD
  26. RegAddNegPolReferenceToNFAObject(
  27. HKEY hRegistryKey,
  28. LPWSTR pszIpsecNFAName,
  29. LPWSTR pszIpsecNegPolName
  30. );
  31. DWORD
  32. RegUpdateNegPolReferenceInNFAObject(
  33. HKEY hRegistryKey,
  34. LPWSTR pszIpsecNFAName,
  35. LPWSTR pszOldIpsecNegPolName,
  36. LPWSTR pszNewIpsecNegPolName
  37. );
  38. DWORD
  39. RegAddFilterReferenceToNFAObject(
  40. HKEY hRegistryKey,
  41. LPWSTR pszIpsecNFAName,
  42. LPWSTR pszIpsecFilterName
  43. );
  44. DWORD
  45. RegUpdateFilterReferenceInNFAObject(
  46. HKEY hRegistryKey,
  47. LPWSTR pszIpsecNFAName,
  48. LPWSTR pszOldIpsecFilterName,
  49. LPWSTR pszNewIpsecFilterName
  50. );
  51. //
  52. // Filter Object References
  53. //
  54. DWORD
  55. RegAddNFAReferenceToFilterObject(
  56. HKEY hRegistryKey,
  57. LPWSTR pszIpsecFilterName,
  58. LPWSTR pszIpsecNFAName
  59. );
  60. DWORD
  61. RegDeleteNFAReferenceInFilterObject(
  62. HKEY hRegistryKey,
  63. LPWSTR pszIpsecFilterName,
  64. LPWSTR pszIpsecNFAName
  65. );
  66. //
  67. // NegPol Object References
  68. //
  69. DWORD
  70. RegAddNFAReferenceToNegPolObject(
  71. HKEY hRegistryKey,
  72. LPWSTR pszIpsecNegPolName,
  73. LPWSTR pszIpsecNFAName
  74. );
  75. DWORD
  76. RegDeleteNFAReferenceInNegPolObject(
  77. HKEY hRegistryKey,
  78. LPWSTR pszIpsecNegPolName,
  79. LPWSTR pszIpsecNFAName
  80. );
  81. DWORD
  82. AddValueToMultiSz(
  83. LPBYTE pValueData,
  84. DWORD dwSize,
  85. LPWSTR pszValuetoAdd,
  86. LPBYTE * ppNewValueData,
  87. DWORD * pdwNewSize
  88. );
  89. DWORD
  90. DeleteValueFromMultiSz(
  91. LPBYTE pValueData,
  92. DWORD dwSize,
  93. LPWSTR pszValuetoDel,
  94. LPBYTE * ppNewValueData,
  95. DWORD * pdwNewSize
  96. );
  97. DWORD
  98. RegDelFilterRefValueOfNFAObject(
  99. HKEY hRegistryKey,
  100. LPWSTR pszIpsecNFAName
  101. );
  102. DWORD
  103. RegAddPolicyReferenceToISAKMPObject(
  104. HKEY hRegistryKey,
  105. LPWSTR pszIpsecISAKMPName,
  106. LPWSTR pszIpsecPolicyDistinguishedName
  107. );
  108. DWORD
  109. RegRemovePolicyReferenceFromISAKMPObject(
  110. HKEY hRegistryKey,
  111. LPWSTR pszIpsecISAKMPName,
  112. LPWSTR pszIpsecPolicyName
  113. );
  114. DWORD
  115. RegAddISAKMPReferenceToPolicyObject(
  116. HKEY hRegistryKey,
  117. LPWSTR pszIpsecPolicyName,
  118. LPWSTR pszIpsecISAKMPName
  119. );
  120. DWORD
  121. RegUpdateISAKMPReferenceInPolicyObject(
  122. HKEY hRegistryKey,
  123. LPWSTR pszIpsecPolicyName,
  124. LPWSTR pszOldIpsecISAKMPName,
  125. LPWSTR pszNewIpsecISAKMPName
  126. );