Skip to content

Latest commit

 

History

History
151 lines (115 loc) · 3.85 KB

nf-mprapi-mpradminconnectiongetinfoex.md

File metadata and controls

151 lines (115 loc) · 3.85 KB
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.
MprAdminConnectionGetInfoEx
MprAdminConnectionGetInfoEx function [RAS]
mprapi/MprAdminConnectionGetInfoEx
rras.mpradminconnectiongetinfoex
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
MprAdminConnectionGetInfoEx
mprapi/MprAdminConnectionGetInfoEx
c++
APIRef
kbSyntax
DllExport
Mprapi.dll
MprAdminConnectionGetInfoEx

MprAdminConnectionGetInfoEx function

-description

The MprAdminConnectionGetInfoEx function retrieves the connection information for a specific connection on a specified RRAS server.

-parameters

-param hRasServer [in]

A handle to the computer from which the connection information is retrieved. To obtain this handle, call MprAdminServerConnect.

-param hRasConnection [in]

A handle to the connection to retrieve data about. To obtain this handle, call MprAdminConnectionEnum.

-param pRasConnection [out]

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.

-returns

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_ACCESS_DENIED
The calling application does not have sufficient privileges.
ERROR_DDM_NOT_RUNNING
The Demand Dial Manager (DDM) is not running.
ERROR_PROC_NOT_FOUND
The specified procedure could not be found.
Other
An error from MprError.h, RasError.h, or WinError.h.

-remarks

The caller should free the memory pointed to by pRasConnection by calling the function MprAdminBufferFree.

-see-also

MprAdminBufferFree

MprAdminConnectionEnum

MprAdminConnectionGetInfo

RAS Administration Functions

Remote Access Service Administration Reference