RenderWare V2.1

Previous Page Index Next Page

RwErrorCode

RwGetError(void);

Description

Gets the value of RenderWare’s global error status (as set by the first function that generated an error since the last call to RwGetError()) and then clears the error status.

Arguments

None.

Return Value

An error code indicating the type of error that has occurred if the error status has been set. If no error has been set then E_RW_NOERROR is returned.

See Also

RwGetInternalError()

RwSetUserError()