_MAX_PATH

InstallShield 2019 » InstallScript Language Reference

Project • This information applies to InstallScript projects.

MAX_PATH is a predefined constant that is used to represent the maximum length of a path variable that is passed to a Windows API function. The following sample code lines illustrate possible uses of _MAX_PATH:

string szPath[_MAX_PATH]; /* variable declaration */
...
Kernel32.GetTempPathA( _MAX_PATH, szPath ); /* Windows API function call */

See Also