hwnd (HWND) - input
pszSrc (PSZ) - input
This is the text string that is to have substitution performed.
lDestMax (LONG) - input
This is the maximum number of characters that can be returned in pszDest. It must be greater than 0.
pszDest (PSZ) - output
This is the text string produced by the substitution process.
The string is truncated if it would otherwise contain more than lDestMax characters. When truncation occurs, the last character of the truncated string is always the null-termination character.
lDestRet (LONG) - returns
This is the actual number returned in pszDest, excluding the null-termination character. The maximum value is (lDestMax-1). It is zero if an error occurred.