Help Center

AfxGetPathNamefunction

Parses a path/filename and returns the path portion. That is the text up to and including the last backslash (\) or colon (:).

WindowsfunctionAfxWin.incdocumented

Syntax

FUNCTION AfxGetPathName (BYREF wszPath AS WSTRING) AS DWSTRING
Also documented as AfxPathName — one description covers them all.

Parameters

NameDescription
wszPathThe path/filename string.

Description

Parses a path/filename and returns the path portion. That is the text up to and including the last backslash (\) or colon (:).

Reference

  • Include file AfxWin.inc
  • Defined in AfxNova/AfxWin.inc:713
  • Documented in Windows/Windows Procedures.md
  • Topic: Windows Procedures