PathCompactPathExPathCompactPathEx*
*Contents  *Index  *Topic Contents
*Previous Topic: PathCompactPath
*Next Topic: PathCommonPrefix

PathCompactPathEx


BOOL PathCompactPathEx(
    LPTSTR  pszOut,
    LPCTSTR pszSrc,
    UINT    cchMax,
    DWORD   dwFlags
    );

Truncates a path to fit within a certain number of characters by replacing path components with ellipses.

pszOut
Address of the string that has been altered.
pszSrc
Address of the string to be altered.
cchMax
Maximum number of characters to be contained in the new string.
dwFlags
Type of path separator to be used. (For example, '\' or '/'. The default is '\'.)

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.