Writes the message to a user-supplied file handle. CrtSetReportFile() should be called to define the specific file or stream to use as the destination.
msvcrt/CRTDBG_MODE_FILE
CRTDBG_MODE_FILE