include: Make RpcRaiseException DECLSPEC_NORETURN, like it is in the PSDK.

oldstable
Rob Shearman 2007-12-13 16:11:06 +00:00 committed by Alexandre Julliard
parent 1f98ede4f0
commit c8a802eea8
2 changed files with 5 additions and 3 deletions

View File

@ -239,10 +239,12 @@ RPC_STATUS WINAPI RpcStringFreeW(RPC_WSTR* String)
*
* Raises an exception.
*/
void WINAPI RpcRaiseException(RPC_STATUS exception)
void DECLSPEC_NORETURN WINAPI RpcRaiseException(RPC_STATUS exception)
{
/* FIXME: translate exception? */
/* shouldn't return */
RaiseException(exception, 0, 0, NULL);
ERR("handler continued execution\n");
ExitProcess(1);
}
/*************************************************************************

View File

@ -289,7 +289,7 @@ RPC_STATUS RPC_ENTRY DceErrorInqTextA(RPC_STATUS e, RPC_CSTR buffer);
RPC_STATUS RPC_ENTRY DceErrorInqTextW(RPC_STATUS e, RPC_WSTR buffer);
#define DceErrorInqText WINELIB_NAME_AW(DceErrorInqText)
RPCRTAPI void RPC_ENTRY
RPCRTAPI DECLSPEC_NORETURN void RPC_ENTRY
RpcRaiseException( RPC_STATUS exception );
RPCRTAPI RPC_STATUS RPC_ENTRY