UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:mprapi.MprAdminConnectionGetInfoEx |
MprAdminConnectionGetInfoEx function (mprapi.h) |
Retrieves the connection information for a specific connection on a specified RRAS server. |
|
rras\mpradminconnectiongetinfoex.htm |
RRAS |
7b6a27da-306c-48e5-830b-215ce6f80ea1 |
12/05/2018 |
MprAdminConnectionGetInfoEx, MprAdminConnectionGetInfoEx function [RAS], mprapi/MprAdminConnectionGetInfoEx, rras.mpradminconnectiongetinfoex |
mprapi.h |
Windows |
Windows 7 [desktop apps only] |
Windows Server 2008 R2 [desktop apps only] |
Mprapi.lib |
Mprapi.dll |
Windows |
19H1 |
|
|
|
|
|
|
The MprAdminConnectionGetInfoEx function retrieves the connection information for a specific connection on a specified RRAS server.
A handle to the computer from which the connection information is retrieved. To obtain this handle, call MprAdminServerConnect.
A handle to the connection to retrieve data about. To obtain this handle, call MprAdminConnectionEnum.
A pointer, on output, to a RAS_CONNECTION_EX structure that contains the connection information for the RRAS server in hRasServer.
To free this memory, call MprAdminBufferFree.
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. |
|
An error from MprError.h, RasError.h, or WinError.h. |
The caller should free the memory pointed to by pRasConnection by calling the function MprAdminBufferFree.