MprAdminServerSetInfoEx function

The MprAdminServerSetInfoEx function sets port information on a specified RRAS server.

Syntax


DWORD APIENTRY MprAdminServerSetInfo(
  _In_  MPR_SERVER_HANDLE hMprServer,
  _In_  MPR_SERVER_SET_CONFIG_EX *pServerInfo
);

Parameters

hMprServer [in]

A handle to the router to query. Obtain this handle by calling MprAdminServerConnect.

pServerInfo [in]

A pointer to a MPR_SERVER_SET_CONFIG_EX structure that contains the port information being set on the server in hMprServer.

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.

ValueMeaning
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.

 

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Mprapi.h

Library

Mprapi.lib

DLL

Mprapi.dll

See also

Router Administration Functions
Router Management Reference
MprAdminBufferFree
MprAdminServerConnect
MprAdminServerGetInfoEx

 

 

Community Additions

ADD
Show:
© 2014 Microsoft