kernel32: Add a stub for GetLocaleInfoEx.

This commit is contained in:
Austin English 2012-07-10 07:43:50 -05:00 committed by Alexandre Julliard
parent edab5d85c7
commit b22de982c0
2 changed files with 12 additions and 0 deletions

View File

@ -552,6 +552,7 @@
@ stdcall GetLocalTime(ptr)
@ stdcall GetLocaleInfoA(long long ptr long)
@ stdcall GetLocaleInfoW(long long ptr long)
@ stdcall GetLocaleInfoEx(wstr long ptr long)
@ stdcall GetLogicalDriveStringsA(long ptr)
@ stdcall GetLogicalDriveStringsW(long ptr)
@ stdcall GetLogicalDrives()

View File

@ -1406,6 +1406,17 @@ INT WINAPI GetLocaleInfoW( LCID lcid, LCTYPE lctype, LPWSTR buffer, INT len )
return ret;
}
/******************************************************************************
* GetLocaleInfoEx (KERNEL32.@)
*
* FIXME: Should probably be a wrapper around GetLocaleInfo() (or vice-versa).
*/
INT WINAPI GetLocaleInfoEx(LPCWSTR locale, LCTYPE info, LPWSTR buffer, INT len)
{
FIXME("(locale=%s,info=0x%x,%p,%d): stub!\n", debugstr_w(locale), info, buffer, len);
SetLastError(ERROR_INVALID_PARAMETER);
return 0;
}
/******************************************************************************
* SetLocaleInfoA [KERNEL32.@]