Return either STATUS_BUFFER_OVERFLOW or ERRDOS/ERRmoredata depending on