emit ETW errors in english

This commit is contained in:
Marcos Slomp
2025-12-15 16:19:45 -08:00
parent cc7790af04
commit 22d2b7407f

View File

@@ -155,7 +155,7 @@ static ULONG ETWError( ULONG result )
FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS,
NULL,
result,
MAKELANGID( LANG_NEUTRAL, SUBLANG_DEFAULT ),
MAKELANGID( LANG_ENGLISH, SUBLANG_ENGLISH_US ),
(LPSTR)&message[written],
sizeof( message ) - written,
NULL );