Rob Shearman : rpcrt4: Add stubs for I_RpcAsyncSetHandle and I_RpcAsyncAbortCall.
Alexandre Julliard
julliard at winehq.org
Mon Jan 7 16:25:01 CST 2008
Module: wine
Branch: master
Commit: b0cbf664f661fb51d0790608125ac1a2531bcadc
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b0cbf664f661fb51d0790608125ac1a2531bcadc
Author: Rob Shearman <rob at codeweavers.com>
Date: Mon Jan 7 15:20:40 2008 +0000
rpcrt4: Add stubs for I_RpcAsyncSetHandle and I_RpcAsyncAbortCall.
---
dlls/rpcrt4/rpc_message.c | 39 +++++++++++++++++++++++++++++++++++++++
dlls/rpcrt4/rpcrt4.spec | 6 +++---
2 files changed, 42 insertions(+), 3 deletions(-)
diff --git a/dlls/rpcrt4/rpc_message.c b/dlls/rpcrt4/rpc_message.c
index c7282e7..bbcc798 100644
--- a/dlls/rpcrt4/rpc_message.c
+++ b/dlls/rpcrt4/rpc_message.c
@@ -1154,3 +1154,42 @@ RPC_STATUS WINAPI I_RpcSendReceive(PRPC_MESSAGE pMsg)
I_RpcFreeBuffer(&original_message);
return status;
}
+
+/***********************************************************************
+ * I_RpcAsyncSetHandle [RPCRT4.@]
+ *
+ * Sets the asynchronous state of the handle contained in the RPC message
+ * structure.
+ *
+ * PARAMS
+ * pMsg [I] RPC Message structure.
+ * pAsync [I] Asynchronous state to set.
+ *
+ * RETURNS
+ * Success: RPC_S_OK.
+ * Failure: Any error code.
+ */
+RPC_STATUS WINAPI I_RpcAsyncSetHandle(PRPC_MESSAGE pMsg, PRPC_ASYNC_STATE pAsync)
+{
+ FIXME("(%p, %p): stub\n", pMsg, pAsync);
+ return RPC_S_INVALID_BINDING;
+}
+
+/***********************************************************************
+ * I_RpcAsyncAbortCall [RPCRT4.@]
+ *
+ * Aborts an asynchronous call.
+ *
+ * PARAMS
+ * pAsync [I] Asynchronous state.
+ * ExceptionCode [I] Exception code.
+ *
+ * RETURNS
+ * Success: RPC_S_OK.
+ * Failure: Any error code.
+ */
+RPC_STATUS WINAPI I_RpcAsyncAbortCall(PRPC_ASYNC_STATE pAsync, ULONG ExceptionCode)
+{
+ FIXME("(%p, %d): stub\n", pAsync, ExceptionCode);
+ return RPC_S_INVALID_ASYNC_HANDLE;
+}
diff --git a/dlls/rpcrt4/rpcrt4.spec b/dlls/rpcrt4/rpcrt4.spec
index 8b3e502..224d3a8 100644
--- a/dlls/rpcrt4/rpcrt4.spec
+++ b/dlls/rpcrt4/rpcrt4.spec
@@ -18,11 +18,11 @@
@ stdcall IUnknown_AddRef_Proxy(ptr)
@ stdcall IUnknown_QueryInterface_Proxy(ptr ptr ptr)
@ stdcall IUnknown_Release_Proxy(ptr)
-@ stub I_RpcAbortAsyncCall
+@ stdcall I_RpcAbortAsyncCall(ptr long) I_RpcAsyncAbortCall
@ stdcall I_RpcAllocate(long)
-@ stub I_RpcAsyncAbortCall
+@ stdcall I_RpcAsyncAbortCall(ptr long)
@ stub I_RpcAsyncSendReceive # NT4
-@ stub I_RpcAsyncSetHandle
+@ stdcall I_RpcAsyncSetHandle(ptr ptr)
@ stub I_RpcBCacheAllocate
@ stub I_RpcBCacheFree
@ stub I_RpcBindingCopy
More information about the wine-cvs
mailing list