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.
The MprAdminInterfaceUpdatePhonebookInfo function forces the router to pick up changes made on a specified demand-dial interface. Call this function after changes are made to a phone-book entry for a demand-dial interface.
Syntax
DWORD MprAdminInterfaceUpdatePhonebookInfo(
[in] MPR_SERVER_HANDLE hMprServer,
[in] HANDLE hInterface
);
Parameters
[in] hMprServer
Handle to the router on which to execute this call. Obtain the handle by calling MprAdminServerConnect.
[in] hInterface
Handle to a demand-dial interface. Obtain this handle by calling MprAdminInterfaceCreate.
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.
| Value | Meaning |
|---|---|
|
The calling application does not have sufficient privileges. |
|
The function could not load the phone book into memory. |
|
The function could not find the phone-book file. |
|
The Demand Dial Manager (DDM) is not running. |
|
No device is currently associated with this interface. |
|
The hInterface value is invalid. |
|
Insufficient resources to complete the operation. |
|
Use FormatMessage to retrieve the system error message that corresponds to the error code returned. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | None supported |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
| Target Platform | Windows |
| Header | mprapi.h |
| Library | Mprapi.lib |
| DLL | Mprapi.dll |