USBLib_CreateWimpWait (SWI &56348) — Creates a wimp message waiting structure.
R0 | Pointer to filled in wimp message block (in rma) |
R1 | destination task handle |
R2 | destination icon handle |
Creates a waiting structure that can either be used as a waiting template or directly in calls like USBLib_SelectInterface (SWI &5635D) this most be freed using USBLib_FreeWait (SWI &5634D) or resources will be lost to the USB system.
The returned structure is configured to provide a waiting mode that will send a wimp message upon transaction completion.