RAS_UPDATE_CONNECTION structure (mprapi.h)

The RAS_UPDATE_CONNECTION structure is used to update an active RAS connection.

Syntax

typedef struct RAS_UPDATE_CONNECTION_ {
  MPRAPI_OBJECT_HEADER Header;
  DWORD                dwIfIndex;
  WCHAR                wszLocalEndpointAddress[MAXIPADRESSLEN + 1];
  WCHAR                wszRemoteEndpointAddress[MAXIPADRESSLEN + 1];
} RAS_UPDATE_CONNECTION, *PRAS_UPDATE_CONNECTION;

Members

Header

A MPRAPI_OBJECT_HEADER structure that specifies the version of the RAS_UPDATE_CONNECTION structure.

Note  The revision member of Header must be 0x01 and type must be MPRAPI_OBJECT_TYPE_UPDATE_CONNECTION_OBJECT.
 

dwIfIndex

A value that specifies the new interface index of the Virtual Private Network (VPN) endpoint.

wszLocalEndpointAddress[MAXIPADRESSLEN + 1]

A null-terminated Unicode string that contains the new IP address of the local computer in the connection. This string is of the form "a.b.c.d".

wszRemoteEndpointAddress[MAXIPADRESSLEN + 1]

A null-terminated Unicode string that contains the new IP address of the remote computer in the connection. This string is of the form "a.b.d.c".

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header mprapi.h

See also

Router Management Reference

Router Management Structures