| 293 | } |
| 294 | |
| 295 | void ReplaceCharacter(TCHAR *str, TCHAR ch, TCHAR chReplacement) |
| 296 | { |
| 297 | int i = 0; |
| 298 | |
| 299 | for(i = 0; i < lstrlen(str); i++) |
| 300 | { |
| 301 | if(str[i] == ch) |
| 302 | { |
| 303 | str[i] = chReplacement; |
| 304 | } |
| 305 | } |
| 306 | } |
| 307 | |
| 308 | void ReplaceCharacterWithString(const TCHAR *szBaseString, TCHAR *szOutput, |
| 309 | UINT cchMax, TCHAR chToReplace, const TCHAR *szReplacement) |
no outgoing calls