Commit 34d94718 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

msvcp90: Added _Getcoll implementation.

parent bff3f0cd
......@@ -846,14 +846,26 @@ _Locinfo* __thiscall _Locinfo__Addcats(_Locinfo *this, int category, const char
return _Locinfo__Locinfo_Addcats(this, category, locstr);
}
/* _Getcoll */
_Collvec __cdecl _Getcoll(void)
{
_Collvec ret;
_locale_t locale = _get_current_locale();
TRACE("\n");
ret.page = locale->locinfo->lc_collate_cp;
ret.handle = locale->locinfo->lc_handle[LC_COLLATE];
_free_locale(locale);
return ret;
}
/* ?_Getcoll@_Locinfo@std@@QBE?AU_Collvec@@XZ */
/* ?_Getcoll@_Locinfo@std@@QEBA?AU_Collvec@@XZ */
DEFINE_THISCALL_WRAPPER(_Locinfo__Getcoll, 4)
_Collvec __thiscall _Locinfo__Getcoll(const _Locinfo *this)
{
_Collvec ret = { 0 }; /* FIXME */
FIXME("(%p) stub\n", this);
return ret;
return _Getcoll();
}
/* ?_Getctype@_Locinfo@std@@QBE?AU_Ctypevec@@XZ */
......
......@@ -5750,7 +5750,7 @@
@ stub _FSinh
@ extern _FSnan
# extern _FXbig
@ stub _Getcoll
@ cdecl _Getcoll()
@ stub _Getctype
@ stub _Getcvt
@ stub _Getdateorder
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment