RAS_UPDATE_CONNECTION structure

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

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

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

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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft