[pkg-wine-party] [wine] 103/110: ktmw32: Add a stub for RollbackTransaction.

Michael Gilbert mgilbert at moszumanska.debian.org
Fri Feb 13 05:05:43 UTC 2015


This is an automated email from the git hooks/post-receive script.

mgilbert pushed a commit to branch master
in repository wine.

commit 5e8b613397fb4b3df4b02d13b6175b03c6a1f2dd
Author: Austin English <austinenglish at gmail.com>
Date:   Thu Feb 5 12:36:30 2015 -0600

    ktmw32: Add a stub for RollbackTransaction.
---
 dlls/ktmw32/ktmw32.spec   |  2 +-
 dlls/ktmw32/ktmw32_main.c | 10 ++++++++++
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/dlls/ktmw32/ktmw32.spec b/dlls/ktmw32/ktmw32.spec
index 0d549bf..895e990 100644
--- a/dlls/ktmw32/ktmw32.spec
+++ b/dlls/ktmw32/ktmw32.spec
@@ -35,7 +35,7 @@
 @ stub RenameTransactionManager
 @ stub RollbackComplete
 @ stub RollbackEnlistment
-@ stub RollbackTransaction
+@ stdcall RollbackTransaction(ptr)
 @ stub RollbackTransactionAsync
 @ stub RollforwardTransactionManager
 @ stub SetEnlistmentRecoveryInformation
diff --git a/dlls/ktmw32/ktmw32_main.c b/dlls/ktmw32/ktmw32_main.c
index 328ddb5..35d1e85 100644
--- a/dlls/ktmw32/ktmw32_main.c
+++ b/dlls/ktmw32/ktmw32_main.c
@@ -49,3 +49,13 @@ HANDLE WINAPI CreateTransaction(LPSECURITY_ATTRIBUTES pattr, LPGUID pguid, DWORD
 
     return (HANDLE) 1;
 }
+
+/***********************************************************************
+ * Rollback Transaction (ktmw32.@)
+ */
+BOOL WINAPI RollbackTransaction(HANDLE transaction)
+{
+    FIXME("stub: %p\n", transaction);
+    SetLastError(ERROR_ACCESS_DENIED);
+    return FALSE;
+}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wine/wine.git



More information about the pkg-wine-party mailing list