mirror of https://github.com/tongzx/nt5src
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.
154 lines
2.6 KiB
154 lines
2.6 KiB
|
|
//
|
|
// Policy Object References
|
|
//
|
|
|
|
DWORD
|
|
RegAddNFAReferenceToPolicyObject(
|
|
HKEY hRegistryKey,
|
|
LPWSTR pszIpsecPolicyName,
|
|
LPWSTR pszIpsecNFADistinguishedName
|
|
);
|
|
|
|
DWORD
|
|
RegRemoveNFAReferenceFromPolicyObject(
|
|
HKEY hRegistryKey,
|
|
LPWSTR pszIpsecPolicyName,
|
|
LPWSTR pszIpsecNFAName
|
|
);
|
|
|
|
//
|
|
// NFA Object References
|
|
//
|
|
|
|
DWORD
|
|
RegAddPolicyReferenceToNFAObject(
|
|
HKEY hRegistryKey,
|
|
LPWSTR pszIpsecNFAName,
|
|
LPWSTR pszIpsecPolicyName
|
|
);
|
|
|
|
|
|
DWORD
|
|
RegAddNegPolReferenceToNFAObject(
|
|
HKEY hRegistryKey,
|
|
LPWSTR pszIpsecNFAName,
|
|
LPWSTR pszIpsecNegPolName
|
|
);
|
|
|
|
DWORD
|
|
RegUpdateNegPolReferenceInNFAObject(
|
|
HKEY hRegistryKey,
|
|
LPWSTR pszIpsecNFAName,
|
|
LPWSTR pszOldIpsecNegPolName,
|
|
LPWSTR pszNewIpsecNegPolName
|
|
);
|
|
|
|
|
|
DWORD
|
|
RegAddFilterReferenceToNFAObject(
|
|
HKEY hRegistryKey,
|
|
LPWSTR pszIpsecNFAName,
|
|
LPWSTR pszIpsecFilterName
|
|
);
|
|
|
|
DWORD
|
|
RegUpdateFilterReferenceInNFAObject(
|
|
HKEY hRegistryKey,
|
|
LPWSTR pszIpsecNFAName,
|
|
LPWSTR pszOldIpsecFilterName,
|
|
LPWSTR pszNewIpsecFilterName
|
|
);
|
|
|
|
|
|
//
|
|
// Filter Object References
|
|
//
|
|
|
|
|
|
DWORD
|
|
RegAddNFAReferenceToFilterObject(
|
|
HKEY hRegistryKey,
|
|
LPWSTR pszIpsecFilterName,
|
|
LPWSTR pszIpsecNFAName
|
|
);
|
|
|
|
DWORD
|
|
RegDeleteNFAReferenceInFilterObject(
|
|
HKEY hRegistryKey,
|
|
LPWSTR pszIpsecFilterName,
|
|
LPWSTR pszIpsecNFAName
|
|
);
|
|
|
|
//
|
|
// NegPol Object References
|
|
//
|
|
|
|
|
|
DWORD
|
|
RegAddNFAReferenceToNegPolObject(
|
|
HKEY hRegistryKey,
|
|
LPWSTR pszIpsecNegPolName,
|
|
LPWSTR pszIpsecNFAName
|
|
);
|
|
|
|
DWORD
|
|
RegDeleteNFAReferenceInNegPolObject(
|
|
HKEY hRegistryKey,
|
|
LPWSTR pszIpsecNegPolName,
|
|
LPWSTR pszIpsecNFAName
|
|
);
|
|
|
|
DWORD
|
|
AddValueToMultiSz(
|
|
LPBYTE pValueData,
|
|
DWORD dwSize,
|
|
LPWSTR pszValuetoAdd,
|
|
LPBYTE * ppNewValueData,
|
|
DWORD * pdwNewSize
|
|
);
|
|
|
|
DWORD
|
|
DeleteValueFromMultiSz(
|
|
LPBYTE pValueData,
|
|
DWORD dwSize,
|
|
LPWSTR pszValuetoDel,
|
|
LPBYTE * ppNewValueData,
|
|
DWORD * pdwNewSize
|
|
);
|
|
|
|
DWORD
|
|
RegDelFilterRefValueOfNFAObject(
|
|
HKEY hRegistryKey,
|
|
LPWSTR pszIpsecNFAName
|
|
);
|
|
|
|
DWORD
|
|
RegAddPolicyReferenceToISAKMPObject(
|
|
HKEY hRegistryKey,
|
|
LPWSTR pszIpsecISAKMPName,
|
|
LPWSTR pszIpsecPolicyDistinguishedName
|
|
);
|
|
|
|
DWORD
|
|
RegRemovePolicyReferenceFromISAKMPObject(
|
|
HKEY hRegistryKey,
|
|
LPWSTR pszIpsecISAKMPName,
|
|
LPWSTR pszIpsecPolicyName
|
|
);
|
|
|
|
DWORD
|
|
RegAddISAKMPReferenceToPolicyObject(
|
|
HKEY hRegistryKey,
|
|
LPWSTR pszIpsecPolicyName,
|
|
LPWSTR pszIpsecISAKMPName
|
|
);
|
|
|
|
DWORD
|
|
RegUpdateISAKMPReferenceInPolicyObject(
|
|
HKEY hRegistryKey,
|
|
LPWSTR pszIpsecPolicyName,
|
|
LPWSTR pszOldIpsecISAKMPName,
|
|
LPWSTR pszNewIpsecISAKMPName
|
|
);
|
|
|