Function 18, subfunction 21 - get slot number of process/thread by the identifier.

Parameters: Returned value: