What does HRESULT 0x80010010 (RPC_E_INVALID_PARAMETER) mean?

 
Previous Next
RPC_E_INVALID_DATA RPC_E_CANTCALLOUT_AGAIN

RPC_E_INVALID_PARAMETER

RPC_E_INVALID_PARAMETER means that a parameter could not be marshaled for the COM call. This differs from an application method rejecting a validly delivered argument: COM itself could not represent the parameter for transport.

What to inspect

  • Check nullability, array bounds, structure initialization, and pointer ownership rules in the interface contract.
  • Verify that IDL declarations match the actual C or C++ layout used by both sides.
  • For interface parameters, make sure the object supports a marshalable interface in the target context.

Correct the contract or call-site data before adding application-level retry logic.

Microsoft: COM documentation


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