"Hans Leidekker" <h...@codeweavers.com> wrote:
+/********************************************************************* + * ___lc_handle_func (MSVCRT.@) + */ +HANDLE * ___lc_handle_func(void) +{ + return MSVCRT___lc_handle; +} + +/********************************************************************* + * ___lc_codepage_func (MSVCRT.@) + */ +int ___lc_codepage_func(void) +{ + return MSVCRT___lc_codepage; +} + +/********************************************************************* + * ___lc_collate_cp_func (MSVCRT.@) + */ +int ___lc_collate_cp_func(void) +{ + return MSVCRT___lc_collate_cp; +}
All msvcrt public exports should have explicit CDECL calling convention. -- Dmitry.