From 6da887f416d4aa5bd6a54b8e7fb7001111c159f7 Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Mon, 5 Jan 2015 01:32:03 +0100 Subject: [PATCH] win: add definitions for MUI errors mingw lacks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/libuv/libuv/pull/110 Reviewed-By: Ben Noordhuis Reviewed-By: Saúl Ibarra Corretgé --- src/win/winapi.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/win/winapi.h b/src/win/winapi.h index 0c125beb..f4f9145b 100644 --- a/src/win/winapi.h +++ b/src/win/winapi.h @@ -4610,6 +4610,30 @@ typedef NTSTATUS (NTAPI *sNtQueryDirectoryFile) # define ERROR_SYMLINK_NOT_SUPPORTED 1464 #endif +#ifndef ERROR_MUI_FILE_NOT_FOUND +# define ERROR_MUI_FILE_NOT_FOUND 15100 +#endif + +#ifndef ERROR_MUI_INVALID_FILE +# define ERROR_MUI_INVALID_FILE 15101 +#endif + +#ifndef ERROR_MUI_INVALID_RC_CONFIG +# define ERROR_MUI_INVALID_RC_CONFIG 15102 +#endif + +#ifndef ERROR_MUI_INVALID_LOCALE_NAME +# define ERROR_MUI_INVALID_LOCALE_NAME 15103 +#endif + +#ifndef ERROR_MUI_INVALID_ULTIMATEFALLBACK_NAME +# define ERROR_MUI_INVALID_ULTIMATEFALLBACK_NAME 15104 +#endif + +#ifndef ERROR_MUI_FILE_NOT_LOADED +# define ERROR_MUI_FILE_NOT_LOADED 15105 +#endif + typedef BOOL (WINAPI *sGetQueuedCompletionStatusEx) (HANDLE CompletionPort, LPOVERLAPPED_ENTRY lpCompletionPortEntries,