36 static size_t const max_write_bytes = 65535;
37 static size_t const max_write_wchars = max_write_bytes /
sizeof(
wchar_t);
39 DWORD const wchars_to_write =
length > max_write_wchars
47 &wchars_written) ==
FALSE)
53 string += wchars_to_write;
void __cdecl __acrt_unlock(_In_ __acrt_lock_id lock)
int __cdecl _cputws(wchar_t const *string)
__acrt_lock(__acrt_heap_lock)
GLuint GLsizei GLsizei * length
_CRTIMP size_t __cdecl wcslen(_In_z_ const wchar_t *_Str)
BOOL __cdecl __dcrt_lowio_ensure_console_output_initialized()
BOOL __cdecl __dcrt_write_console(_In_ void const *lpBuffer, _In_ DWORD nNumberOfCharsToWrite, _Out_ LPDWORD lpNumberOfCharsWritten)
#define _VALIDATE_CLEAR_OSSERR_RETURN(expr, errorcode, retexpr)