msvcrt: Implement _wfindnext64i32.

This commit is contained in:
Eryk Wieliczko 2010-11-20 15:15:00 +01:00 committed by Alexandre Julliard
parent 7d50809705
commit 40874d91d9
5 changed files with 23 additions and 3 deletions

View File

@ -1345,7 +1345,7 @@
@ stub _wfindnext32
@ stub _wfindnext32i64
@ stub _wfindnext64
@ stub _wfindnext64i32
@ cdecl _wfindnext64i32(wstr ptr) msvcrt._wfindnext64i32
@ cdecl _wfopen(wstr wstr) msvcrt._wfopen
@ cdecl _wfopen_s(ptr wstr wstr) msvcrt._wfopen_s
@ cdecl _wfreopen(wstr wstr ptr) msvcrt._wfreopen

View File

@ -1198,7 +1198,7 @@
@ stub _wfindnext32
@ stub _wfindnext32i64
@ stub _wfindnext64
@ stub _wfindnext64i32
@ cdecl _wfindnext64i32(wstr ptr) msvcrt._wfindnext64i32
@ cdecl _wfopen(wstr wstr) msvcrt._wfopen
@ cdecl _wfopen_s(ptr wstr wstr) msvcrt._wfopen_s
@ cdecl _wfreopen(wstr wstr ptr) msvcrt._wfreopen

View File

@ -1185,7 +1185,7 @@
@ stub _wfindnext32
@ stub _wfindnext32i64
@ stub _wfindnext64
@ stub _wfindnext64i32
@ cdecl _wfindnext64i32(wstr ptr) msvcrt._wfindnext64i32
@ cdecl _wfopen(wstr wstr) msvcrt._wfopen
@ cdecl _wfopen_s(ptr wstr wstr) msvcrt._wfopen_s
@ cdecl _wfreopen(wstr wstr ptr) msvcrt._wfreopen

View File

@ -556,6 +556,25 @@ int CDECL MSVCRT__wfindnexti64(MSVCRT_intptr_t hand, struct MSVCRT__wfinddatai64
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.@)
*

View File

@ -1117,6 +1117,7 @@
@ cdecl _wfindfirst64i32(wstr ptr) MSVCRT__wfindfirst64i32
@ cdecl _wfindnext(long ptr) MSVCRT__wfindnext
# stub _wfindnext64
@ cdecl _wfindnext64i32(long ptr) MSVCRT__wfindnext64i32
@ cdecl _wfindnexti64(long ptr) MSVCRT__wfindnexti64
@ cdecl _wfopen(wstr wstr) MSVCRT__wfopen
@ cdecl _wfopen_s(ptr wstr wstr) MSVCRT__wfopen_s