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 MprAdminServerGetInfoEx function retrieves port information about the specified RRAS server.
Syntax
DWORD MprAdminServerGetInfoEx(
[in] MPR_SERVER_HANDLE hMprServer,
[out] MPR_SERVER_EX *pServerInfo
);
Parameters
[in] hMprServer
A handle to the server to query. Obtain this handle by calling MprAdminServerConnect.
[out] pServerInfo
A pointer, on output, to a MPR_SERVER_EX structure that contains the port information for the RRAS server in hMprServer.
To free this memory, call MprAdminBufferFree.
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 Demand Dial Manager (DDM) is not running. |
|
The specified procedure could not be found. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | None supported |
| Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
| Target Platform | Windows |
| Header | mprapi.h |
| Library | Mprapi.lib |
| DLL | Mprapi.dll |