msvcrt: Added _wfindnext32().

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2016-11-04 19:05:05 +03:00 committed by Alexandre Julliard
parent b814056599
commit c03e5ed3be
9 changed files with 25 additions and 8 deletions

View File

@ -43,7 +43,7 @@
@ stub _wfindfirst32i64
@ cdecl _wfindfirst64(wstr ptr) ucrtbase._wfindfirst64
@ cdecl _wfindfirst64i32(wstr ptr) ucrtbase._wfindfirst64i32
@ stub _wfindnext32
@ cdecl _wfindnext32(long ptr) ucrtbase._wfindnext32
@ stub _wfindnext32i64
@ cdecl _wfindnext64(long ptr) ucrtbase._wfindnext64
@ cdecl _wfindnext64i32(long ptr) ucrtbase._wfindnext64i32

View File

@ -1547,7 +1547,7 @@
@ stub _wfindfirst32i64
@ cdecl _wfindfirst64(wstr ptr) MSVCRT__wfindfirst64
@ cdecl _wfindfirst64i32(wstr ptr) MSVCRT__wfindfirst64i32
@ stub _wfindnext32
@ cdecl _wfindnext32(long ptr) MSVCRT__wfindnext32
@ stub _wfindnext32i64
@ cdecl _wfindnext64(long ptr) MSVCRT__wfindnext64
@ cdecl _wfindnext64i32(long ptr) MSVCRT__wfindnext64i32

View File

@ -1905,7 +1905,7 @@
@ stub _wfindfirst32i64
@ cdecl _wfindfirst64(wstr ptr) MSVCRT__wfindfirst64
@ cdecl _wfindfirst64i32(wstr ptr) MSVCRT__wfindfirst64i32
@ stub _wfindnext32
@ cdecl _wfindnext32(long ptr) MSVCRT__wfindnext32
@ stub _wfindnext32i64
@ cdecl _wfindnext64(long ptr) MSVCRT__wfindnext64
@ cdecl _wfindnext64i32(long ptr) MSVCRT__wfindnext64i32

View File

@ -1929,7 +1929,7 @@
@ stub _wfindfirst32i64
@ cdecl _wfindfirst64(wstr ptr) MSVCRT__wfindfirst64
@ cdecl _wfindfirst64i32(wstr ptr) MSVCRT__wfindfirst64i32
@ stub _wfindnext32
@ cdecl _wfindnext32(long ptr) MSVCRT__wfindnext32
@ stub _wfindnext32i64
@ cdecl _wfindnext64(long ptr) MSVCRT__wfindnext64
@ cdecl _wfindnext64i32(long ptr) MSVCRT__wfindnext64i32

View File

@ -1613,7 +1613,7 @@
@ stub _wfindfirst32i64
@ cdecl _wfindfirst64(wstr ptr) msvcr120._wfindfirst64
@ cdecl _wfindfirst64i32(wstr ptr) msvcr120._wfindfirst64i32
@ stub _wfindnext32
@ cdecl _wfindnext32(long ptr) msvcr120._wfindnext32
@ stub _wfindnext32i64
@ cdecl _wfindnext64(long ptr) msvcr120._wfindnext64
@ cdecl _wfindnext64i32(long ptr) msvcr120._wfindnext64i32

View File

@ -1226,7 +1226,7 @@
@ stub _wfindfirst32i64
@ cdecl _wfindfirst64(wstr ptr) MSVCRT__wfindfirst64
@ cdecl _wfindfirst64i32(wstr ptr) MSVCRT__wfindfirst64i32
@ stub _wfindnext32
@ cdecl _wfindnext32(long ptr) MSVCRT__wfindnext32
@ stub _wfindnext32i64
@ cdecl _wfindnext64(long ptr) MSVCRT__wfindnext64
@ cdecl _wfindnext64i32(long ptr) MSVCRT__wfindnext64i32

View File

@ -1202,7 +1202,7 @@
@ stub _wfindfirst32i64
@ cdecl _wfindfirst64(wstr ptr) MSVCRT__wfindfirst64
@ cdecl _wfindfirst64i32(wstr ptr) MSVCRT__wfindfirst64i32
@ stub _wfindnext32
@ cdecl _wfindnext32(long ptr) MSVCRT__wfindnext32
@ stub _wfindnext32i64
@ cdecl _wfindnext64(long ptr) MSVCRT__wfindnext64
@ cdecl _wfindnext64i32(long ptr) MSVCRT__wfindnext64i32

View File

@ -598,6 +598,23 @@ int CDECL MSVCRT__findnext32(MSVCRT_intptr_t hand, struct MSVCRT__finddata32_t *
return 0;
}
/*********************************************************************
* _wfindnext32 (MSVCRT.@)
*/
int CDECL MSVCRT__wfindnext32(MSVCRT_intptr_t hand, struct MSVCRT__wfinddata32_t * ft)
{
WIN32_FIND_DATAW find_data;
if (!FindNextFileW((HANDLE)hand, &find_data))
{
*MSVCRT__errno() = MSVCRT_ENOENT;
return -1;
}
msvcrt_wfttofd32(&find_data, ft);
return 0;
}
/*********************************************************************
* _wfindnext (MSVCRT.@)
*

View File

@ -2077,7 +2077,7 @@
@ stub _wfindfirst32i64
@ cdecl _wfindfirst64(wstr ptr) MSVCRT__wfindfirst64
@ cdecl _wfindfirst64i32(wstr ptr) MSVCRT__wfindfirst64i32
@ stub _wfindnext32
@ cdecl _wfindnext32(long ptr) MSVCRT__wfindnext32
@ stub _wfindnext32i64
@ cdecl _wfindnext64(long ptr) MSVCRT__wfindnext64
@ cdecl _wfindnext64i32(long ptr) MSVCRT__wfindnext64i32