Rob Shearman : rpcrt4: Add a stub for RpcCancelThreadEx.
Alexandre Julliard
julliard at winehq.org
Mon Mar 17 10:46:43 CDT 2008
Module: wine
Branch: master
Commit: f15287dea7754f457b701f18a27b1b54f839ccc9
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f15287dea7754f457b701f18a27b1b54f839ccc9
Author: Rob Shearman <rob at codeweavers.com>
Date: Mon Mar 17 13:10:14 2008 +0000
rpcrt4: Add a stub for RpcCancelThreadEx.
---
dlls/rpcrt4/rpcrt4.spec | 2 +-
dlls/rpcrt4/rpcrt4_main.c | 9 +++++++++
include/rpcdce.h | 1 +
3 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/dlls/rpcrt4/rpcrt4.spec b/dlls/rpcrt4/rpcrt4.spec
index a235302..da54ddf 100644
--- a/dlls/rpcrt4/rpcrt4.spec
+++ b/dlls/rpcrt4/rpcrt4.spec
@@ -363,7 +363,7 @@
@ stdcall RpcBindingVectorFree(ptr)
@ stdcall RpcCancelAsyncCall(ptr long) RpcAsyncCancelCall
@ stdcall RpcCancelThread(ptr)
-@ stub RpcCancelThreadEx
+@ stdcall RpcCancelThreadEx(ptr long)
@ stub RpcCertGeneratePrincipalNameA
@ stub RpcCertGeneratePrincipalNameW
@ stdcall RpcCompleteAsyncCall(ptr ptr) RpcAsyncCompleteCall
diff --git a/dlls/rpcrt4/rpcrt4_main.c b/dlls/rpcrt4/rpcrt4_main.c
index 6ff93f2..4438f52 100644
--- a/dlls/rpcrt4/rpcrt4_main.c
+++ b/dlls/rpcrt4/rpcrt4_main.c
@@ -1081,3 +1081,12 @@ RPC_STATUS RPC_ENTRY RpcCancelThread(void* ThreadHandle)
return RPC_S_OK;
}
+
+/******************************************************************************
+ * RpcCancelThreadEx (rpcrt4.@)
+ */
+RPC_STATUS RPC_ENTRY RpcCancelThreadEx(void* ThreadHandle, LONG Timeout)
+{
+ FIXME("(%p, %d)\n", ThreadHandle, Timeout);
+ return RPC_S_OK;
+}
diff --git a/include/rpcdce.h b/include/rpcdce.h
index 1b8b6e7..79716ae 100644
--- a/include/rpcdce.h
+++ b/include/rpcdce.h
@@ -469,6 +469,7 @@ RPCRTAPI RPC_STATUS RPC_ENTRY
#define RpcBindingInqAuthInfo WINELIB_NAME_AW(RpcBindingInqAuthInfo)
RPCRTAPI RPC_STATUS RPC_ENTRY RpcCancelThread(void*);
+RPCRTAPI RPC_STATUS RPC_ENTRY RpcCancelThreadEx(void*,LONG);
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcNetworkIsProtseqValidA( RPC_CSTR protseq );
More information about the wine-cvs
mailing list