dmColorGetError(3dm)					  dmColorGetError(3dm)
      dmColorGetError - returns the value of the	error flag.
      #include <dmedia/dm_color.h>
     DMstatus dmColorGetError (const DMcolorconverter converter,
				     int	     *error);
     DMcolorconverter converter
	  The converter	upon which the action is to be applied.
     int *error
	  The value of the error flag.
     DM_COLOR_ERROR_NONE	       if operation is successful.
     DM_COLOR_ERROR_INVALID_CONVERTER  if the converter	is invalid.
     Every dmColor call	returns	DMstatus.  The exception to this rule is
     dmColorGetErrorString.  dmColorGetError returns (in "error"), the value
     of	the error flag,	and the	error flag is reset to DM_COLOR_ERROR_NONE.
     When an error occurs, the error flag is set to the	appropriate error code
     value and no other	errors are recorded until dmColorGetError is called.
     If	dmColorGetError	returns	DM_COLOR_ERROR_NONE in "error",	there has been
     no	detectable error since the last	call to	dmColorGetError, or since the
     converter was created.  Initially,	the error flag is set to
     DM_COLOR_ERROR_NONE.
     dmColor(3dm) dmColorCreate(3dm) dmColorGetErrorString(3dm)
									PPPPaaaaggggeeee 1111 [ Back ]
 |