Determining the IP Address in a PPP Connection (Windows Embedded CE 6.0)
1/6/2010
If you want to determine the IP address in a PPP Connection, you can call theRasGetProjectionInfo function after the connection is established. Specify RASP_PppIp as the rasprojection type, and pass the address of a RASPPPIP structure as lpprojection. If this call is successful, the IP address will be returned in the szIpAddress member of the RASPPPIP structure.