[MSHTML] Improve a reactos hack

Don't define a dll-import function.
This commit is contained in:
Timo Kreuzer
2024-11-04 08:42:34 +02:00
parent d6eebaa47a
commit 1c5ddc893a
+2 -1
View File
@@ -20,12 +20,13 @@
#ifdef __REACTOS__
/* HACK This is a Vista+ API */
static INT WINAPI LCIDToLocaleName( LCID lcid, LPWSTR name, INT count, DWORD flags )
static INT WINAPI LCIDToLocaleName_( LCID lcid, LPWSTR name, INT count, DWORD flags )
{
if (flags) FIXME( "unsupported flags %x\n", flags );
return GetLocaleInfoW( lcid, LOCALE_SNAME | LOCALE_NOUSEROVERRIDE, name, count );
}
#define LCIDToLocaleName LCIDToLocaleName_
#endif
typedef struct HTMLPluginsCollection HTMLPluginsCollection;