pathcch.h header
This header is used by The Windows Shell. For more information, see:
pathcch.h contains the following programming interfaces:
Functions
PathAllocCanonicalize Converts a path string into a canonical form.This function differs from PathCchCanonicalize and PathCchCanonicalizeEx in that it returns the result on the heap. |
PathAllocCombine Concatenates two path fragments into a single path. |
PathCchAddBackslash Adds a backslash to the end of a string to create the correct syntax for a path. (PathCchAddBackslash) |
PathCchAddBackslashEx Adds a backslash to the end of a string to create the correct syntax for a path. (PathCchAddBackslashEx) |
PathCchAddExtension Adds a file name extension to a path string.This function differs from PathAddExtension in that it accepts paths with "\", "\?" and "\?\UNC" prefixes. |
PathCchAppend Appends one path to the end of another.This function differs from PathCchAppendEx in that you are restricted to a final path of length MAX_PATH.This function differs from PathAppend in that it accepts paths with "\", "\?" and "\?\UNC" prefixes. |
PathCchAppendEx Appends one path to the end of another.This function differs from PathCchAppend in that it allows for a longer final path to be constructed.This function differs from PathAppend in that it accepts paths with "\", "\?" and "\?\UNC" prefixes. |
PathCchCanonicalize Converts a path string into a canonical form.This function differs from PathCchCanonicalizeEx in that you are restricted to a final path of length MAX_PATH.This function differs from PathAllocCanonicalize in that the caller must declare the size of the returned string, which is stored on the stack.This function differs from PathCanonicalize in that it accepts paths with "\", "\?" and "\?\UNC" prefixes. |
PathCchCanonicalizeEx Simplifies a path by removing navigation elements such as "." and ".." to produce a direct, well-formed path.This function differs from PathCchCanonicalize in that it allows for a longer final path to be constructed.This function differs from PathAllocCanonicalize in that the caller must declare the size of the returned string, which is stored on the stack.This function differs from PathCanonicalize in that it accepts paths with "\", "\?" and "\?\UNC" prefixes. |
PathCchCombine Combines two path fragments into a single path. (PathCchCombine) |
PathCchCombineEx Combines two path fragments into a single path. (PathCchCombineEx) |
PathCchFindExtension Searches a path to find its file name extension, such as ".exe" or ".ini". |
PathCchIsRoot Determines whether a path string refers to the root of a volume.This function differs from PathIsRoot in that it accepts paths with "\", "\?" and "\?\UNC" prefixes. |
PathCchRemoveBackslash Removes the trailing backslash from the end of a path string.This function differs from PathRemoveBackslash in that it accepts paths with "\", "\?" and "\?\UNC" prefixes. |
PathCchRemoveBackslashEx Removes the trailing backslash from the end of a path string.This function differs from PathCchRemoveBackslash in that it can return a pointer to the new end of the string and report the number of unused characters remaining in the buffer.This function differs from PathRemoveBackslash in that it accepts paths with "\", "\?" and "\?\UNC" prefixes. |
PathCchRemoveExtension Removes the file name extension from a path, if one is present.This function differs from PathRemoveExtension in that it accepts paths with "\", "\?" and "\?\UNC" prefixes. |
PathCchRemoveFileSpec Removes the last element in a path string, whether that element is a file name or a directory name. |
PathCchRenameExtension Replaces a file name's extension at the end of a path string with a new extension. |
PathCchSkipRoot Retrieves a pointer to the first character in a path following the drive letter or Universal Naming Convention (UNC) server/share path elements.This function differs from PathSkipRoot in that it accepts paths with "\", "\?" and "\?\UNC" prefixes. |
PathCchStripPrefix Removes the "\?" prefix, if present, from a file path. |
PathCchStripToRoot Removes all file and directory elements in a path except for the root information.This function differs from PathStripToRoot in that it accepts paths with "\", "\?" and "\?\UNC" prefixes. |
PathIsUNCEx Determines if a path string is a valid Universal Naming Convention (UNC) path, as opposed to a path based on a drive letter.This function differs from PathIsUNC in that it also allows you to extract the name of the server from the path. |