mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 13:57:21 +00:00
[SDK][USER32_APITEST] Update <msgdump.h> (#8099)
JIRA issue: N/A - Replace MSGDUMP_TPRINTF with MSGDUMP_PRINTF and use ANSI for strings. Now, we can use printf- compatible function for dump. - Fix some mistakes. - Adapt user32_apitest MessageStateAnalyzer to these changes.
This commit is contained in:
parent
87f4b28b99
commit
92ff994cc2
2 changed files with 1353 additions and 1362 deletions
|
@ -22,16 +22,7 @@ static HWND s_hImeWnd = NULL;
|
||||||
static WNDPROC s_fnOldEditWndProc = NULL;
|
static WNDPROC s_fnOldEditWndProc = NULL;
|
||||||
static WNDPROC s_fnOldImeWndProc = NULL;
|
static WNDPROC s_fnOldImeWndProc = NULL;
|
||||||
|
|
||||||
static void MsgDumpPrintf(LPCSTR fmt, ...)
|
#define MSGDUMP_PRINTF trace
|
||||||
{
|
|
||||||
static char s_szText[1024];
|
|
||||||
va_list va;
|
|
||||||
va_start(va, fmt);
|
|
||||||
StringCbVPrintfA(s_szText, sizeof(s_szText), fmt, va);
|
|
||||||
trace("%s", s_szText);
|
|
||||||
va_end(va);
|
|
||||||
}
|
|
||||||
#define MSGDUMP_TPRINTF MsgDumpPrintf
|
|
||||||
#define MSGDUMP_PREFIX s_prefix
|
#define MSGDUMP_PREFIX s_prefix
|
||||||
#include "msgdump.h" /* msgdump.h needs MSGDUMP_TPRINTF and MSGDUMP_PREFIX */
|
#include "msgdump.h" /* msgdump.h needs MSGDUMP_TPRINTF and MSGDUMP_PREFIX */
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue