PPP_IPCP_INFO structure (mprapi.h)

The PPP_IPCP_INFO structure contains the result of a PPP Internet Protocol (IP) negotiation.

Syntax

typedef struct _PPP_IPCP_INFO {
  DWORD dwError;
  WCHAR wszAddress[IPADDRESSLEN + 1];
  WCHAR wszRemoteAddress[IPADDRESSLEN + 1];
} PPP_IPCP_INFO;

Members

dwError

Specifies the result of the PPP control protocol negotiation. A value of zero indicates success. A nonzero value indicates failure, and is the actual fatal error that occurred during the control protocol negotiation.

wszAddress[IPADDRESSLEN + 1]

Specifies a Unicode string that holds the local computer's IP address for the connection. This string has the form a.b.c.d; for example, "10.102.235.84".

The PPP_IPCP_INFO structures provides address information from the perspective of the server. For example, if a remote access client is connecting to a RAS server, this member holds the IP address of the server.

wszRemoteAddress[IPADDRESSLEN + 1]

Specifies a Unicode string that holds the IP address of the remote computer. This string has the form a.b.c.d. If the address is not available, this member is an empty string.

The PPP_IPCP_INFO structures provides address information from the perspective of the server. For example, if a remote access client is connecting to a RAS server, this member holds the IP address of the client.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header mprapi.h

See also

PPP_INFO

PPP_IPCP_INFO2

RAS Administration Structures

Remote Access Service Administration Reference