Service_USB 0 - Pipe released

Service_USB 0 - Pipe released — Indicate pipe release

On Entry

R00 (reason code)
R1&80C00 (USB Service call)
R2Pointer to controller structure
R3Pointer to device structure
R4Pointer to endpoint structure
R5Number of remaining applications sharing the pipe

On Exit

R0preserved
R1preserved to pass on (do not claim)
R2, R3, R4, R5preserved

Use

This service call is generated when a pipe is closed (Shared pipes will generate a service call for each claimants closure). Can be used by programs waiting for exclusive pipe access. The endpoint structure is passed to enable identification of pipes available for re-use.