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.
44 lines
653 B
44 lines
653 B
HRESULT
|
|
CreateChildPath(
|
|
LPWSTR pszParentPath,
|
|
LPWSTR pszChildComponent,
|
|
BSTR * ppszChildPath
|
|
);
|
|
|
|
HRESULT
|
|
RetrieveIPSECPolicyFromDS(
|
|
PGROUP_POLICY_OBJECT pGPOInfo,
|
|
LPWSTR pszIPSecPolicy,
|
|
LPWSTR pszIPSecPolicyName,
|
|
LPWSTR pszIPSecPolicyDescription
|
|
);
|
|
|
|
|
|
DWORD
|
|
DeleteIPSECPolicyFromRegistry(
|
|
);
|
|
|
|
DWORD
|
|
WriteIPSECPolicyToRegistry(
|
|
LPWSTR pszIPSecPolicyPath,
|
|
LPWSTR pszIPSecPolicyName,
|
|
LPWSTR pszIPSecPolicyDescription
|
|
);
|
|
|
|
|
|
HRESULT
|
|
RegisterIPSEC(void);
|
|
|
|
HRESULT
|
|
UnregisterIPSEC(void);
|
|
|
|
VOID
|
|
PingPolicyAgent(
|
|
);
|
|
|
|
|
|
#define BAIL_ON_FAILURE(hr) \
|
|
if (FAILED(hr)) { \
|
|
goto error; \
|
|
}
|
|
|