Function Concatenates a message with the current error message.
Syntax
#include <dx/dx.h> Error DXAddMessage(char *message, ...) #define DXMessageReturn(s) {DXAddMessage(s); return ERROR;} #define DXMessageGoto(s) {DXAddMessage(s); goto error;}.
Functional Details This routine can provide more information about an error originally detected in a low-level routine. The contents of message may be a printf format string, in which case additional arguments required by the format string must be specified.
Return Value Always returns ERROR.
See Also DXSetError, DXErrorReturn, DXErrorGoto
13.1 , "Error Handling and Messages".