msvcrt: Implement ___lc_codepage_func, ___lc_collate_cp_func and ___lc_handle_func. (try 2)
Hans Leidekker
hans at codeweavers.com
Wed Apr 15 08:18:19 CDT 2009
Thank you Dmitry.
-Hans
diff --git a/dlls/msvcrt/locale.c b/dlls/msvcrt/locale.c
index f524c8d..5d6e545 100644
--- a/dlls/msvcrt/locale.c
+++ b/dlls/msvcrt/locale.c
@@ -607,3 +607,27 @@ void CDECL __lconv_init(void)
{
FIXME(" stub\n");
}
+
+/*********************************************************************
+ * ___lc_handle_func (MSVCRT.@)
+ */
+HANDLE * CDECL ___lc_handle_func(void)
+{
+ return MSVCRT___lc_handle;
+}
+
+/*********************************************************************
+ * ___lc_codepage_func (MSVCRT.@)
+ */
+int CDECL ___lc_codepage_func(void)
+{
+ return MSVCRT___lc_codepage;
+}
+
+/*********************************************************************
+ * ___lc_collate_cp_func (MSVCRT.@)
+ */
+int CDECL ___lc_collate_cp_func(void)
+{
+ return MSVCRT___lc_collate_cp;
+}
diff --git a/dlls/msvcrt/msvcrt.spec b/dlls/msvcrt/msvcrt.spec
index 145b2b0..e67251d 100644
--- a/dlls/msvcrt/msvcrt.spec
+++ b/dlls/msvcrt/msvcrt.spec
@@ -84,9 +84,9 @@
@ cdecl __RTDynamicCast(ptr long ptr ptr long) MSVCRT___RTDynamicCast
@ cdecl __RTtypeid(ptr) MSVCRT___RTtypeid
@ cdecl __STRINGTOLD(ptr ptr str long)
-@ stub ___lc_codepage_func
-@ stub ___lc_collate_cp_func
-@ stub ___lc_handle_func
+@ cdecl ___lc_codepage_func()
+@ cdecl ___lc_collate_cp_func()
+@ cdecl ___lc_handle_func()
@ cdecl ___mb_cur_max_func() MSVCRT____mb_cur_max_func
@ cdecl ___setlc_active_func() MSVCRT____setlc_active_func
@ cdecl ___unguarded_readlc_active_add_func() MSVCRT____unguarded_readlc_active_add_func
More information about the wine-patches
mailing list