Implemented API EnumTimeFormatsA(). It supports now all different
English locales, as well as German(standard), French(standard) and French(Canadian). All time formats follow conventions in Windows NT 4.0 Haithem Hmida (of Macadamian for Corel) Implemented GetCurrencyFormatA() API: - GetCurrencyFormatA() calls GetNumberFormatA() to format the number (as a positive one), then formats the number depending on NegativeOrder/PositiveOrder fields. - GetNumberFormatA() has been slightly modified.
This commit is contained in:
parent
34b7b3f74f
commit
3c30bba357
|
@ -1837,6 +1837,30 @@ typedef struct _numberfmt32w {
|
|||
UINT NegativeOrder;
|
||||
} NUMBERFMTW;
|
||||
|
||||
typedef struct _currencyfmt32a
|
||||
{
|
||||
UINT NumDigits;
|
||||
UINT LeadingZero;
|
||||
UINT Grouping;
|
||||
LPCSTR lpDecimalSep;
|
||||
LPCSTR lpThousandSep;
|
||||
UINT NegativeOrder;
|
||||
UINT PositiveOrder;
|
||||
LPCSTR lpCurrencySymbol;
|
||||
} CURRENCYFMTA;
|
||||
|
||||
typedef struct _currencyfmt32w
|
||||
{
|
||||
UINT NumDigits;
|
||||
UINT LeadingZero;
|
||||
UINT Grouping;
|
||||
LPCWSTR lpDecimalSep;
|
||||
LPCWSTR lpThousandSep;
|
||||
UINT NegativeOrder;
|
||||
UINT PositiveOrder;
|
||||
LPCWSTR lpCurrencySymbol;
|
||||
} CURRENCYFMTW;
|
||||
|
||||
#define MONITOR_DEFAULTTONULL 0x00000000
|
||||
#define MONITOR_DEFAULTTOPRIMARY 0x00000001
|
||||
#define MONITOR_DEFAULTTONEAREST 0x00000002
|
||||
|
|
1069
ole/ole2nls.c
1069
ole/ole2nls.c
File diff suppressed because it is too large
Load Diff
|
@ -317,8 +317,8 @@ import ntdll.dll
|
|||
299 stdcall GetConsoleScreenBufferInfo(long ptr) GetConsoleScreenBufferInfo
|
||||
300 stdcall GetConsoleTitleA(ptr long) GetConsoleTitleA
|
||||
301 stdcall GetConsoleTitleW(ptr long) GetConsoleTitleW
|
||||
302 stub GetCurrencyFormatA
|
||||
303 stub GetCurrencyFormatW
|
||||
302 stdcall GetCurrencyFormatA(long long str ptr str long) GetCurrencyFormatA
|
||||
303 stdcall GetCurrencyFormatW(long long str ptr str long) GetCurrencyFormatW
|
||||
304 stdcall GetCurrentDirectoryA(long ptr) GetCurrentDirectoryA
|
||||
305 stdcall GetCurrentDirectoryW(long ptr) GetCurrentDirectoryW
|
||||
306 stdcall GetCurrentProcess() GetCurrentProcess
|
||||
|
@ -627,7 +627,7 @@ import ntdll.dll
|
|||
609 register SUnMapLS_IP_EBP_36() SUnMapLS_IP_EBP_36
|
||||
610 register SUnMapLS_IP_EBP_40() SUnMapLS_IP_EBP_40
|
||||
611 register SUnMapLS_IP_EBP_8() SUnMapLS_IP_EBP_8
|
||||
612 stdcall ScrollConsoleScreenBufferA(long ptr ptr ptr ptr) ScrollConsoleScreenBuffer
|
||||
612 stdcall ScrollConsoleScreenBufferA(long ptr ptr ptr ptr) ScrollConsoleScreenBufferA
|
||||
613 stub ScrollConsoleScreenBufferW
|
||||
614 stdcall SearchPathA(str str str long ptr ptr) SearchPathA
|
||||
615 stdcall SearchPathW(wstr wstr wstr long ptr ptr) SearchPathW
|
||||
|
@ -682,7 +682,7 @@ import ntdll.dll
|
|||
664 stdcall SetSystemPowerState(long long) SetSystemPowerState
|
||||
665 stdcall SetSystemTime(ptr) SetSystemTime
|
||||
666 stub SetSystemTimeAdjustment
|
||||
667 stdcall SetTapeParemeters(ptr long ptr) SetTapeParameters
|
||||
667 stdcall SetTapeParameters(ptr long ptr) SetTapeParameters
|
||||
668 stdcall SetTapePosition(ptr long long long long long) SetTapePosition
|
||||
669 stdcall SetThreadAffinityMask(long long) SetThreadAffinityMask
|
||||
670 stdcall SetThreadContext(long ptr) SetThreadContext
|
||||
|
|
Loading…
Reference in New Issue