RASPPPIP

This structure contains the result of a PPP IP projection operation.

The RasGetProjectionInfo function returns a RASPPPIP structure when its rasprojection parameter has the value RASP_PppIp.

typedef struct _RASPPPIP { 
  DWORD dwSize; 
  DWORD dwError; 
  TCHAR szIpAddress[ RAS_MaxIpAddress + 1 ]; 
} RASPPPIP; 

Members

  • dwSize**
    Specifies the size of the structure, in bytes. Before calling the RasGetProjectionInfo function, set this member to indicate the version of the RASPPPIP structure that you are using. For information about earlier versions of this structure, see the Remarks section.
  • dwError
    Contains the result of the PPP control protocol negotiation. A value of zero indicates success. A nonzero value indicates failure and is the actual fatal error that occurred during the control protocol negotiation, which is the error that prevented the projection from completing successfully.
  • szIpAddress
    Contains a null-terminated string that is the client's IP address on the RAS connection. This address string has the form a.b.c.d; for example, 11.101.237.71.

Remarks

To retrieve PPP IP information on Windows CE–based devices, dwSize must specify the size of the RASPPPIP structure without the szServerIpAddress member.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Ras.h.

See Also

RasGetProjectionInfo | RASPROJECTION

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.