Code: Select all
typedef struct _RASPPPIP {
  DWORD dwSize;
  DWORD dwError;
  TCHAR szIpAddress[RAS_MaxIpAddress + 1];
#ifndef WINNT35COMPATIBLE
  TCHAR szServerIpAddress[RAS_MaxIpAddress + 1];
#endif 
#if (WINVER >= 0x500)
  DWORD dwOptions;
  DWORD dwServerOptions;
#endif 
} RASPPPIP;
In addition to an example
RasGetProjectionInfo
Get dynamic IP
