2004 (07D4) (RC2004): MQRC_BUFFER_ERROR

Explanation

The Buffer parameter is not valid for one of the following reasons:
  • The parameter pointer is not valid. (It is not always possible to detect parameter pointers that are not valid; if not detected, unpredictable results occur.)
  • The parameter pointer points to storage that cannot be accessed for the entire length specified by BufferLength.
  • For calls where Buffer is an output parameter: the parameter pointer points to read-only storage.

Completion Code

MQCC_FAILED

Programmer response

Correct the parameter.