kernel32: Add semi-stub for GetFileAttributesTransactedA/W().

This commit is contained in:
Etaash Mathamsetty 2023-02-12 12:12:07 -05:00 committed by Alexandre Julliard
parent e89ee645b3
commit 121ab8bf83
2 changed files with 21 additions and 2 deletions

View file

@ -679,8 +679,8 @@
@ stdcall -import GetFileAttributesA(str) @ stdcall -import GetFileAttributesA(str)
@ stdcall -import GetFileAttributesExA(str long ptr) @ stdcall -import GetFileAttributesExA(str long ptr)
@ stdcall -import GetFileAttributesExW(wstr long ptr) @ stdcall -import GetFileAttributesExW(wstr long ptr)
# @ stub GetFileAttributesTransactedA @ stdcall GetFileAttributesTransactedA(str long ptr ptr)
# @ stub GetFileAttributesTransactedW @ stdcall GetFileAttributesTransactedW(wstr long ptr ptr)
@ stdcall -import GetFileAttributesW(wstr) @ stdcall -import GetFileAttributesW(wstr)
# @ stub GetFileBandwidthReservation # @ stub GetFileBandwidthReservation
@ stdcall -import GetFileInformationByHandle(long ptr) @ stdcall -import GetFileInformationByHandle(long ptr)

View file

@ -243,6 +243,25 @@ HANDLE WINAPI DECLSPEC_HOTPATCH FindFirstFileTransactedW( LPCWSTR filename, FIND
return FindFirstFileExW(filename, level, data, search_op, filter, flags); return FindFirstFileExW(filename, level, data, search_op, filter, flags);
} }
/**************************************************************************
* GetFileAttributesTransactedA (KERNEL32.@)
*/
DWORD WINAPI DECLSPEC_HOTPATCH GetFileAttributesTransactedA(LPCSTR name, GET_FILEEX_INFO_LEVELS level, void *ptr, HANDLE transaction)
{
FIXME("(%s %p): semi-stub\n", debugstr_a(name), transaction);
return GetFileAttributesExA(name, level, ptr);
}
/**************************************************************************
* GetFileAttributesTransactedW (KERNEL32.@)
*/
DWORD WINAPI DECLSPEC_HOTPATCH GetFileAttributesTransactedW(LPCWSTR name, GET_FILEEX_INFO_LEVELS level, void *ptr, HANDLE transaction)
{
FIXME("(%s %p): semi-stub\n", debugstr_w(name), transaction);
return GetFileAttributesExW(name, level, ptr);
}
/************************************************************************** /**************************************************************************
* MoveFileWithProgressA (KERNEL32.@) * MoveFileWithProgressA (KERNEL32.@)
*/ */