1. 加入#include .
2. 在project(工程)->setting(设置)->link(连接)下objiect/librarymodules(对象/库模块)中加入shlwapi.lib.
PathAddBackslash //路径后添加反斜杆 CString.GetBuffer(_MAX_PATH)
PathAddExtension //添加扩展名
PathAppend //附加路径
PathBuildRoot
PathCanonicalize
PathCombine
PathCompactPath
PathCompactPathEx
PathCommonPrefix
PathFileExists
PathFindExtension
PathFindFileName
PathFindNextComponent
PathFindOnPath
PathGetArgs
PathGetCharType
PathGetDriveNumber
PathIsDirectory
PathIsFileSpec
PathIsPrefix
PathIsRelative
![shlwapi.h所包含的函数 stdlib.h包含哪些函数](http://img.aihuau.com/images/02111102/02042428t015ec6a97dfec0a4ad.jpg)
PathIsRoot
PathIsSameRoot
PathIsUNC
PathIsUNCServer
PathIsUNCServerShare
PathIsContentType
PathIsHTMLFile
PathIsURL
PathMakePretty
PathMatchSpec
PathParseIconLocation
PathQuoteSpaces
PathRelativePathTo
PathRemoveArgs
PathRemoveBackslash
PathRemoveBlanks
PathRemoveExtension
PathRemoveFileSpec
PathRenameExtension
PathSearchAndQualify
PathSetDlgItemPath
PathSkipRoot
PathStripPath
PathStripToRoot
PathUnquoteSpaces
PathMakeSystemFolder
PathUnmakeSystemFolder
PathIsSystemFolder