Reference

PathCombineA(3w)

NAME

PathCombineA (SHLWAPI.@)

SYNOPSIS

LPSTR PathCombineA
(
LPSTR lpszDest,
LPCSTR lpszDir,
LPCSTR lpszFile
)

DESCRIPTION

Combine two paths together.

PARAMS

lpszDest [Out] Destination for combined path.

lpszDir [In] Directory path.

lpszFile [In] File path.

RETURNS

Success: The output path

Failure: NULL, if inputs are invalid.

NOTES

lpszDest should be at least MAX_PATH in size, and may point to the same memory location as lpszDir. The combined path is canonicalised.

IMPLEMENTATION

Declared in "shlwapi.h".

Implemented in "dlls/shlwapi/path.c".

Debug channel "shell".

History