Module: wine Branch: master Commit: 56c1c75b7282c717a41819ee99c6781368a7bf85 URL: http://source.winehq.org/git/wine.git/?a=commit;h=56c1c75b7282c717a41819ee99...
Author: Piotr Caban piotr@codeweavers.com Date: Thu Dec 8 12:09:05 2011 +0100
msvcp90: Added _Getcvt implementation.
---
dlls/msvcp90/locale.c | 18 +++++++++++++++--- dlls/msvcp90/msvcp90.spec | 2 +- 2 files changed, 16 insertions(+), 4 deletions(-)
diff --git a/dlls/msvcp90/locale.c b/dlls/msvcp90/locale.c index 2fd3bd1..a668d18 100644 --- a/dlls/msvcp90/locale.c +++ b/dlls/msvcp90/locale.c @@ -897,14 +897,26 @@ _Ctypevec __thiscall _Locinfo__Getctype(const _Locinfo *this) return _Getctype(); }
+/* _Getcvt */ +_Cvtvec __cdecl _Getcvt(void) +{ + _Cvtvec ret; + _locale_t locale = _get_current_locale(); + + TRACE("\n"); + + ret.page = locale->locinfo->lc_codepage; + ret.handle = locale->locinfo->lc_handle[LC_CTYPE]; + _free_locale(locale); + return ret; +} + /* ?_Getcvt@_Locinfo@std@@QBE?AU_Cvtvec@@XZ */ /* ?_Getcvt@_Locinfo@std@@QEBA?AU_Cvtvec@@XZ */ DEFINE_THISCALL_WRAPPER(_Locinfo__Getcvt, 4) _Cvtvec __thiscall _Locinfo__Getcvt(const _Locinfo *this) { - _Cvtvec ret = { 0 }; /* FIXME */ - FIXME("(%p) stub\n", this); - return ret; + return _Getcvt(); }
/* ?_Getdateorder@_Locinfo@std@@QBEHXZ */ diff --git a/dlls/msvcp90/msvcp90.spec b/dlls/msvcp90/msvcp90.spec index bcaaa1c..1f7ef62 100644 --- a/dlls/msvcp90/msvcp90.spec +++ b/dlls/msvcp90/msvcp90.spec @@ -5752,7 +5752,7 @@ # extern _FXbig @ cdecl _Getcoll() @ cdecl _Getctype() -@ stub _Getcvt +@ cdecl _Getcvt() @ stub _Getdateorder @ stub _Getwctype @ stub _Getwctypes