Determining the IP Address in a PPP Connection

If you want to determine the IP address in a PPP Connection, you can call the RasGetProjectionInfo function after the connection is established. Specify RASP_PppIp as the rasprojection type, and pass the address of a RASPPPIP structure as lpprojection. If successful, the IP address will be returned in the szIpAddress member of the RASPPPIP structure.

© 1992-2000 Microsoft Corporation. All rights reserved.