共用方式為


ATLPath::CompactPathEx

This function is an overloaded wrapper for PathCompactPathEx.

inline BOOL CompactPathEx( 
   char* pszDest, 
   const char* pszSrc, 
   UINT nMaxChars, 
   DWORD dwFlags  
); 
inline BOOL CompactPathEx( 
   wchar_t* pszDest, 
   const wchar_t* pszSrc, 
   UINT nMaxChars, 
   DWORD dwFlags  
);

Remarks

See PathCompactPathEx for details.

Requirements

Header: atlpath.h

See Also

Reference

PathCompactPathEx

Other Resources

Active Template Library (ATL) Concepts

ATL COM Desktop Components

ATL Functions Alphabetical Reference