Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
MprConfigInterfaceSetCustomInfoEx function (mprapi.h)
Sets the custom IKEv2 policy configuration for the specified interface.
Syntax
DWORD MprConfigInterfaceSetCustomInfoEx(
[in] HANDLE hMprConfig,
[in] HANDLE hRouterInterface,
[in] PMPR_IF_CUSTOMINFOEX pCustomInfo
);
Parameters
[in] hMprConfig
The handle to the router configuration. Obtain this handle by calling the MprConfigServerConnect function.
[in] hRouterInterface
The handle to the interface configuration being updated. Obtain this handle by calling the MprConfigInterfaceCreate function, the MprConfigInterfaceGetHandle function, or the MprConfigInterfaceEnum function.
[in] pCustomInfo
A pointer to a MPR_IF_CUSTOMINFOEX structure.
Return value
If the function succeeds, the return value is NO_ERROR. If the function fails, the return value is one of the following error codes.
| Return code | Description |
|---|---|
|
At least one of the following is true:
|
|
The interface that corresponds to hRouterInterface is not present in the router configuration. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | None supported |
| Minimum supported server | Windows Server 2012 [desktop apps only] |
| Target Platform | Windows |
| Header | mprapi.h |
| Library | Mprapi.lib |
| DLL | Mprapi.dll |
See also
Feedback
Was this page helpful?
