Function
Returns the current error message.
Syntax
#include <dx/dx.h>
char *DXGetErrorMessage()
Functional Details
Returns a pointer to the current error message NULL-terminated string. This is a pointer to a static buffer in local memory, so it must be copied if it is to be used outside the scope of the calling routine.
Return Value
Returns a pointer to a null string if the error code is ERROR_NONE. Otherwise, returns a pointer to the current error message.
See Also
13.1 , "Error Handling and Messages".