Commit 43034dee authored by Gijs Vermeulen's avatar Gijs Vermeulen Committed by Alexandre Julliard

msvcrt: Add _get_[winmajor|winminor|osver].

parent 80a74873
......@@ -548,7 +548,7 @@
@ cdecl _get_invalid_parameter_handler()
@ cdecl _get_osfhandle(long) MSVCRT__get_osfhandle
@ cdecl _get_osplatform(ptr) MSVCRT__get_osplatform
@ stub _get_osver
@ cdecl _get_osver(ptr) MSVCRT__get_osver
@ cdecl _get_output_format() MSVCRT__get_output_format
@ cdecl _get_pgmptr(ptr)
@ cdecl _get_printf_count_output() MSVCRT__get_printf_count_output
......@@ -558,8 +558,8 @@
@ cdecl _get_timezone(ptr)
@ cdecl _get_tzname(ptr str long long) MSVCRT__get_tzname
@ cdecl _get_unexpected() MSVCRT__get_unexpected
@ stub _get_winmajor
@ stub _get_winminor
@ cdecl _get_winmajor(ptr) MSVCRT__get_winmajor
@ cdecl _get_winminor(ptr) MSVCRT__get_winminor
@ stub _get_winver
@ cdecl _get_wpgmptr(ptr)
@ cdecl _getc_nolock(ptr) MSVCRT__fgetc_nolock
......
......@@ -746,3 +746,33 @@ MSVCRT_wchar_t* CDECL _get_wide_winmain_command_line(void)
return wide_command_line = s;
}
/*********************************************************************
* _get_winmajor (MSVCRT.@)
*/
int CDECL MSVCRT__get_winmajor(int* value)
{
if (!MSVCRT_CHECK_PMT(value != NULL)) return MSVCRT_EINVAL;
*value = MSVCRT__winmajor;
return 0;
}
/*********************************************************************
* _get_winminor (MSVCRT.@)
*/
int CDECL MSVCRT__get_winminor(int* value)
{
if (!MSVCRT_CHECK_PMT(value != NULL)) return MSVCRT_EINVAL;
*value = MSVCRT__winminor;
return 0;
}
/*********************************************************************
* _get_osver (MSVCRT.@)
*/
int CDECL MSVCRT__get_osver(int* value)
{
if (!MSVCRT_CHECK_PMT(value != NULL)) return MSVCRT_EINVAL;
*value = MSVCRT__osver;
return 0;
}
......@@ -508,13 +508,13 @@
@ cdecl _get_heap_handle()
@ cdecl _get_osfhandle(long) MSVCRT__get_osfhandle
@ cdecl _get_osplatform(ptr) MSVCRT__get_osplatform
# stub _get_osver(ptr)
@ cdecl _get_osver(ptr) MSVCRT__get_osver
@ cdecl _get_output_format() MSVCRT__get_output_format
@ cdecl _get_pgmptr(ptr)
@ cdecl _get_sbh_threshold()
# stub _get_wenviron(ptr)
# stub _get_winmajor(ptr)
# stub _get_winminor(ptr)
@ cdecl _get_winmajor(ptr) MSVCRT__get_winmajor
@ cdecl _get_winminor(ptr) MSVCRT__get_winminor
# stub _get_winver(ptr)
@ cdecl _get_wpgmptr(ptr)
@ cdecl _get_terminate() MSVCRT__get_terminate
......
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