Windows 10 now has a separate exception for OutputDebugStringW, rather than converting the string to ANSI and raising DBG_PRINTEXCEPTION_C.
(See https://ntquery.wordpress.com/2015/09/07/windows-10-new-anti-debug-outputdebugstringw/) Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> --- mingw-w64-headers/include/ntstatus.h | 1 + mingw-w64-headers/include/winnt.h | 1 + 2 files changed, 2 insertions(+) diff --git a/mingw-w64-headers/include/ntstatus.h b/mingw-w64-headers/include/ntstatus.h index 6e95af7..49298ee 100644 --- a/mingw-w64-headers/include/ntstatus.h +++ b/mingw-w64-headers/include/ntstatus.h @@ -161,6 +161,7 @@ #define DBG_RIPEXCEPTION ((NTSTATUS)0x40010007) #define DBG_CONTROL_BREAK ((NTSTATUS)0x40010008) #define DBG_COMMAND_EXCEPTION ((NTSTATUS)0x40010009) +#define DBG_PRINTEXCEPTION_WIDE_C ((NTSTATUS)(0x4001000A) #define RPC_NT_UUID_LOCAL_ONLY ((NTSTATUS)0x40020056) #define RPC_NT_SEND_INCOMPLETE ((NTSTATUS)0x400200AF) #define STATUS_CTX_CDM_CONNECT ((NTSTATUS)0x400A0004) diff --git a/mingw-w64-headers/include/winnt.h b/mingw-w64-headers/include/winnt.h index a855801..6ac9f3e 100644 --- a/mingw-w64-headers/include/winnt.h +++ b/mingw-w64-headers/include/winnt.h @@ -1299,6 +1299,7 @@ inline ENUMTYPE &operator ^= (ENUMTYPE &a, ENUMTYPE b) { return (ENUMTYPE &)(((i #define DBG_RIPEXCEPTION ((DWORD)0x40010007) #define DBG_CONTROL_BREAK ((DWORD)0x40010008) #define DBG_COMMAND_EXCEPTION ((DWORD)0x40010009) +#define DBG_PRINTEXCEPTION_WIDE_C ((DWORD)(0x4001000A) #define STATUS_GUARD_PAGE_VIOLATION ((DWORD)0x80000001) #define STATUS_DATATYPE_MISALIGNMENT ((DWORD)0x80000002) #define STATUS_BREAKPOINT ((DWORD)0x80000003) -- 2.8.3 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public