From 5d121fbe05c313f1c77b023252804976e1ccd359 Mon Sep 17 00:00:00 2001 From: Ove Kaaven Date: Fri, 31 Jan 2003 03:22:27 +0000 Subject: [PATCH] Implemented RpcRaiseException. --- dlls/rpcrt4/rpcrt4.spec | 2 +- dlls/rpcrt4/rpcrt4_main.c | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/dlls/rpcrt4/rpcrt4.spec b/dlls/rpcrt4/rpcrt4.spec index 03aa7985648..732dfbff123 100644 --- a/dlls/rpcrt4/rpcrt4.spec +++ b/dlls/rpcrt4/rpcrt4.spec @@ -109,7 +109,7 @@ @ stub RpcObjectSetType @ stub RpcProtseqVectorFreeA @ stub RpcProtseqVectorFreeW -@ stub RpcRaiseException +@ stdcall RpcRaiseException(long) RpcRaiseException @ stub RpcRegisterAsyncInfo @ stub RpcRevertToSelf @ stub RpcRevertToSelfEx diff --git a/dlls/rpcrt4/rpcrt4_main.c b/dlls/rpcrt4/rpcrt4_main.c index 8005a97fb3f..bf38e67eab7 100644 --- a/dlls/rpcrt4/rpcrt4_main.c +++ b/dlls/rpcrt4/rpcrt4_main.c @@ -213,6 +213,17 @@ RPC_STATUS WINAPI RpcStringFreeW(unsigned short** String) return RPC_S_OK; } +/************************************************************************* + * RpcRaiseException [RPCRT4.@] + * + * Raises an exception. + */ +void WINAPI RpcRaiseException(RPC_STATUS exception) +{ + /* FIXME: translate exception? */ + RaiseException(exception, 0, 0, NULL); +} + /************************************************************************* * UuidCompare [RPCRT4.@] *