rpcrt4: Print an error if an invalid client context handle is used.

This commit is contained in:
Rob Shearman 2008-03-28 17:52:33 +00:00 committed by Alexandre Julliard
parent ee811d89a8
commit c06f26f2e3
1 changed files with 3 additions and 0 deletions

View File

@ -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;
}