[MSHTML] Improve a reactos hack

Don't define a dll-import function.
This commit is contained in:
Timo Kreuzer 2024-10-17 17:42:27 +03:00
parent d6eebaa47a
commit 1c5ddc893a

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;