Sun Java System Messaging Server 6 2005Q4 MTA Developer's Reference

Return Values

In the event of an error, the value -1 is returned and mta_errno is set to indicate the error status code.

Error Status Code  

Description  

MTA_BADARGS

A NULL value was supplied for the dq_ctx call argument, or an invalid dequeue context was supplied for dq_ctx.