Help Center

AfxPathStripToRootfunction

Removes all parts of the path except for the root information.

String ManagementfunctionAfxPath.incdocumented

Syntax

FUNCTION AfxPathStripToRoot (BYREF wszRoot AS CONST WSTRING) AS DWSTRING

Parameters

NameDescription
wszRootA string of length MAX_PATH that contains the path to be converted.

Return value

Returns a string that contains only the root information taken from that path.

Description

Removes all parts of the path except for the root information.

Reference

  • Include file AfxPath.inc
  • Defined in AfxNova/AfxPath.inc:682
  • Documented in String Management/Path and Url Procedures.md
  • Topic: Path and Url procedures