RiCREPLY() has the same effect as CREPLY().
For example, both of the following calls returns a value from a triggered operation:
count = 2;
RiCREPLY(count);
or
RiCREPLY(2);
The definition of RiCREPLY() is as follows:
#define RiCREPLY(retVal) params->ric_reply = (retVal)