Concatenates two Unicode strings. Used when repeated concatenations to the same buffer are required.
DWORD StrCatChainW( PWSTR pszDst, DWORD cchDst, DWORD ichAt, PCWSTR pszSrc );
A pointer to a buffer that, when this function returns successfully, receives the null-terminated, Unicode string.
The size of the destination buffer, in characters. This buffer must be of sufficient size to hold both strings as well as a terminating null character. If the buffer is too small, the final string is truncated.
The offset into the destination buffer at which to begin the append action. If the string is not empty, set this value to -1 to have the current number of filled characters (not including the terminating null character) calculated for you.
A pointer to the null-terminated Unicode source string.
Returns the offset of the null character after the last character added to pszDst.
Security Warning: Using this function incorrectly can compromise the security of your application. The final string is not guaranteed to be null-terminated. Consider using one of the following alternatives: StringCbCatEx, StringCbCatNEx, StringCchCatEx, or StringCchCatNEx. You should review Security Considerations: Microsoft Windows Shell before continuing.
|Minimum supported client||Windows XP [desktop apps only]|
|Minimum supported server||Windows Server 2003 [desktop apps only]|
|DLL||Shlwapi.dll (version 5.5 or later)|