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.

43 lines
653 B

  1. HRESULT
  2. CreateChildPath(
  3. LPWSTR pszParentPath,
  4. LPWSTR pszChildComponent,
  5. BSTR * ppszChildPath
  6. );
  7. HRESULT
  8. RetrieveIPSECPolicyFromDS(
  9. PGROUP_POLICY_OBJECT pGPOInfo,
  10. LPWSTR pszIPSecPolicy,
  11. LPWSTR pszIPSecPolicyName,
  12. LPWSTR pszIPSecPolicyDescription
  13. );
  14. DWORD
  15. DeleteIPSECPolicyFromRegistry(
  16. );
  17. DWORD
  18. WriteIPSECPolicyToRegistry(
  19. LPWSTR pszIPSecPolicyPath,
  20. LPWSTR pszIPSecPolicyName,
  21. LPWSTR pszIPSecPolicyDescription
  22. );
  23. HRESULT
  24. RegisterIPSEC(void);
  25. HRESULT
  26. UnregisterIPSEC(void);
  27. VOID
  28. PingPolicyAgent(
  29. );
  30. #define BAIL_ON_FAILURE(hr) \
  31. if (FAILED(hr)) { \
  32. goto error; \
  33. }
  34.