msvcr100: Added _get_timezone implementation.

This commit is contained in:
Piotr Caban 2012-12-12 11:15:51 +01:00 committed by Alexandre Julliard
parent 77306693d4
commit c4d085bc74
4 changed files with 14 additions and 3 deletions

View File

@ -472,6 +472,17 @@ int CDECL _sprintf_p(char *buffer, size_t length, const char *format, ...)
return r;
}
/*********************************************************************
* _get_timezone (MSVCR100.@)
*/
int CDECL _get_timezone(LONG *timezone)
{
if(!CHECK_PMT(timezone != NULL)) return EINVAL;
*timezone = *(LONG*)GetProcAddress(GetModuleHandleA("msvcrt.dll"), "_timezone");
return 0;
}
/*********************************************************************
* DllMain (MSVCR100.@)
*/

View File

@ -877,7 +877,7 @@
@ cdecl _get_printf_count_output() msvcrt._get_printf_count_output
@ stub _get_purecall_handler
@ cdecl _get_terminate() msvcrt._get_terminate
@ stub _get_timezone
@ cdecl _get_timezone(ptr)
@ cdecl _get_tzname(ptr str long long) msvcrt._get_tzname
@ cdecl _get_unexpected() msvcrt._get_unexpected
@ cdecl _get_wpgmptr(ptr) msvcrt._get_wpgmptr

View File

@ -535,7 +535,7 @@
@ stub _get_purecall_handler
@ cdecl _get_sbh_threshold() msvcrt._get_sbh_threshold
@ cdecl _get_terminate() msvcrt._get_terminate
@ stub _get_timezone
@ cdecl _get_timezone(ptr) msvcr100._get_timezone
@ cdecl _get_tzname(ptr str long long) msvcrt._get_tzname
@ cdecl _get_unexpected() msvcrt._get_unexpected
@ stub _get_winmajor

View File

@ -528,7 +528,7 @@
@ stub _get_purecall_handler
@ cdecl _get_sbh_threshold() msvcrt._get_sbh_threshold
@ cdecl _get_terminate() msvcrt._get_terminate
@ stub _get_timezone
@ cdecl _get_timezone(ptr) msvcr100._get_timezone
@ cdecl _get_tzname(ptr str long long) msvcrt._get_tzname
@ cdecl _get_unexpected() msvcrt._get_unexpected
@ cdecl _get_wpgmptr(ptr) msvcrt._get_wpgmptr