Skip to content

Commit 0e3d667

Browse files
Etaash-mathamsettyIsaacMarovitz
authored andcommitted
kernel32: Add semi-stub for CreateFileTransactedA/W()
1 parent ff78120 commit 0e3d667

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

dlls/kernel32/kernel32.spec

+2
Original file line numberDiff line numberDiff line change
@@ -283,11 +283,13 @@
283283
@ stdcall -import CreateFiberEx(long long long ptr ptr)
284284
@ stdcall -import CreateFile2(wstr long long long ptr)
285285
@ stdcall -import CreateFileA(str long long ptr long long long)
286+
@ stdcall CreateFileTransactedA(str long long ptr long long long ptr ptr ptr)
286287
@ stdcall CreateFileMappingA(long ptr long long long str)
287288
# @ stub CreateFileMappingNumaA
288289
@ stdcall -import CreateFileMappingNumaW(long ptr long long long wstr long)
289290
@ stdcall -import CreateFileMappingW(long ptr long long long wstr)
290291
@ stdcall -import CreateFileW(wstr long long ptr long long long)
292+
@ stdcall CreateFileTransactedW(wstr long long ptr long long long ptr ptr ptr)
291293
@ stdcall -import CreateHardLinkA(str str ptr)
292294
@ stdcall CreateHardLinkTransactedA(str str ptr ptr)
293295
@ stdcall CreateHardLinkTransactedW(wstr wstr ptr ptr)

dlls/kernel32/path.c

+25
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,31 @@ BOOL WINAPI MoveFileTransactedW(const WCHAR *source, const WCHAR *dest, LPPROGRE
158158
return FALSE;
159159
}
160160

161+
/*************************************************************************
162+
* CreateFileTransactedA (KERNEL32.@)
163+
*/
164+
HANDLE WINAPI DECLSPEC_HOTPATCH CreateFileTransactedA( LPCSTR name, DWORD access, DWORD sharing,
165+
LPSECURITY_ATTRIBUTES sa, DWORD creation,
166+
DWORD attributes, HANDLE template,
167+
HANDLE transaction, PUSHORT version,
168+
PVOID param )
169+
{
170+
FIXME("(%s %lx %lx %p %lx %lx %p %p %p %p): semi-stub\n", debugstr_a(name), access, sharing, sa, creation, attributes, template, transaction, version, param);
171+
return CreateFileA(name, access, sharing, sa, creation, attributes, template);
172+
}
173+
174+
/*************************************************************************
175+
* CreateFileTransactedW (KERNEL32.@)
176+
*/
177+
HANDLE WINAPI DECLSPEC_HOTPATCH CreateFileTransactedW( LPCWSTR name, DWORD access, DWORD sharing,
178+
LPSECURITY_ATTRIBUTES sa, DWORD creation,
179+
DWORD attributes, HANDLE template, HANDLE transaction,
180+
PUSHORT version, PVOID param )
181+
{
182+
FIXME("(%s %lx %lx %p %lx %lx %p %p %p %p): semi-stub\n", debugstr_w(name), access, sharing, sa, creation, attributes, template, transaction, version, param);
183+
return CreateFileW(name, access, sharing, sa, creation, attributes, template);
184+
}
185+
161186
/**************************************************************************
162187
* MoveFileWithProgressA (KERNEL32.@)
163188
*/

0 commit comments

Comments
 (0)