Displaying 8 results from an estimated 8 matches for "wprintf".
Did you mean:
sprintf
2014 Jan 13
0
Re: [PATCH 1/7] Add a minimal hive with "special" keys and values
...CASE_INSENSITIVE,
> + *handle, NULL);
> + HANDLE key_handle;
> + NTSTATUS rc;
> + rc = ZwCreateKey (&key_handle, KEY_ALL_ACCESS, &key_obj,
> + 0, NULL, REG_OPTION_NON_VOLATILE, NULL);
> + if (!NT_SUCCESS (rc)) {
> + wprintf(L"error: CreateKey %s: 0x%08x\n", key, rc);
> + exit(1);
> + }
> + DWORD value = 0;
> + rc = ZwSetValueKey (key_handle, &value_name, 0,
> + REG_DWORD, &value, sizeof(value));
> + if (!NT_SUCCESS (rc)) {
> + wprintf(L"error:...
2014 Jan 10
14
[PATCH 1/7] Add a minimal hive with "special" keys and values
...OBJ_OPENIF | OBJ_CASE_INSENSITIVE,
+ *handle, NULL);
+ HANDLE key_handle;
+ NTSTATUS rc;
+ rc = ZwCreateKey (&key_handle, KEY_ALL_ACCESS, &key_obj,
+ 0, NULL, REG_OPTION_NON_VOLATILE, NULL);
+ if (!NT_SUCCESS (rc)) {
+ wprintf(L"error: CreateKey %s: 0x%08x\n", key, rc);
+ exit(1);
+ }
+ DWORD value = 0;
+ rc = ZwSetValueKey (key_handle, &value_name, 0,
+ REG_DWORD, &value, sizeof(value));
+ if (!NT_SUCCESS (rc)) {
+ wprintf(L"error: SetValueKey %s: 0x%08x\n", val...
2014 Sep 12
2
win_utf8_io.c: Use fputws instead of fwprintf
Hi
On MSVCRT, wprintf expects that %s is wide char string, but for not MSVCRT, this is not true.
When using -D__USE_MINGW_ANSI_STDIO=1 on MINGW, mingw doesn't use MSVCRT.
Therefore, compiling on mingw with -D__USE_MINGW_ANSI_STDIO=1 and redirecting stderr to a file, the printing result is corrupt.
We should use fpu...
2014 Jan 14
2
Re: [PATCH 1/7] Add a minimal hive with "special" keys and values
...*handle, NULL);
> > + HANDLE key_handle;
> > + NTSTATUS rc;
> > + rc = ZwCreateKey (&key_handle, KEY_ALL_ACCESS, &key_obj,
> > + 0, NULL, REG_OPTION_NON_VOLATILE, NULL);
> > + if (!NT_SUCCESS (rc)) {
> > + wprintf(L"error: CreateKey %s: 0x%08x\n", key, rc);
> > + exit(1);
> > + }
> > + DWORD value = 0;
> > + rc = ZwSetValueKey (key_handle, &value_name, 0,
> > + REG_DWORD, &value, sizeof(value));
> > + if (!NT_SUCCESS (rc)) {
&g...
2014 Jan 10
4
[PATCH] Add a minimal hive with "special" keys and values
---
images/README | 15 +++++++++++++++
images/mkzero/Makefile | 7 +++++++
images/mkzero/mkzero.c | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
images/special | Bin 0 -> 8192 bytes
4 files changed, 70 insertions(+)
create mode 100644 images/mkzero/Makefile
create mode 100644 images/mkzero/mkzero.c
create mode 100644 images/special
diff --git a/images/README
2011 May 19
1
No newline in wine printf with multibyte string
...ompt. It should be there as it is in native windows cmd.exe:
[Image: ftp://neverb.net/images/special/screenshot/wine_issue/native_windows.png ]
Possible workarounds:
add '\r' before '\n'
weed out non-ascii character from printing string
use WCHAR instead of wchar_t
use wprintf(L"%ls\n"~
But all this workarounds are just sideways, i hope that there is some real solution.
Also, guys from #winehackers noticed that it may be not wine, but compiler or system failure. They suggested to use -fshort-wchar mingw flag, but it changed nothing. Also, workaround using W...
2020 Feb 28
0
Wine release 5.3
...: Add ucrt _snscanf_l declaration.
include: Add new corecrt_wctype file.
winegcc: Recognize -rtlib as linker argument.
winegcc: Treat -target argument as an alias to --target for clang compatibility.
winegcc: Clean up output file on error.
corecrt_wstdio.h: Add ucrt _snwprintf, swprintf and _swprintf declarations.
corecrt_wstdio.h: Add ucrt _snwprintf_s and _vsnwprintf_s declarations.
corecrt_wstdio.h: Add ucrt _scwprintf and _vscwprintf declarations.
corecrt_wstdio.h: Add ucrt _vscwprintf_p_l and _vswprintf_p_l declarations.
corecrt_wstdio.h: Add...
2020 Apr 10
0
Wine release 5.6
...wined3d: Add a TRACE to wined3d_buffer_gl_download_ranges().
wined3d: Add a TRACE to wined3d_buffer_gl_upload_ranges().
wined3d: Add a TRACE to wined3d_buffer_copy().
wined3d: Add a few traces to draw_primitive().
Myah Caron (1):
ucrtbase: Export _o___stdio_common_v[fs]wprintf functions.
Nikolay Sivov (39):
mfplat: Forward MFScheduleWorkItemEx() to rtworkq.dll.
mfplat: Fix PRESENTATION_CURRENT_POSITION handling for system time source.
mfplat/tests: Link to MFHeap* functions directly.
mf: Set cancellation object directly (Coverity).
mfplat:...