ucrtbase: Implement _get_stream_buffer_pointers.

Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Martin Storsjo 2015-11-04 12:25:27 +02:00 committed by Alexandre Julliard
parent 41f7f19cb5
commit 8cc5b07e9d
3 changed files with 17 additions and 2 deletions

View File

@ -55,7 +55,7 @@
@ cdecl _get_fmode(ptr) ucrtbase._get_fmode
@ cdecl _get_osfhandle(long) ucrtbase._get_osfhandle
@ cdecl _get_printf_count_output() ucrtbase._get_printf_count_output
@ stub _get_stream_buffer_pointers
@ cdecl _get_stream_buffer_pointers(ptr ptr ptr ptr) ucrtbase._get_stream_buffer_pointers
@ cdecl _getc_nolock(ptr) ucrtbase._getc_nolock
@ cdecl _getcwd(str long) ucrtbase._getcwd
@ cdecl _getdcwd(long str long) ucrtbase._getdcwd

View File

@ -5303,3 +5303,18 @@ int CDECL MSVCRT__setmaxstdio(int newmax)
MSVCRT_max_streams = newmax;
return MSVCRT_max_streams;
}
/*********************************************************************
* _get_stream_buffer_pointers (UCRTBASE.@)
*/
int CDECL MSVCRT__get_stream_buffer_pointers(MSVCRT_FILE *file, char*** base,
char*** ptr, int** count)
{
if (base)
*base = &file->_base;
if (ptr)
*ptr = &file->_ptr;
if (count)
*count = &file->_cnt;
return 0;
}

View File

@ -373,7 +373,7 @@
@ cdecl _get_pgmptr(ptr)
@ cdecl _get_printf_count_output() MSVCRT__get_printf_count_output
@ stub _get_purecall_handler
@ stub _get_stream_buffer_pointers
@ cdecl _get_stream_buffer_pointers(ptr ptr ptr ptr) MSVCRT__get_stream_buffer_pointers
@ cdecl _get_terminate() MSVCRT__get_terminate
@ stub _get_thread_local_invalid_parameter_handler
@ cdecl _get_timezone(ptr)