kernel32: Implement GetCurrencyFormatEx.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
99aa0eb5d8
commit
d5fd01350f
|
@ -7,6 +7,6 @@
|
||||||
@ stdcall EnumSystemCodePagesW(ptr long) kernel32.EnumSystemCodePagesW
|
@ stdcall EnumSystemCodePagesW(ptr long) kernel32.EnumSystemCodePagesW
|
||||||
@ stdcall EnumTimeFormatsEx(ptr wstr long long) kernel32.EnumTimeFormatsEx
|
@ stdcall EnumTimeFormatsEx(ptr wstr long long) kernel32.EnumTimeFormatsEx
|
||||||
@ stdcall EnumTimeFormatsW(ptr long long) kernel32.EnumTimeFormatsW
|
@ stdcall EnumTimeFormatsW(ptr long long) kernel32.EnumTimeFormatsW
|
||||||
@ stub GetCurrencyFormatEx
|
@ stdcall GetCurrencyFormatEx(wstr long wstr ptr ptr long) kernel32.GetCurrencyFormatEx
|
||||||
@ stdcall GetCurrencyFormatW(long long str ptr str long) kernel32.GetCurrencyFormatW
|
@ stdcall GetCurrencyFormatW(long long str ptr str long) kernel32.GetCurrencyFormatW
|
||||||
@ stdcall GetNumberFormatEx(wstr long wstr ptr ptr long) kernel32.GetNumberFormatEx
|
@ stdcall GetNumberFormatEx(wstr long wstr ptr ptr long) kernel32.GetNumberFormatEx
|
||||||
|
|
|
@ -621,7 +621,7 @@
|
||||||
@ stdcall GetConsoleTitleW(ptr long)
|
@ stdcall GetConsoleTitleW(ptr long)
|
||||||
@ stdcall GetConsoleWindow()
|
@ stdcall GetConsoleWindow()
|
||||||
@ stdcall GetCurrencyFormatA(long long str ptr str long)
|
@ stdcall GetCurrencyFormatA(long long str ptr str long)
|
||||||
# @ stub GetCurrencyFormatEx
|
@ stdcall GetCurrencyFormatEx(wstr long wstr ptr ptr long)
|
||||||
@ stdcall GetCurrencyFormatW(long long str ptr str long)
|
@ stdcall GetCurrencyFormatW(long long str ptr str long)
|
||||||
@ stdcall GetCurrentActCtx(ptr)
|
@ stdcall GetCurrentActCtx(ptr)
|
||||||
@ stdcall GetCurrentConsoleFont(long long ptr)
|
@ stdcall GetCurrentConsoleFont(long long ptr)
|
||||||
|
|
|
@ -1756,6 +1756,19 @@ error:
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* GetCurrencyFormatEx (KERNEL32.@)
|
||||||
|
*/
|
||||||
|
int WINAPI GetCurrencyFormatEx(LPCWSTR localename, DWORD flags, LPCWSTR value,
|
||||||
|
const CURRENCYFMTW *format, LPWSTR str, int len)
|
||||||
|
{
|
||||||
|
TRACE("(%s,0x%08x,%s,%p,%p,%d)\n", debugstr_w(localename), flags,
|
||||||
|
debugstr_w(value), format, str, len);
|
||||||
|
|
||||||
|
return GetCurrencyFormatW( LocaleNameToLCID(localename, 0), flags, value, format, str, len);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* FIXME: Everything below here needs to move somewhere else along with the
|
/* FIXME: Everything below here needs to move somewhere else along with the
|
||||||
* other EnumXXX functions, when a method for storing resources for
|
* other EnumXXX functions, when a method for storing resources for
|
||||||
* alternate calendars is determined.
|
* alternate calendars is determined.
|
||||||
|
|
|
@ -448,7 +448,7 @@
|
||||||
@ stdcall GetConsoleScreenBufferInfo(long ptr) kernel32.GetConsoleScreenBufferInfo
|
@ stdcall GetConsoleScreenBufferInfo(long ptr) kernel32.GetConsoleScreenBufferInfo
|
||||||
@ stdcall GetConsoleScreenBufferInfoEx(long ptr) kernel32.GetConsoleScreenBufferInfoEx
|
@ stdcall GetConsoleScreenBufferInfoEx(long ptr) kernel32.GetConsoleScreenBufferInfoEx
|
||||||
@ stdcall GetConsoleTitleW(ptr long) kernel32.GetConsoleTitleW
|
@ stdcall GetConsoleTitleW(ptr long) kernel32.GetConsoleTitleW
|
||||||
@ stub GetCurrencyFormatEx
|
@ stdcall GetCurrencyFormatEx(wstr long wstr ptr ptr long) kernel32.GetCurrencyFormatEx
|
||||||
@ stdcall GetCurrencyFormatW(long long str ptr str long) kernel32.GetCurrencyFormatW
|
@ stdcall GetCurrencyFormatW(long long str ptr str long) kernel32.GetCurrencyFormatW
|
||||||
@ stdcall GetCurrentActCtx(ptr) kernel32.GetCurrentActCtx
|
@ stdcall GetCurrentActCtx(ptr) kernel32.GetCurrentActCtx
|
||||||
# @ stub GetCurrentApplicationUserModelId
|
# @ stub GetCurrentApplicationUserModelId
|
||||||
|
|
|
@ -896,6 +896,7 @@ WINBASEAPI INT WINAPI GetCalendarInfoA(LCID,DWORD,DWORD,LPSTR,INT,LPDWOR
|
||||||
WINBASEAPI INT WINAPI GetCalendarInfoW(LCID,DWORD,DWORD,LPWSTR,INT,LPDWORD);
|
WINBASEAPI INT WINAPI GetCalendarInfoW(LCID,DWORD,DWORD,LPWSTR,INT,LPDWORD);
|
||||||
#define GetCalendarInfo WINELIB_NAME_AW(GetCalendarInfo)
|
#define GetCalendarInfo WINELIB_NAME_AW(GetCalendarInfo)
|
||||||
WINBASEAPI INT WINAPI GetCurrencyFormatA(LCID,DWORD,LPCSTR,const CURRENCYFMTA*,LPSTR,INT);
|
WINBASEAPI INT WINAPI GetCurrencyFormatA(LCID,DWORD,LPCSTR,const CURRENCYFMTA*,LPSTR,INT);
|
||||||
|
WINBASEAPI INT WINAPI GetCurrencyFormatEx(LPCWSTR,DWORD,LPCWSTR,const CURRENCYFMTW*,LPWSTR,int);
|
||||||
WINBASEAPI INT WINAPI GetCurrencyFormatW(LCID,DWORD,LPCWSTR,const CURRENCYFMTW*,LPWSTR,INT);
|
WINBASEAPI INT WINAPI GetCurrencyFormatW(LCID,DWORD,LPCWSTR,const CURRENCYFMTW*,LPWSTR,INT);
|
||||||
#define GetCurrencyFormat WINELIB_NAME_AW(GetCurrencyFormat)
|
#define GetCurrencyFormat WINELIB_NAME_AW(GetCurrencyFormat)
|
||||||
WINBASEAPI INT WINAPI GetDateFormatA(LCID,DWORD,const SYSTEMTIME*,LPCSTR,LPSTR,INT);
|
WINBASEAPI INT WINAPI GetDateFormatA(LCID,DWORD,const SYSTEMTIME*,LPCSTR,LPSTR,INT);
|
||||||
|
|
Loading…
Reference in New Issue