Minimum required version: 1.48

Deregister client with PlayIt

=> | R0 = | 1
| R2 = | pointer to poll word to deregister (if required)

<= | R1 = | number of clients still registered

A client can (at its own discretion) RMKill PlayIt if R1=0 after deregistering (ie it was the last registered client). R1 will be -1 if there are no more registered clients but PlayIt believes the client just deregistered did not start PlayIt and hence should not kill it. This will happen if PlayIt is loaded from the CLI before the first client registration or if the client registers itself with R1/bit 0 set.

PlayIt does not presently know whether a client has previously registered in order to validate a deregistration (this may change) so poll words are not automatically purged when a client deregisters. For this reason clients must manually degregister their poll word by passing it in R2 when deregistering.

[ Parent ] [ Manual root ]