msvcr: Add _get_dstbias implementation.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
oldstable
Piotr Caban 2017-02-28 18:23:38 +01:00 committed by Alexandre Julliard
parent fca25446ef
commit 17186413fe
9 changed files with 18 additions and 8 deletions

View File

@ -23,7 +23,7 @@
@ cdecl _futime32(long ptr) ucrtbase._futime32
@ cdecl _futime64(long ptr) ucrtbase._futime64
@ cdecl _get_daylight(ptr) ucrtbase._get_daylight
@ stub _get_dstbias
@ cdecl _get_dstbias(ptr) ucrtbase._get_dstbias
@ cdecl _get_timezone(ptr) ucrtbase._get_timezone
@ cdecl _get_tzname(ptr str long long) ucrtbase._get_tzname
@ cdecl _getsystime(ptr) ucrtbase._getsystime

View File

@ -874,7 +874,7 @@
@ cdecl _get_current_locale() MSVCRT__get_current_locale
@ cdecl _get_daylight(ptr)
@ cdecl _get_doserrno(ptr)
@ stub _get_dstbias
@ cdecl _get_dstbias(ptr) MSVCRT__get_dstbias
@ cdecl _get_errno(ptr)
@ cdecl _get_fmode(ptr) MSVCRT__get_fmode
@ cdecl _get_heap_handle()

View File

@ -1221,7 +1221,7 @@
@ cdecl _get_current_locale() MSVCRT__get_current_locale
@ cdecl _get_daylight(ptr)
@ cdecl _get_doserrno(ptr)
@ stub _get_dstbias
@ cdecl _get_dstbias(ptr) MSVCRT__get_dstbias
@ cdecl _get_errno(ptr)
@ cdecl _get_fmode(ptr) MSVCRT__get_fmode
@ cdecl _get_heap_handle()

View File

@ -1221,7 +1221,7 @@
@ cdecl _get_current_locale() MSVCRT__get_current_locale
@ cdecl _get_daylight(ptr)
@ cdecl _get_doserrno(ptr)
@ stub _get_dstbias
@ cdecl _get_dstbias(ptr) MSVCRT__get_dstbias
@ cdecl _get_errno(ptr)
@ cdecl _get_fmode(ptr) MSVCRT__get_fmode
@ cdecl _get_heap_handle()

View File

@ -1149,7 +1149,7 @@
@ cdecl _get_current_locale() msvcr120._get_current_locale
@ cdecl _get_daylight(ptr) msvcr120._get_daylight
@ cdecl _get_doserrno(ptr) msvcr120._get_doserrno
@ stub _get_dstbias
@ cdecl _get_dstbias(ptr) msvcr120._get_dstbias
@ cdecl _get_errno(ptr) msvcr120._get_errno
@ cdecl _get_fmode(ptr) msvcr120._get_fmode
@ cdecl _get_heap_handle() msvcr120._get_heap_handle

View File

@ -541,7 +541,7 @@
@ cdecl _get_current_locale() MSVCRT__get_current_locale
@ cdecl _get_daylight(ptr)
@ cdecl _get_doserrno(ptr)
@ stub _get_dstbias
@ cdecl _get_dstbias(ptr) MSVCRT__get_dstbias
@ cdecl _get_errno(ptr)
@ cdecl _get_fmode(ptr) MSVCRT__get_fmode
@ cdecl _get_heap_handle()

View File

@ -524,7 +524,7 @@
@ cdecl _get_current_locale() MSVCRT__get_current_locale
@ cdecl _get_daylight(ptr)
@ cdecl _get_doserrno(ptr)
@ stub _get_dstbias
@ cdecl _get_dstbias(ptr) MSVCRT__get_dstbias
@ cdecl _get_errno(ptr)
@ cdecl _get_fmode(ptr) MSVCRT__get_fmode
@ cdecl _get_heap_handle()

View File

@ -890,6 +890,16 @@ int * CDECL MSVCRT___p__dstbias(void)
return &MSVCRT__dstbias;
}
/*********************************************************************
* _get_dstbias (MSVCR80.@)
*/
int CDECL MSVCRT__get_dstbias(int *seconds)
{
if (!MSVCRT_CHECK_PMT(seconds != NULL)) return MSVCRT_EINVAL;
*seconds = MSVCRT__dstbias;
return 0;
}
/*********************************************************************
* __p__timezone (MSVCRT.@)
*/

View File

@ -361,7 +361,7 @@
@ cdecl _get_current_locale() MSVCRT__get_current_locale
@ cdecl _get_daylight(ptr)
@ cdecl _get_doserrno(ptr)
@ stub _get_dstbias
@ cdecl _get_dstbias(ptr) MSVCRT__get_dstbias
@ cdecl _get_errno(ptr)
@ cdecl _get_fmode(ptr) MSVCRT__get_fmode
@ cdecl _get_heap_handle()