RWECODE(E_RW_BADENGINESTATE,
        "Engine in incorrect state for this operation")
RWECODE(E_RW_BADOPEN,
        "Error opening the file %s")
RWECODE(E_RW_BADPARAM,
        "Invalid Parameter passed. %s")
RWECODE(E_RW_BADVERSION,
        "The binary file format version is incompatible with this library")
RWECODE(E_RW_DEBUGSTACK,
        "Debug Library has Stack Depth mismatch")
RWECODE(E_RW_DEFAULTPIPELINECREATION,
        "Creation of a default pipeline (%s) failed")
RWECODE(E_RW_FRAMENOMATRIX,
        "The frame does not have an associated matrix")
RWECODE(E_RW_INVIMAGEDEPTH,
        "Invalid Image Depth")
RWECODE(E_RW_INVIMAGEFORMAT,
        "Image has no pixel memory allocated")
RWECODE(E_RW_INVIMAGEMASK,
        "The mask and image are not the same size")
RWECODE(E_RW_INVIMAGESIZE,
        "Destination and source images are of differing sizes")
RWECODE(E_RW_INVRASTERDEPTH,
        "Invalid Raster depth")
RWECODE(E_RW_INVRASTERFORMAT,
        "Unrecognized raster format")
RWECODE(E_RW_INVRASTERLOCKREQ,
        "Invalid Raster lock request")
RWECODE(E_RW_INVRASTERMIPLEVEL,
        "Invalid Raster mipmap level")
RWECODE(E_RW_INVRASTERSIZE,
        "Invalid Raster size")
RWECODE(E_RW_INVRASTERUNLOCKREQ,
        "Invalid Raster unlock request")
RWECODE(E_RW_NOFRAME,
        "Unable to find Frame")
RWECODE(E_RW_NOMEM,
        "Unable to allocate %d bytes of memory")
RWECODE(E_RW_NOMIPMAPGENERATIONCALLBACK,
        "No Mipmap generation callback set - use RtMipmapUseDefaultMipmapGenerationCallback")
RWECODE(E_RW_NOTSSEENABLEDCPU,
        "Not SSE enabled CPU")
RWECODE(E_RW_NULLP,
        "NULL pointer passed to library routine")
RWECODE(E_RW_PLUGININIT,
        "Plugin has already been initialized")
RWECODE(E_RW_PLUGINNOTINIT,
        "Plugin not initialized")
RWECODE(E_RW_RANGE,
        "A supplied parameter was outside the expected range")
RWECODE(E_RW_READ,
        "Read error on stream")
RWECODE(E_RW_REDUNDANT_FUNCTION,
        "Call to redundant function - scheduled to be dropped from future releases")
RWECODE(E_RW_WRITE,
        "Write error on stream")
RWECODE(E_RX_MESHES_RANGES_OVERLAP,
	"\n    Geometry is in an invalid format for RxPipeline rendering.\n    There may be visible artifacts and/or decreased performance.\n    Use RpGeometrySortByMaterial.\n    [stream %p type %s]")
RWECODE(E_RW_STRING_TRUNCATION,
        "strlen(%s) >= %d; truncating at character #%d  == %c")

sdk/rwsdk/include/d3d8/errcom.def