What does HRESULT 0xC00E0028 (MQ_ERROR_USER_BUFFER_TOO_SMALL) mean?

 
Previous Next
MQ_ERROR_INSUFFICIENT_RESOURCES MQ_ERROR_MESSAGE_STORAGE_FAILED

MQ_ERROR_USER_BUFFER_TOO_SMALL

Retry and cleanup

Use the returned length contract for the specific API and preserve the original identity context.

Avoiding a false diagnosis

The condition is not evidence of low system memory. It describes the capacity and representation of one caller-owned output area. Code-specific condition: user-information output buffer contract.

Example

A com/native interoperability layer encounters it. It uses the returned required length, keeps the operation non-destructive, and retries with correctly typed storage.

References


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