Return codes from requests under the DRA and THREAD functions

All requests under the DRA and THREAD functions receive return codes.

Return code
Meaning
0
Request completed successfully.
4
Invalid function requested.