Commit e165464e authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

msvcrt: Implement _wfindnext64.

parent 1601a264
...@@ -1344,7 +1344,7 @@ ...@@ -1344,7 +1344,7 @@
@ cdecl _wfindfirst64i32(wstr ptr) msvcrt._wfindfirst64i32 @ cdecl _wfindfirst64i32(wstr ptr) msvcrt._wfindfirst64i32
@ stub _wfindnext32 @ stub _wfindnext32
@ stub _wfindnext32i64 @ stub _wfindnext32i64
@ stub _wfindnext64 @ cdecl _wfindnext64(long ptr) msvcrt._wfindnext64
@ cdecl _wfindnext64i32(wstr ptr) msvcrt._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
......
...@@ -625,7 +625,7 @@ ...@@ -625,7 +625,7 @@
@ cdecl _wfindfirst64(wstr ptr) msvcrt._wfindfirst64 @ cdecl _wfindfirst64(wstr ptr) msvcrt._wfindfirst64
@ cdecl _wfindfirsti64(wstr ptr) msvcrt._wfindfirsti64 @ cdecl _wfindfirsti64(wstr ptr) msvcrt._wfindfirsti64
@ cdecl _wfindnext(long ptr) msvcrt._wfindnext @ cdecl _wfindnext(long ptr) msvcrt._wfindnext
@ stub _wfindnext64 @ cdecl _wfindnext64(long ptr) msvcrt._wfindnext64
@ 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 _wfreopen(wstr wstr ptr) msvcrt._wfreopen @ cdecl _wfreopen(wstr wstr ptr) msvcrt._wfreopen
......
...@@ -621,7 +621,7 @@ ...@@ -621,7 +621,7 @@
@ cdecl _wfindfirst64(wstr ptr) msvcrt._wfindfirst64 @ cdecl _wfindfirst64(wstr ptr) msvcrt._wfindfirst64
@ cdecl _wfindfirsti64(wstr ptr) msvcrt._wfindfirsti64 @ cdecl _wfindfirsti64(wstr ptr) msvcrt._wfindfirsti64
@ cdecl _wfindnext(long ptr) msvcrt._wfindnext @ cdecl _wfindnext(long ptr) msvcrt._wfindnext
@ stub _wfindnext64 @ cdecl _wfindnext64(long ptr) msvcrt._wfindnext64
@ 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 _wfreopen(wstr wstr ptr) msvcrt._wfreopen @ cdecl _wfreopen(wstr wstr ptr) msvcrt._wfreopen
......
...@@ -1197,7 +1197,7 @@ ...@@ -1197,7 +1197,7 @@
@ cdecl _wfindfirst64i32(wstr ptr) msvcrt._wfindfirst64i32 @ cdecl _wfindfirst64i32(wstr ptr) msvcrt._wfindfirst64i32
@ stub _wfindnext32 @ stub _wfindnext32
@ stub _wfindnext32i64 @ stub _wfindnext32i64
@ stub _wfindnext64 @ cdecl _wfindnext64(long ptr) msvcrt._wfindnext64
@ cdecl _wfindnext64i32(wstr ptr) msvcrt._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
......
...@@ -1184,7 +1184,7 @@ ...@@ -1184,7 +1184,7 @@
@ cdecl _wfindfirst64i32(wstr ptr) msvcrt._wfindfirst64i32 @ cdecl _wfindfirst64i32(wstr ptr) msvcrt._wfindfirst64i32
@ stub _wfindnext32 @ stub _wfindnext32
@ stub _wfindnext32i64 @ stub _wfindnext32i64
@ stub _wfindnext64 @ cdecl _wfindnext64(long ptr) msvcrt._wfindnext64
@ cdecl _wfindnext64i32(wstr ptr) msvcrt._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
......
...@@ -560,6 +560,25 @@ int CDECL MSVCRT__findnext64(long hand, struct MSVCRT__finddata64_t * ft) ...@@ -560,6 +560,25 @@ int CDECL MSVCRT__findnext64(long hand, struct MSVCRT__finddata64_t * ft)
} }
/********************************************************************* /*********************************************************************
* _wfindnext64 (MSVCRT.@)
*
* Unicode version of _wfindnext64.
*/
int CDECL MSVCRT__wfindnext64(MSVCRT_intptr_t hand, struct MSVCRT__wfinddata64_t * ft)
{
WIN32_FIND_DATAW find_data;
if (!FindNextFileW((HANDLE)hand, &find_data))
{
*MSVCRT__errno() = MSVCRT_ENOENT;
return -1;
}
msvcrt_wfttofd64(&find_data,ft);
return 0;
}
/*********************************************************************
* _findnext64i32 (MSVCRT.@) * _findnext64i32 (MSVCRT.@)
* *
* 64-bit/32-bit version of _findnext. * 64-bit/32-bit version of _findnext.
......
...@@ -1116,7 +1116,7 @@ ...@@ -1116,7 +1116,7 @@
@ cdecl _wfindfirsti64(wstr ptr) MSVCRT__wfindfirsti64 @ cdecl _wfindfirsti64(wstr ptr) MSVCRT__wfindfirsti64
@ 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 @ cdecl _wfindnext64(long ptr) MSVCRT__wfindnext64
@ cdecl _wfindnext64i32(long ptr) MSVCRT__wfindnext64i32 @ 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
......
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