From 5e95d7039ebd1d4fa245886983514963cb6c2bc5 Mon Sep 17 00:00:00 2001 From: Detlef Riekenberg Date: Sun, 7 Nov 2010 22:20:02 +0100 Subject: [PATCH] ntdll: Add stubs for Rtl[G/S]etCurrentTransaction. --- dlls/ntdll/ntdll.spec | 2 ++ dlls/ntdll/rtl.c | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/dlls/ntdll/ntdll.spec b/dlls/ntdll/ntdll.spec index 8df3d8c1b35..1a33595cf8b 100644 --- a/dlls/ntdll/ntdll.spec +++ b/dlls/ntdll/ntdll.spec @@ -619,6 +619,7 @@ @ stdcall RtlGetControlSecurityDescriptor(ptr ptr ptr) @ stdcall RtlGetCurrentDirectory_U(long ptr) @ stdcall RtlGetCurrentPeb() +@ stdcall RtlGetCurrentTransaction() @ stdcall RtlGetDaclSecurityDescriptor(ptr ptr ptr ptr) @ stub RtlGetElementGenericTable # @ stub RtlGetElementGenericTableAvl @@ -825,6 +826,7 @@ @ stdcall RtlSetCriticalSectionSpinCount(ptr long) @ stdcall RtlSetCurrentDirectory_U(ptr) @ stdcall RtlSetCurrentEnvironment(wstr ptr) +@ stdcall RtlSetCurrentTransaction(ptr) @ stdcall RtlSetDaclSecurityDescriptor(ptr long ptr long) @ stdcall RtlSetEnvironmentVariable(ptr ptr ptr) @ stdcall RtlSetGroupSecurityDescriptor(ptr ptr long) diff --git a/dlls/ntdll/rtl.c b/dlls/ntdll/rtl.c index 5b8527bd71f..a81c8e746a7 100644 --- a/dlls/ntdll/rtl.c +++ b/dlls/ntdll/rtl.c @@ -1323,3 +1323,21 @@ DWORD WINAPI RtlGetThreadErrorMode( void ) { return NtCurrentTeb()->HardErrorDisabled; } + +/****************************************************************************** + * RtlGetCurrentTransaction [NTDLL.@] + */ +HANDLE WINAPI RtlGetCurrentTransaction(void) +{ + FIXME("() :stub\n"); + return NULL; +} + +/****************************************************************************** + * RtlSetCurrentTransaction [NTDLL.@] + */ +BOOL WINAPI RtlSetCurrentTransaction(HANDLE new_transaction) +{ + FIXME("(%p) :stub\n", new_transaction); + return FALSE; +}