mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 14:51:28 +00:00
include: Make RpcRaiseException DECLSPEC_NORETURN, like it is in the PSDK.
This commit is contained in:
parent
1f98ede4f0
commit
c8a802eea8
|
@ -239,10 +239,12 @@ RPC_STATUS WINAPI RpcStringFreeW(RPC_WSTR* String)
|
||||||
*
|
*
|
||||||
* Raises an exception.
|
* 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);
|
RaiseException(exception, 0, 0, NULL);
|
||||||
|
ERR("handler continued execution\n");
|
||||||
|
ExitProcess(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*************************************************************************
|
/*************************************************************************
|
||||||
|
|
|
@ -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);
|
RPC_STATUS RPC_ENTRY DceErrorInqTextW(RPC_STATUS e, RPC_WSTR buffer);
|
||||||
#define DceErrorInqText WINELIB_NAME_AW(DceErrorInqText)
|
#define DceErrorInqText WINELIB_NAME_AW(DceErrorInqText)
|
||||||
|
|
||||||
RPCRTAPI void RPC_ENTRY
|
RPCRTAPI DECLSPEC_NORETURN void RPC_ENTRY
|
||||||
RpcRaiseException( RPC_STATUS exception );
|
RpcRaiseException( RPC_STATUS exception );
|
||||||
|
|
||||||
RPCRTAPI RPC_STATUS RPC_ENTRY
|
RPCRTAPI RPC_STATUS RPC_ENTRY
|
||||||
|
|
Loading…
Reference in a new issue