The MprConfigServerGetInfo function retrieves server-level configuration information for the specified router.
DWORD MprConfigServerGetInfo( HANDLE hMprConfig, // handle to the router configuration DWORD dwLevel, // level of information LPBYTE *lplpBuffer // buffer to receive information );
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 |
---|---|
ERROR_INVALID_PARAMETER | At least one of the following is true:
|
ERROR_NOT_ENOUGH_MEMORY | Insufficient resources to complete the operation. |
Other | Use FormatMessage to retrieve the system error message that corresponds to the error code returned. |
Currently, the only information returned by MprConfigServerGetInfo is the fLanOnlyMode flag.
Windows NT/2000: Requires Windows 2000.
Header: Declared in Mprapi.h.
Library: Use Mprapi.lib.
Router Management Reference, Router Configuration Functions, FormatMessage, MPR_SERVER_0, MprConfigBufferFree, MprConfigServerConnect