wstr A pointer to a wide-character string large enough to hold the information fetched from the file. maxchar The maximum number of wide characters to fetch. file_ptr A file pointer.