Commit 82763983 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

msvcrt: Added _findnext32() implementation.

parent cd7f0962
......@@ -621,7 +621,7 @@
@ stub _findfirst32i64
@ cdecl _findfirst64(str ptr) msvcrt._findfirst64
@ cdecl _findfirst64i32(str ptr) msvcrt._findfirst64i32
@ stub _findnext32
@ cdecl _findnext32(long ptr) msvcrt._findnext32
@ stub _findnext32i64
@ cdecl _findnext64(long ptr) msvcrt._findnext64
@ cdecl _findnext64i32(long ptr) msvcrt._findnext64i32
......
......@@ -462,7 +462,7 @@
@ stub _findfirst32i64
@ cdecl _findfirst64(str ptr) msvcrt._findfirst64
@ cdecl _findfirst64i32(str ptr) msvcrt._findfirst64i32
@ stub _findnext32
@ cdecl _findnext32(long ptr) msvcrt._findnext32
@ stub _findnext32i64
@ cdecl _findnext64(long ptr) msvcrt._findnext64
@ cdecl _findnext64i32(long ptr) msvcrt._findnext64i32
......
......@@ -454,7 +454,7 @@
@ stub _findfirst32i64
@ cdecl _findfirst64(str ptr) msvcrt._findfirst64
@ cdecl _findfirst64i32(str ptr) msvcrt._findfirst64i32
@ stub _findnext32
@ cdecl _findnext32(long ptr) msvcrt._findnext32
@ stub _findnext32i64
@ cdecl _findnext64(long ptr) msvcrt._findnext64
@ cdecl _findnext64i32(long ptr) msvcrt._findnext64i32
......
......@@ -542,6 +542,23 @@ int CDECL MSVCRT__findnext(MSVCRT_intptr_t hand, struct MSVCRT__finddata_t * ft)
}
/*********************************************************************
* _findnext32 (MSVCRT.@)
*/
int CDECL MSVCRT__findnext32(MSVCRT_intptr_t hand, struct MSVCRT__finddata32_t * ft)
{
WIN32_FIND_DATAA find_data;
if (!FindNextFileA((HANDLE)hand, &find_data))
{
*MSVCRT__errno() = MSVCRT_ENOENT;
return -1;
}
msvcrt_fttofd32(&find_data, ft);
return 0;
}
/*********************************************************************
* _wfindnext (MSVCRT.@)
*
* Unicode version of _findnext.
......
......@@ -416,6 +416,7 @@
@ cdecl _findfirst64i32(str ptr) MSVCRT__findfirst64i32
@ cdecl _findfirsti64(str ptr) MSVCRT__findfirsti64
@ cdecl _findnext(long ptr) MSVCRT__findnext
@ cdecl _findnext32(long ptr) MSVCRT__findnext32
@ cdecl _findnext64(long ptr) MSVCRT__findnext64
@ cdecl _findnext64i32(long ptr) MSVCRT__findnext64i32
@ cdecl _findnexti64(long ptr) MSVCRT__findnexti64
......
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