int
streamout_char(FILE *stream, int chr)
{
+#if !defined(_USER32_WSPRINTF)
+ if ((stream->_flag & _IOSTRG) && (stream->_base == NULL))
+ return 1;
+#endif
#if defined(_USER32_WSPRINTF) || defined(_LIBCNT_)
/* Check if the buffer is full */
if (stream->_cnt < sizeof(TCHAR))
TCHAR chr;
int written = 0;
+#if !defined(_USER32_WSPRINTF)
+ if ((stream->_flag & _IOSTRG) && (stream->_base == NULL))
+ return count;
+#endif
+
while (count--)
{
#ifdef _UNICODE
wchar_t chr;
int written = 0;
+#if defined(_UNICODE) && !defined(_USER32_WSPRINTF)
+ if ((stream->_flag & _IOSTRG) && (stream->_base == NULL))
+ return count;
+#endif
+
while (count--)
{
#ifndef _UNICODE
#endif
int
-_cdecl
+__cdecl
streamout(FILE *stream, const TCHAR *format, va_list argptr)
{
static const TCHAR digits_l[] = _T("0123456789abcdef0x");