What does HRESULT 0xC00E0006 (MQ_ERROR_INVALID_PARAMETER) mean?

 
Previous Next
MQ_ERROR_QUEUE_EXISTS MQ_ERROR_INVALID_HANDLE

MQ_ERROR_INVALID_PARAMETER

MQ_ERROR_INVALID_PARAMETER means that an input argument supplied to a Message Queuing API is invalid. The precise condition depends on the API; for example, MQCreateQueue rejects inconsistent output-buffer arguments for the format name.

How to investigate

  • Validate pointer and length pairs, especially optional output buffers and their capacity values.
  • Check access, share, action, and timeout flags against the documented values for the API being called.
  • Reduce the call to the smallest documented parameter set, then add optional properties one at a time.

Microsoft: MQCreateQueue return values


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