48 lines
691 B
C
48 lines
691 B
C
|
|
||
|
|
||
|
DWORD
|
||
|
ImportPoliciesFromFile(
|
||
|
HANDLE hSrcPolicyStore,
|
||
|
HANDLE hDesPolicyStore
|
||
|
);
|
||
|
|
||
|
|
||
|
DWORD
|
||
|
DeleteDuplicatePolicyData(
|
||
|
PIPSEC_POLICY_STORE pSrcPolicyStore,
|
||
|
HANDLE hDesPolicyStore
|
||
|
);
|
||
|
|
||
|
|
||
|
DWORD
|
||
|
IPSecDeletePolicy(
|
||
|
HANDLE hPolicyStore,
|
||
|
PIPSEC_POLICY_DATA pIpsecPolicyData
|
||
|
);
|
||
|
|
||
|
|
||
|
DWORD
|
||
|
RegDeletePolicy(
|
||
|
HKEY hRegistryKey,
|
||
|
LPWSTR pszIpsecRootContainer,
|
||
|
LPWSTR pszLocationName,
|
||
|
GUID PolicyGUID
|
||
|
);
|
||
|
|
||
|
|
||
|
DWORD
|
||
|
DirDeletePolicy(
|
||
|
HLDAP hLdapBindHandle,
|
||
|
LPWSTR pszIpsecRootContainer,
|
||
|
GUID PolicyIdentifier
|
||
|
);
|
||
|
|
||
|
|
||
|
DWORD
|
||
|
DirDeleteDynamicDefaultNegPolData(
|
||
|
HLDAP hLdapBindHandle,
|
||
|
LPWSTR pszIpsecRootContainer,
|
||
|
GUID NegPolGUID
|
||
|
);
|
||
|
|