2.2.1.2.65 PPP_IPCP_INFO
The PPP_IPCP_INFO structure contains the result of a PPP control protocol negotiation for IP.
-
typedef struct _PPP_IPCP_INFO { DWORD dwError; WCHAR wszAddress[16]; WCHAR wszRemoteAddress[16]; } PPP_IPCP_INFO;
dwError: Specifies the result of the PPP control protocol negotiation. A value of zero (0) indicates success. A nonzero value indicates failure and is the actual fatal error that occurred during the control protocol negotiation.
wszAddress: Specifies a null-terminated 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".
-
If a remote access client is connecting to a RRAS server, this member holds the IP address of the server.
wszRemoteAddress: Specifies a null-terminated 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.
-
If a remote access client is connecting to a RRAS server, this member holds the IP address of the client.