Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the custom IKEv2 policy configuration for the specified interface.
Syntax
DWORD MprConfigInterfaceGetCustomInfoEx(
[in] HANDLE hMprConfig,
[in] HANDLE hRouterInterface,
[out] PMPR_IF_CUSTOMINFOEX pCustomInfo
);
Parameters
[in] hMprConfig
The handle to the router configuration. This handle is obtained 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.
[out] pCustomInfo
A pointer to a MPR_IF_CUSTOMINFOEX structure. When you have finished using the structure, free the buffer by calling the MprConfigBufferFree function.
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:
|
|
There were insufficient resources to complete the operation. |
|
The interface that corresponds to hRouterInterface parameter 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 |