msvcrt: Added _findnext32() implementation.
This commit is contained in:
parent
cd7f096210
commit
82763983dc
|
@ -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
|
||||
|
|
|
@ -541,6 +541,23 @@ int CDECL MSVCRT__findnext(MSVCRT_intptr_t hand, struct MSVCRT__finddata_t * ft)
|
|||
return 0;
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
* _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.@)
|
||||
*
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue