headers: add SetErrorMode to winstore builds
https://docs.microsoft.com/en-us/windows/win32/api/errhandlingapi/nf-errhandlingapi-seterrormode
Signed-off-by: Liu Hao <lh_mouse@126.com>
diff --git a/mingw-w64-headers/include/errhandlingapi.h b/mingw-w64-headers/include/errhandlingapi.h
index 379fddf..79257b2 100644
--- a/mingw-w64-headers/include/errhandlingapi.h
+++ b/mingw-w64-headers/include/errhandlingapi.h
@@ -16,7 +16,6 @@
#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP) || defined(WINSTORECOMPAT)
typedef LONG (WINAPI *PTOP_LEVEL_EXCEPTION_FILTER) (struct _EXCEPTION_POINTERS *ExceptionInfo);
typedef PTOP_LEVEL_EXCEPTION_FILTER LPTOP_LEVEL_EXCEPTION_FILTER;
- WINBASEAPI UINT WINAPI SetErrorMode (UINT uMode);
WINBASEAPI LPTOP_LEVEL_EXCEPTION_FILTER WINAPI SetUnhandledExceptionFilter (LPTOP_LEVEL_EXCEPTION_FILTER lpTopLevelExceptionFilter);
WINBASEAPI LONG WINAPI UnhandledExceptionFilter (struct _EXCEPTION_POINTERS *ExceptionInfo);
#endif
@@ -43,6 +42,7 @@
#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_APP)
WINBASEAPI VOID WINAPI RaiseException (DWORD dwExceptionCode, DWORD dwExceptionFlags, DWORD nNumberOfArguments, CONST ULONG_PTR *lpArguments);
+ WINBASEAPI UINT WINAPI SetErrorMode (UINT uMode);
WINBASEAPI DWORD WINAPI GetLastError (VOID);
WINBASEAPI VOID WINAPI SetLastError (DWORD dwErrCode);
#endif