Help Center

AfxLongPathNamefunction

Retrieves the short path form of the specified path.

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 AfxGetLongPathName (BYREF wszPath AS WSTRING) AS DWSTRING
Also documented as AfxGetLongPathName — one description covers them all.

Parameters

NameDescription
wszPathThe path/filename string. To extend the limit of MAX_PATH wode characters to 32,767 wide characters, prepend "\\\\?\\" to the path.

Description

Retrieves the short path form of the specified path.

Reference

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