Commit c4d085bc authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

msvcr100: Added _get_timezone implementation.

parent 77306693
...@@ -473,6 +473,17 @@ int CDECL _sprintf_p(char *buffer, size_t length, const char *format, ...) ...@@ -473,6 +473,17 @@ int CDECL _sprintf_p(char *buffer, size_t length, const char *format, ...)
} }
/********************************************************************* /*********************************************************************
* _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.@) * DllMain (MSVCR100.@)
*/ */
BOOL WINAPI DllMain(HINSTANCE hdll, DWORD reason, LPVOID reserved) BOOL WINAPI DllMain(HINSTANCE hdll, DWORD reason, LPVOID reserved)
......
...@@ -877,7 +877,7 @@ ...@@ -877,7 +877,7 @@
@ cdecl _get_printf_count_output() msvcrt._get_printf_count_output @ cdecl _get_printf_count_output() msvcrt._get_printf_count_output
@ stub _get_purecall_handler @ stub _get_purecall_handler
@ cdecl _get_terminate() msvcrt._get_terminate @ 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_tzname(ptr str long long) msvcrt._get_tzname
@ cdecl _get_unexpected() msvcrt._get_unexpected @ cdecl _get_unexpected() msvcrt._get_unexpected
@ cdecl _get_wpgmptr(ptr) msvcrt._get_wpgmptr @ cdecl _get_wpgmptr(ptr) msvcrt._get_wpgmptr
......
...@@ -535,7 +535,7 @@ ...@@ -535,7 +535,7 @@
@ stub _get_purecall_handler @ stub _get_purecall_handler
@ cdecl _get_sbh_threshold() msvcrt._get_sbh_threshold @ cdecl _get_sbh_threshold() msvcrt._get_sbh_threshold
@ cdecl _get_terminate() msvcrt._get_terminate @ 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_tzname(ptr str long long) msvcrt._get_tzname
@ cdecl _get_unexpected() msvcrt._get_unexpected @ cdecl _get_unexpected() msvcrt._get_unexpected
@ stub _get_winmajor @ stub _get_winmajor
......
...@@ -528,7 +528,7 @@ ...@@ -528,7 +528,7 @@
@ stub _get_purecall_handler @ stub _get_purecall_handler
@ cdecl _get_sbh_threshold() msvcrt._get_sbh_threshold @ cdecl _get_sbh_threshold() msvcrt._get_sbh_threshold
@ cdecl _get_terminate() msvcrt._get_terminate @ 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_tzname(ptr str long long) msvcrt._get_tzname
@ cdecl _get_unexpected() msvcrt._get_unexpected @ cdecl _get_unexpected() msvcrt._get_unexpected
@ cdecl _get_wpgmptr(ptr) msvcrt._get_wpgmptr @ cdecl _get_wpgmptr(ptr) msvcrt._get_wpgmptr
......
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