msvcr100: Added _get_timezone implementation.
This commit is contained in:
parent
77306693d4
commit
c4d085bc74
|
@ -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.@)
|
||||
*/
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue