Re-direct a stream to another file as a wide character version.
#include <stdio.h> FILE *_wfreopen(const wchar_t *wfilename, const wchar_t *wmode, FILE *stream);
wfilename
A pointer to a wide-character file name.
wmode
A pointer to a wide-character opening mode.
stream
A pointer to a file stream.
The wfreopen() function is a wide character implementation of freopen().