Determining the IP Address in a PPP Connection (Windows CE 5.0)
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 this call is successful, the IP address will be returned in the szIpAddress member of the RASPPPIP structure.
See Also
Creating a PPP Dial-up Session
Send Feedback on this topic to the authors