Platform SDK: RAS/Routing and RAS

RASSLIP

The RASSLIP structure contains the results of a the Serial Line Internet Protocol (SLIP) projection operation.

RASSLIP {
  DWORD dwSize;
  DWORD dwError;
  TCHAR szIpAddress[ RAS_MaxIpAddress + 1 ];
};

Members

dwSize
Specifies the size, in bytes, of the RASSLIP structure. Before calling the RasGetProjectionInfo function, set dwSize to sizeof(RASSLIP) to identify the version of the structure.
dwError
Specifies whether SLIP is configured. If dwError is zero, SLIP framing is configured. Otherwise, dwError is ERROR_PROTOCOL_NOT_CONFIGURED.
szIpAddress
A null-terminated string that contains 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

If the RASENTRY structure for the phone-book entry used in a RAS connection specifies SLIP framing, you can call RasGetProjectionInfo with a RASPROJECTION of RASP_Slip to determine whether SLIP framing was successfully configured.

Requirements

  Windows NT/2000: Requires Windows NT 4.0 or later.
  Windows 95/98: Unsupported.
  Header: Declared in Ras.h.
  Unicode: Declared as Unicode and ANSI structures.

See Also

Remote Access Service (RAS) Overview, Remote Access Service Structures, RASENTRY, RasGetProjectionInfo, RASPROJECTION