Help Center

AfxPathNamefunction

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

WindowsfunctionAfxWin.incdoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

Syntax

FUNCTION AfxGetPathName (BYREF wszPath AS WSTRING) AS DWSTRING
Also documented as AfxGetPathName — 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
  • Documented in Windows/Windows Procedures.md
  • Topic: Windows Procedures