Help Center

AfxGetShortPathNamefunction

Retrieves the short path form of the specified path.

WindowsfunctionAfxWin.incdocumented

Syntax

FUNCTION AfxGetShortPathName (BYREF wszPath AS WSTRING) AS DWSTRING
Also documented as AfxShortPathName — 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
  • Defined in AfxNova/AfxWin.inc:700
  • Documented in Windows/Windows Procedures.md
  • Topic: Windows Procedures