Module: wine Branch: master Commit: a5e6c89dcf251e9ae475ab73c75c04cc3a239992 URL: http://source.winehq.org/git/wine.git/?a=commit;h=a5e6c89dcf251e9ae475ab73c7...
Author: Louis. Lenders xerox_xerox2000@yahoo.co.uk Date: Tue Oct 17 23:34:02 2006 +0100
msvcrt: Add stub for _getmaxstdio.
---
dlls/msvcrt/file.c | 9 +++++++++ dlls/msvcrt/msvcrt.spec | 2 +- 2 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/dlls/msvcrt/file.c b/dlls/msvcrt/file.c index 98c800c..146e0f3 100644 --- a/dlls/msvcrt/file.c +++ b/dlls/msvcrt/file.c @@ -3080,6 +3080,15 @@ int CDECL MSVCRT_wprintf(const MSVCRT_wc }
/********************************************************************* + * _getmaxstdio (MSVCRT.@) + */ +int CDECL _getmaxstdio(void) +{ + FIXME("stub, always returns 512\n"); + return 512; +} + +/********************************************************************* * __pioinfo (MSVCRT.@) * FIXME: see MSVCRT_MAX_FILES define. */ diff --git a/dlls/msvcrt/msvcrt.spec b/dlls/msvcrt/msvcrt.spec index 5f4b61d..6a46798 100644 --- a/dlls/msvcrt/msvcrt.spec +++ b/dlls/msvcrt/msvcrt.spec @@ -260,7 +260,7 @@ # extern _fileinfo @ cdecl _getdllprocaddr(long str long) @ cdecl _getdrive() @ cdecl _getdrives() kernel32.GetLogicalDrives -@ stub _getmaxstdio #() +@ cdecl _getmaxstdio() @ cdecl _getmbcp() @ cdecl _getpid() kernel32.GetCurrentProcessId @ stub _getsystime #(ptr)