Module: wine Branch: master Commit: f15287dea7754f457b701f18a27b1b54f839ccc9 URL: http://source.winehq.org/git/wine.git/?a=commit;h=f15287dea7754f457b701f18a2...
Author: Rob Shearman rob@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 );