USBLib_WaitingInfo (SWI &56340)
Prev | 3.5. Transaction SWIs | Next

## Name

USBLib_WaitingInfo (SWI &56340) — Gets the information about a waiting structure

## On Entry

R0 | waiting handle

## On Exit

R0 | waiting type
R1 | value of result
R2 - R6 dependent on waiting type |
WAITING_TYPE_LOOP: no extra registers
WAITING_TYPE_RETURN: no extra registers
WAITING_TYPE_MESSAGE: r2 = pointer to the wimp message block r3 = destination task handle r4 = destination icon handle
WAITING_TYPE_POLL: r2 = poll word value; r3 = address of poll word value;
WAITING_TYPE_SWI: r2 = SWI number r3 = address of register block for r0..r9
WAITING_TYPE_APCS: r2 = address of routine r3 = pointer to arguments for r0..r3
WAITING_TYPE_CALLBACK: r2 = address of callback handler r3 = r12 to pass to r2
WAITING_TYPE_POLLWORD: r2 = address of pollword r3 = or value r4 = and value

## Use

## Related SWIs

USBLib_CreateLoopWaiting (SWI &56340)

USBLib_CreateReturnWaiting (SWI &56340)

USBLib_CreateWimpMsgWaiting (SWI &56340)

USBLib_CreateAPCSWaiting (SWI &56340)

USBLib_CreatePollWaiting (SWI &56340)

USBLib_CreateSWIWaiting (SWI &56340)

USBLib_CreateCallbackWaiting (SWI &56340)

## Related Information

Chapter 7

Prev | Up | Next
USBLib_EndpointInfo (SWI &56340) | Home | USBLib_PipeOpen (SWI &56340)