VOID __stdcall InsertChar(WCHAR c, WCHAR *pInsertLocation, WCHAR **ppOutput){ WCHAR *i; for( i = *ppOutput; --i >= pInsertLocation; i[1] = *i ) ; *pInsertLocation = c; ++*ppOutput; }