What does HRESULT 0x80010003 (RPC_E_CANTPOST_INSENDCALL) mean?

 
Previous Next
RPC_E_CALL_CANCELED RPC_E_CANTCALLOUT_INASYNCCALL

RPC_E_CANTPOST_INSENDCALL

What RPC_E_CANTPOST_INSENDCALL means

RPC_E_CANTPOST_INSENDCALL (0x80010003) is a COM/RPC call-context restriction. Microsoft defines it as the caller dispatching an intertask SendMessage call and being unable to call out through PostMessage.

Diagnostic focus

  • Record the COM interface and method, originating thread, apartment type, current window-message callback, and whether the call is nested inside synchronous message dispatch.
  • Trace the first code path that attempts the prohibited call-out; the HRESULT describes the current reentrancy/call context, not a broken RPC network connection.
  • Do not turn the failure into an immediate retry inside the same callback. If the operation can be deferred, queue it for execution after the synchronous send-call context has unwound.
  • Compare with nearby COM call-context errors such as RPC_E_CANTCALLOUT_INASYNCCALL and RPC_E_CANTCALLOUT_INEXTERNALCALL; they identify different prohibited contexts.

Technical reference

Microsoft: COM Error Codes — STG and RPC


Looking for a different code? Search another status or error code.