[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:
Katayama Hirofumi MZ 2025-06-08 14:10:22 +09:00 committed by GitHub
parent 87f4b28b99
commit 92ff994cc2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1353 additions and 1362 deletions

View file

@ -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