rpcrt4: Print an error if an invalid client context handle is used.
This commit is contained in:
parent
ee811d89a8
commit
c06f26f2e3
|
@ -89,7 +89,10 @@ RPC_BINDING_HANDLE WINAPI NDRCContextBinding(NDR_CCONTEXT CContext)
|
|||
LeaveCriticalSection(&ndr_context_cs);
|
||||
|
||||
if (!handle)
|
||||
{
|
||||
ERR("invalid handle %p\n", CContext);
|
||||
RpcRaiseException(ERROR_INVALID_HANDLE);
|
||||
}
|
||||
return handle;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue