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.

100 lines
1.9 KiB

  1. DWORD
  2. GenerateDefaultInformation(
  3. HANDLE hPolicyStore
  4. );
  5. DWORD
  6. CreateAllFilter(
  7. HANDLE hPolicyStore,
  8. PIPSEC_FILTER_DATA * ppAllFilter
  9. );
  10. DWORD
  11. CreateAllICMPFilter(
  12. HANDLE hPolicyStore,
  13. PIPSEC_FILTER_DATA * ppAllICMPFilter
  14. );
  15. DWORD
  16. CreatePermitNegPol(
  17. HANDLE hPolicyStore,
  18. PIPSEC_NEGPOL_DATA * ppPermitNegPol
  19. );
  20. DWORD
  21. CreateRequestSecurityNegPol(
  22. HANDLE hPolicyStore,
  23. PIPSEC_NEGPOL_DATA * ppRequestSecurityNegPol
  24. );
  25. DWORD
  26. CreateRequireSecurityNegPol(
  27. HANDLE hPolicyStore,
  28. PIPSEC_NEGPOL_DATA * ppRequireSecurityNegPol
  29. );
  30. DWORD
  31. CreateClientPolicy(
  32. HANDLE hPolicyStore
  33. );
  34. DWORD
  35. CreateRequestSecurityPolicy(
  36. HANDLE hPolicyStore,
  37. PIPSEC_FILTER_DATA pAllFilter,
  38. PIPSEC_FILTER_DATA pAllICMPFilter,
  39. PIPSEC_NEGPOL_DATA pPermitNegPol,
  40. PIPSEC_NEGPOL_DATA pRequestSecurityNegPol
  41. );
  42. DWORD
  43. CreateRequireSecurityPolicy(
  44. HANDLE hPolicyStore,
  45. PIPSEC_FILTER_DATA pAllFilter,
  46. PIPSEC_FILTER_DATA pAllICMPFilter,
  47. PIPSEC_NEGPOL_DATA pPermitNegPol,
  48. PIPSEC_NEGPOL_DATA pRequireSecurityNegPol
  49. );
  50. DWORD
  51. CreateISAKMP(
  52. HANDLE hPolicyStore,
  53. GUID ISAKMPIdentifier,
  54. PIPSEC_ISAKMP_DATA * ppIpsecISAKMPData
  55. );
  56. DWORD
  57. CreateDefaultNegPol(
  58. HANDLE hPolicyStore,
  59. PIPSEC_NEGPOL_DATA * ppDefaultNegPol
  60. );
  61. DWORD
  62. CreateNFA(
  63. HANDLE hPolicyStore,
  64. GUID NFAIdentifier,
  65. GUID PolicyIdentifier,
  66. GUID FilterIdentifier,
  67. GUID NegPolIdentifier,
  68. LPWSTR pszNFAName,
  69. LPWSTR pszNFADescription
  70. );
  71. DWORD
  72. MapIdAndCreateNFA(
  73. HANDLE hPolicyStore,
  74. GUID NFAIdentifier,
  75. GUID PolicyIdentifier,
  76. GUID FilterIdentifier,
  77. GUID NegPolIdentifier,
  78. DWORD dwNFANameID,
  79. DWORD dwNFADescriptionID
  80. );
  81. DWORD
  82. MapAndAllocPolStr(
  83. LPWSTR * plpStr,
  84. DWORD dwStrID
  85. );