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.

225 lines
4.1 KiB

  1. DWORD
  2. CacheDirectorytoRegistry(
  3. PIPSEC_POLICY_OBJECT pIpsecPolicyObject
  4. );
  5. DWORD
  6. PersistRegistryObject(
  7. PIPSEC_POLICY_OBJECT pIpsecRegPolicyObject
  8. );
  9. DWORD
  10. PersistNegPolObjects(
  11. HKEY hRegistryKey,
  12. PIPSEC_NEGPOL_OBJECT *ppIpsecNegPolObjects,
  13. DWORD dwNumNegPolObjects
  14. );
  15. DWORD
  16. PersistFilterObjects(
  17. HKEY hRegistryKey,
  18. PIPSEC_FILTER_OBJECT * ppIpsecFilterObjects,
  19. DWORD dwNumFilterObjects
  20. );
  21. DWORD
  22. PersistNFAObjects(
  23. HKEY hRegistryKey,
  24. PIPSEC_NFA_OBJECT * ppIpsecNFAObjects,
  25. DWORD dwNumNFAObjects
  26. );
  27. DWORD
  28. PersistISAKMPObjects(
  29. HKEY hRegistryKey,
  30. PIPSEC_ISAKMP_OBJECT * ppIpsecISAKMPObjects,
  31. DWORD dwNumISAKMPObjects
  32. );
  33. DWORD
  34. PersistPolicyObject(
  35. HKEY hRegistryKey,
  36. PIPSEC_POLICY_OBJECT pIpsecPolicyObject
  37. );
  38. DWORD
  39. PersistNFAObject(
  40. HKEY hRegistryKey,
  41. PIPSEC_NFA_OBJECT pIpsecNFAObject
  42. );
  43. DWORD
  44. PersistFilterObject(
  45. HKEY hRegistryKey,
  46. PIPSEC_FILTER_OBJECT pIpsecFilterObject
  47. );
  48. DWORD
  49. PersistNegPolObject(
  50. HKEY hRegistryKey,
  51. PIPSEC_NEGPOL_OBJECT pIpsecNegPolObject
  52. );
  53. DWORD
  54. PersistISAKMPObject(
  55. HKEY hRegistryKey,
  56. PIPSEC_ISAKMP_OBJECT pIpsecISAKMPObject
  57. );
  58. DWORD
  59. CloneDirectoryPolicyObject(
  60. PIPSEC_POLICY_OBJECT pIpsecPolicyObject,
  61. PIPSEC_POLICY_OBJECT * ppIpsecRegPolicyObject
  62. );
  63. DWORD
  64. CloneDirectoryNFAObjects(
  65. PIPSEC_NFA_OBJECT * ppIpsecNFAObjects,
  66. DWORD dwNumNFAObjects,
  67. PIPSEC_NFA_OBJECT ** pppIpsecRegNFAObjects
  68. );
  69. DWORD
  70. CloneDirectoryFilterObjects(
  71. PIPSEC_FILTER_OBJECT * ppIpsecFilterObjects,
  72. DWORD dwNumFilterObjects,
  73. PIPSEC_FILTER_OBJECT ** pppIpsecRegFilterObjects
  74. );
  75. DWORD
  76. CloneDirectoryNegPolObjects(
  77. PIPSEC_NEGPOL_OBJECT * ppIpsecNegPolObjects,
  78. DWORD dwNumNegPolObjects,
  79. PIPSEC_NEGPOL_OBJECT ** pppIpsecRegNegPolObjects
  80. );
  81. DWORD
  82. CloneDirectoryISAKMPObjects(
  83. PIPSEC_ISAKMP_OBJECT * ppIpsecISAKMPObjects,
  84. DWORD dwNumISAKMPObjects,
  85. PIPSEC_ISAKMP_OBJECT ** pppIpsecRegISAKMPObjects
  86. );
  87. DWORD
  88. CloneDirectoryFilterObject(
  89. PIPSEC_FILTER_OBJECT pIpsecFilterObject,
  90. PIPSEC_FILTER_OBJECT * ppIpsecRegFilterObject
  91. );
  92. DWORD
  93. CloneDirectoryNegPolObject(
  94. PIPSEC_NEGPOL_OBJECT pIpsecNegPolObject,
  95. PIPSEC_NEGPOL_OBJECT * ppIpsecRegNegPolObject
  96. );
  97. DWORD
  98. CloneDirectoryNFAObject(
  99. PIPSEC_NFA_OBJECT pIpsecNFAObject,
  100. PIPSEC_NFA_OBJECT * ppIpsecRegNFAObject
  101. );
  102. DWORD
  103. CloneDirectoryISAKMPObject(
  104. PIPSEC_ISAKMP_OBJECT pIpsecISAKMPObject,
  105. PIPSEC_ISAKMP_OBJECT * ppIpsecRegISAKMPObject
  106. );
  107. DWORD
  108. DeleteRegistryCache();
  109. DWORD
  110. CopyBinaryValue(
  111. LPBYTE pMem,
  112. DWORD dwMemSize,
  113. LPBYTE * ppNewMem
  114. );
  115. DWORD
  116. CopyFilterDSToRegString(
  117. LPWSTR pszFilterDN,
  118. LPWSTR * ppszFilterName
  119. );
  120. DWORD
  121. CopyNFADSToRegString(
  122. LPWSTR pszNFADN,
  123. LPWSTR * ppszNFAName
  124. );
  125. DWORD
  126. CopyNegPolDSToRegString(
  127. LPWSTR pszNegPolDN,
  128. LPWSTR * ppszNegPolName
  129. );
  130. DWORD
  131. CopyPolicyDSToRegString(
  132. LPWSTR pszPolicyDN,
  133. LPWSTR * ppszPolicyName
  134. );
  135. DWORD
  136. CopyISAKMPDSToRegString(
  137. LPWSTR pszISAKMPDN,
  138. LPWSTR * ppszISAKMPName
  139. );
  140. DWORD
  141. ComputeGUIDName(
  142. LPWSTR szCommonName,
  143. LPWSTR * ppszGuidName
  144. );
  145. DWORD
  146. CloneNFAReferencesDSToRegistry(
  147. LPWSTR * ppszIpsecNFAReferences,
  148. DWORD dwNFACount,
  149. LPWSTR * * pppszIpsecRegNFAReferences,
  150. PDWORD pdwRegNFACount
  151. );
  152. DWORD
  153. RegWriteMultiValuedString(
  154. HKEY hRegKey,
  155. LPWSTR pszValueName,
  156. LPWSTR * ppszStringReferences,
  157. DWORD dwNumStringReferences
  158. );
  159. DWORD
  160. CopyFilterDSToFQRegString(
  161. LPWSTR pszFilterDN,
  162. LPWSTR * ppszFilterName
  163. );
  164. DWORD
  165. CopyNFADSToFQRegString(
  166. LPWSTR pszNFADN,
  167. LPWSTR * ppszNFAName
  168. );
  169. DWORD
  170. CopyNegPolDSToFQRegString(
  171. LPWSTR pszNegPolDN,
  172. LPWSTR * ppszNegPolName
  173. );
  174. DWORD
  175. CopyPolicyDSToFQRegString(
  176. LPWSTR pszPolicyDN,
  177. LPWSTR * ppszPolicyName
  178. );
  179. DWORD
  180. CopyISAKMPDSToFQRegString(
  181. LPWSTR pszISAKMPDN,
  182. LPWSTR * ppszISAKMPName
  183. );