msvcrt: Implement _wfindnext64i32.
This commit is contained in:
parent
7d50809705
commit
40874d91d9
|
@ -1345,7 +1345,7 @@
|
||||||
@ stub _wfindnext32
|
@ stub _wfindnext32
|
||||||
@ stub _wfindnext32i64
|
@ stub _wfindnext32i64
|
||||||
@ stub _wfindnext64
|
@ stub _wfindnext64
|
||||||
@ stub _wfindnext64i32
|
@ cdecl _wfindnext64i32(wstr ptr) msvcrt._wfindnext64i32
|
||||||
@ cdecl _wfopen(wstr wstr) msvcrt._wfopen
|
@ cdecl _wfopen(wstr wstr) msvcrt._wfopen
|
||||||
@ cdecl _wfopen_s(ptr wstr wstr) msvcrt._wfopen_s
|
@ cdecl _wfopen_s(ptr wstr wstr) msvcrt._wfopen_s
|
||||||
@ cdecl _wfreopen(wstr wstr ptr) msvcrt._wfreopen
|
@ cdecl _wfreopen(wstr wstr ptr) msvcrt._wfreopen
|
||||||
|
|
|
@ -1198,7 +1198,7 @@
|
||||||
@ stub _wfindnext32
|
@ stub _wfindnext32
|
||||||
@ stub _wfindnext32i64
|
@ stub _wfindnext32i64
|
||||||
@ stub _wfindnext64
|
@ stub _wfindnext64
|
||||||
@ stub _wfindnext64i32
|
@ cdecl _wfindnext64i32(wstr ptr) msvcrt._wfindnext64i32
|
||||||
@ cdecl _wfopen(wstr wstr) msvcrt._wfopen
|
@ cdecl _wfopen(wstr wstr) msvcrt._wfopen
|
||||||
@ cdecl _wfopen_s(ptr wstr wstr) msvcrt._wfopen_s
|
@ cdecl _wfopen_s(ptr wstr wstr) msvcrt._wfopen_s
|
||||||
@ cdecl _wfreopen(wstr wstr ptr) msvcrt._wfreopen
|
@ cdecl _wfreopen(wstr wstr ptr) msvcrt._wfreopen
|
||||||
|
|
|
@ -1185,7 +1185,7 @@
|
||||||
@ stub _wfindnext32
|
@ stub _wfindnext32
|
||||||
@ stub _wfindnext32i64
|
@ stub _wfindnext32i64
|
||||||
@ stub _wfindnext64
|
@ stub _wfindnext64
|
||||||
@ stub _wfindnext64i32
|
@ cdecl _wfindnext64i32(wstr ptr) msvcrt._wfindnext64i32
|
||||||
@ cdecl _wfopen(wstr wstr) msvcrt._wfopen
|
@ cdecl _wfopen(wstr wstr) msvcrt._wfopen
|
||||||
@ cdecl _wfopen_s(ptr wstr wstr) msvcrt._wfopen_s
|
@ cdecl _wfopen_s(ptr wstr wstr) msvcrt._wfopen_s
|
||||||
@ cdecl _wfreopen(wstr wstr ptr) msvcrt._wfreopen
|
@ cdecl _wfreopen(wstr wstr ptr) msvcrt._wfreopen
|
||||||
|
|
|
@ -556,6 +556,25 @@ int CDECL MSVCRT__wfindnexti64(MSVCRT_intptr_t hand, struct MSVCRT__wfinddatai64
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*********************************************************************
|
||||||
|
* _wfindnext64i32 (MSVCRT.@)
|
||||||
|
*
|
||||||
|
* Unicode version of _findnext64i32.
|
||||||
|
*/
|
||||||
|
int CDECL MSVCRT__wfindnext64i32(MSVCRT_intptr_t hand, struct MSVCRT__wfinddata64i32_t * ft)
|
||||||
|
{
|
||||||
|
WIN32_FIND_DATAW find_data;
|
||||||
|
|
||||||
|
if (!FindNextFileW((HANDLE)hand, &find_data))
|
||||||
|
{
|
||||||
|
*MSVCRT__errno() = MSVCRT_ENOENT;
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
msvcrt_wfttofd64i32(&find_data,ft);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
/*********************************************************************
|
/*********************************************************************
|
||||||
* _getcwd (MSVCRT.@)
|
* _getcwd (MSVCRT.@)
|
||||||
*
|
*
|
||||||
|
|
|
@ -1117,6 +1117,7 @@
|
||||||
@ cdecl _wfindfirst64i32(wstr ptr) MSVCRT__wfindfirst64i32
|
@ cdecl _wfindfirst64i32(wstr ptr) MSVCRT__wfindfirst64i32
|
||||||
@ cdecl _wfindnext(long ptr) MSVCRT__wfindnext
|
@ cdecl _wfindnext(long ptr) MSVCRT__wfindnext
|
||||||
# stub _wfindnext64
|
# stub _wfindnext64
|
||||||
|
@ cdecl _wfindnext64i32(long ptr) MSVCRT__wfindnext64i32
|
||||||
@ cdecl _wfindnexti64(long ptr) MSVCRT__wfindnexti64
|
@ cdecl _wfindnexti64(long ptr) MSVCRT__wfindnexti64
|
||||||
@ cdecl _wfopen(wstr wstr) MSVCRT__wfopen
|
@ cdecl _wfopen(wstr wstr) MSVCRT__wfopen
|
||||||
@ cdecl _wfopen_s(ptr wstr wstr) MSVCRT__wfopen_s
|
@ cdecl _wfopen_s(ptr wstr wstr) MSVCRT__wfopen_s
|
||||||
|
|
Loading…
Reference in New Issue