- Synchronize up to trunk's revision r57864.
[reactos.git] / base / setup / usetup / inffile.c
index 71c0108..e2ea1b4 100644 (file)
 
 #include "usetup.h"
 
-#ifdef __REACTOS__
-#include <infros.h>
-#endif
-
 #define NDEBUG
 #include <debug.h>
 
@@ -75,7 +71,7 @@ InfpOpenInfFileW(
        Status = InfOpenFile(
                &hInf,
                &FileNameU,
-               LocaleId,
+               LANGIDFROMLCID(LocaleId),
                &ErrorLineUL);
        *ErrorLine = (UINT)ErrorLineUL;
        if (!NT_SUCCESS(Status))
@@ -197,7 +193,7 @@ INF_OpenBufferedFileA(
                &hInf,
                FileBuffer,
                FileSize,
-               LocaleId,
+               LANGIDFROMLCID(LocaleId),
                &ErrorLineUL);
        *ErrorLine = (UINT)ErrorLineUL;
        if (!NT_SUCCESS(Status))