ktmw32: Add a stub for CreateTransaction.

This commit is contained in:
Detlef Riekenberg 2012-11-16 01:07:56 +01:00 committed by Alexandre Julliard
parent 1a6e9d4a50
commit e3df9043e9
2 changed files with 17 additions and 1 deletions

View File

@ -4,7 +4,7 @@
@ stub CommitTransactionAsync
@ stub CreateEnlistment
@ stub CreateResourceManager
@ stub CreateTransaction
@ stdcall CreateTransaction(ptr ptr long long long long wstr)
@ stub CreateTransactionManager
@ stub GetCurrentClockTransactionManager
@ stub GetEnlistmentId

View File

@ -23,6 +23,9 @@
#include "windef.h"
#include "winbase.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(ktmw32);
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
@ -39,3 +42,16 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
return TRUE;
}
/***********************************************************************
* CreateTransaction (ktmw32.@)
*/
HANDLE WINAPI CreateTransaction(LPSECURITY_ATTRIBUTES pattr, LPGUID pguid, DWORD options,
DWORD level, DWORD flags, DWORD timeout, LPWSTR description)
{
FIXME("(%p %p 0x%x 0x%x 0x%x, %u, %s): stub\n",
pattr, pguid, options, level, flags, timeout, debugstr_w(description));
return (HANDLE) 1;
}