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.

257 lines
5.2 KiB

  1. HRESULT
  2. PersistWMIObject(
  3. IWbemServices *pWbemServices,
  4. PIPSEC_POLICY_OBJECT pIpsecRegPolicyObject,
  5. PGPO_INFO pGPOInfo
  6. );
  7. HRESULT
  8. PersistNegPolObjectsEx(
  9. IWbemServices *pWbemServices,
  10. IWbemClassObject *pWbemClassObj,
  11. PIPSEC_NEGPOL_OBJECT *ppIpsecNegPolObjects,
  12. DWORD dwNumNegPolObjects,
  13. PGPO_INFO pGPOInfo
  14. );
  15. HRESULT
  16. PersistFilterObjectsEx(
  17. IWbemServices *pWbemServices,
  18. IWbemClassObject *pWbemClassObj,
  19. PIPSEC_FILTER_OBJECT * ppIpsecFilterObjects,
  20. DWORD dwNumFilterObjects,
  21. PGPO_INFO pGPOInfo
  22. );
  23. HRESULT
  24. PersistNFAObjectsEx(
  25. IWbemServices *pWbemServices,
  26. IWbemClassObject *pWbemClassObj,
  27. PIPSEC_NFA_OBJECT * ppIpsecNFAObjects,
  28. DWORD dwNumNFAObjects,
  29. PGPO_INFO pGPOInfo
  30. );
  31. HRESULT
  32. PersistISAKMPObjectsEx(
  33. IWbemServices *pWbemServices,
  34. IWbemClassObject *pWbemClassObj,
  35. PIPSEC_ISAKMP_OBJECT * ppIpsecISAKMPObjects,
  36. DWORD dwNumISAKMPObjects,
  37. PGPO_INFO pGPOInfo
  38. );
  39. HRESULT
  40. PersistPolicyObjectEx(
  41. IWbemServices *pWbemServices,
  42. IWbemClassObject *pWbemClassObj,
  43. PIPSEC_POLICY_OBJECT pIpsecPolicyObject,
  44. PGPO_INFO pGPOInfo
  45. );
  46. HRESULT
  47. PersistNFAObjectEx(
  48. IWbemServices *pWbemServices,
  49. IWbemClassObject *pWbemClassObj,
  50. PIPSEC_NFA_OBJECT pIpsecNFAObject,
  51. PGPO_INFO pGPOInfo
  52. );
  53. HRESULT
  54. PersistFilterObjectEx(
  55. IWbemServices *pWbemServices,
  56. IWbemClassObject *pWbemClassObj,
  57. PIPSEC_FILTER_OBJECT pIpsecFilterObject,
  58. PGPO_INFO pGPOInfo
  59. );
  60. HRESULT
  61. PersistNegPolObjectEx(
  62. IWbemServices *pWbemServices,
  63. IWbemClassObject *pWbemClassObj,
  64. PIPSEC_NEGPOL_OBJECT pIpsecNegPolObject,
  65. PGPO_INFO pGPOInfo
  66. );
  67. HRESULT
  68. PersistISAKMPObjectEx(
  69. IWbemServices *pWbemServices,
  70. IWbemClassObject *pWbemClassObj,
  71. PIPSEC_ISAKMP_OBJECT pIpsecISAKMPObject,
  72. PGPO_INFO pGPOInfo
  73. );
  74. HRESULT
  75. PersistComnRSOPPolicySettings(
  76. IWbemClassObject * pInstIPSECObj,
  77. PGPO_INFO pGPOInfo
  78. );
  79. HRESULT
  80. CloneDirectoryPolicyObjectEx(
  81. PIPSEC_POLICY_OBJECT pIpsecPolicyObject,
  82. PIPSEC_POLICY_OBJECT * ppIpsecWMIPolicyObject
  83. );
  84. DWORD
  85. CloneDirectoryNFAObjectsEx(
  86. PIPSEC_NFA_OBJECT * ppIpsecNFAObjects,
  87. DWORD dwNumNFAObjects,
  88. PIPSEC_NFA_OBJECT ** pppIpsecWMINFAObjects
  89. );
  90. DWORD
  91. CloneDirectoryFilterObjectsEx(
  92. PIPSEC_FILTER_OBJECT * ppIpsecFilterObjects,
  93. DWORD dwNumFilterObjects,
  94. PIPSEC_FILTER_OBJECT ** pppIpsecWMIFilterObjects
  95. );
  96. DWORD
  97. CloneDirectoryISAKMPObjectsEx(
  98. PIPSEC_ISAKMP_OBJECT * ppIpsecISAKMPObjects,
  99. DWORD dwNumISAKMPObjects,
  100. PIPSEC_ISAKMP_OBJECT ** pppIpsecWMIISAKMPObjects
  101. );
  102. DWORD
  103. CloneDirectoryNegPolObjectsEx(
  104. PIPSEC_NEGPOL_OBJECT * ppIpsecNegPolObjects,
  105. DWORD dwNumNegPolObjects,
  106. PIPSEC_NEGPOL_OBJECT ** pppIpsecWMINegPolObjects
  107. );
  108. DWORD
  109. CloneDirectoryFilterObjectEx(
  110. PIPSEC_FILTER_OBJECT pIpsecFilterObject,
  111. PIPSEC_FILTER_OBJECT * ppIpsecWMIFilterObject
  112. );
  113. DWORD
  114. CloneDirectoryNegPolObjectEx(
  115. PIPSEC_NEGPOL_OBJECT pIpsecNegPolObject,
  116. PIPSEC_NEGPOL_OBJECT * ppIpsecWMINegPolObject
  117. );
  118. DWORD
  119. CloneDirectoryNFAObjectEx(
  120. PIPSEC_NFA_OBJECT pIpsecNFAObject,
  121. PIPSEC_NFA_OBJECT * ppIpsecWMINFAObject
  122. );
  123. DWORD
  124. CloneDirectoryISAKMPObjectEx(
  125. PIPSEC_ISAKMP_OBJECT pIpsecISAKMPObject,
  126. PIPSEC_ISAKMP_OBJECT * ppIpsecWMIISAKMPObject
  127. );
  128. DWORD
  129. CopyFilterDSToFQWMIString(
  130. LPWSTR pszFilterDN,
  131. LPWSTR * ppszFilterName
  132. );
  133. DWORD
  134. CopyNFADSToFQWMIString(
  135. LPWSTR pszNFADN,
  136. LPWSTR * ppszNFAName
  137. );
  138. DWORD
  139. CopyNegPolDSToFQWMIString(
  140. LPWSTR pszNegPolDN,
  141. LPWSTR * ppszNegPolName
  142. );
  143. DWORD
  144. CopyPolicyDSToFQWMIString(
  145. LPWSTR pszPolicyDN,
  146. LPWSTR * ppszPolicyName
  147. );
  148. DWORD
  149. CopyISAKMPDSToFQWMIString(
  150. LPWSTR pszISAKMPDN,
  151. LPWSTR * ppszISAKMPName
  152. );
  153. DWORD
  154. CloneNFAReferencesDSToWMI(
  155. LPWSTR * ppszIpsecNFAReferences,
  156. DWORD dwNFACount,
  157. LPWSTR * * pppszIpsecWMINFAReferences,
  158. PDWORD pdwWMINFACount
  159. );
  160. HRESULT
  161. WMIWriteMultiValuedString(
  162. IWbemClassObject *pInstWbemClassObject,
  163. LPWSTR pszValueName,
  164. LPWSTR * ppszStringReferences,
  165. DWORD dwNumStringReferences
  166. );
  167. DWORD
  168. CopyFilterDSToWMIString(
  169. LPWSTR pszFilterDN,
  170. LPWSTR * ppszFilterName
  171. );
  172. DWORD
  173. CopyNFADSToWMIString(
  174. LPWSTR pszNFADN,
  175. LPWSTR * ppszNFAName
  176. );
  177. DWORD
  178. CopyNegPolDSToWMIString(
  179. LPWSTR pszNegPolDN,
  180. LPWSTR * ppszNegPolName
  181. );
  182. DWORD
  183. CopyPolicyDSToWMIString(
  184. LPWSTR pszPolicyDN,
  185. LPWSTR * ppszPolicyName
  186. );
  187. DWORD
  188. CopyISAKMPDSToWMIString(
  189. LPWSTR pszISAKMPDN,
  190. LPWSTR * ppszISAKMPName
  191. );
  192. HRESULT
  193. LogBlobPropertyEx(
  194. IWbemClassObject *pInstance,
  195. BSTR bstrPropName,
  196. BYTE *pbBlob,
  197. DWORD dwLen
  198. );
  199. HRESULT
  200. DeleteWMIClassObject(
  201. IWbemServices *pWbemServices,
  202. LPWSTR pszIpsecWMIObject
  203. );
  204. LPWSTR
  205. AllocPolBstrStr(
  206. LPCWSTR pStr
  207. );
  208. HRESULT
  209. PolSysAllocString(
  210. BSTR * pbsStr,
  211. const OLECHAR * sz
  212. );
  213. #define SKIPL(pstr) (pstr+2)
  214. #define IPSEC_RSOP_CLASSNAME L"RSOP_IPSECPolicySetting"