From b331c4f93196876256c898080886136b0abb353f Mon Sep 17 00:00:00 2001 From: Austin English Date: Wed, 4 Feb 2015 14:51:42 -0600 Subject: [PATCH] kernel32: Add CreateHardLinkTransactedA/W stubs. --- dlls/kernel32/kernel32.spec | 4 ++-- dlls/kernel32/path.c | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/dlls/kernel32/kernel32.spec b/dlls/kernel32/kernel32.spec index 3719505abd..f49075e707 100644 --- a/dlls/kernel32/kernel32.spec +++ b/dlls/kernel32/kernel32.spec @@ -286,8 +286,8 @@ @ stdcall CreateFileMappingA(long ptr long long long str) # @ stub CreateFileMappingNumaA # @ stub CreateFileMappingNumaW -# @ stub CreateFileTransactedA -# @ stub CreateFileTransactedW +@ stdcall CreateHardLinkTransactedA(str str ptr ptr) +@ stdcall CreateHardLinkTransactedW(wstr wstr ptr ptr) @ stdcall CreateFileMappingW(long ptr long long long wstr) @ stdcall CreateFileW(wstr long long ptr long long long) @ stdcall CreateHardLinkA(str str ptr) diff --git a/dlls/kernel32/path.c b/dlls/kernel32/path.c index bb167a0f19..475b1f654c 100644 --- a/dlls/kernel32/path.c +++ b/dlls/kernel32/path.c @@ -1972,3 +1972,23 @@ BOOL WINAPI CreateSymbolicLinkA(LPCSTR link, LPCSTR target, DWORD flags) FIXME("(%s %s %d): stub\n", debugstr_a(link), debugstr_a(target), flags); return TRUE; } + +/************************************************************************* + * CreateHardLinkTransactedA (KERNEL32.@) + */ +BOOL WINAPI CreateHardLinkTransactedA(LPCSTR link, LPCSTR target, LPSECURITY_ATTRIBUTES sa, HANDLE transaction) +{ + FIXME("(%s %s %p %p): stub\n", debugstr_a(link), debugstr_a(target), sa, transaction); + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + +/************************************************************************* + * CreateHardLinkTransactedW (KERNEL32.@) + */ +BOOL WINAPI CreateHardLinkTransactedW(LPCWSTR link, LPCWSTR target, LPSECURITY_ATTRIBUTES sa, HANDLE transaction) +{ + FIXME("(%s %s %p %p): stub\n", debugstr_w(link), debugstr_w(target), sa, transaction); + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +}