USBLib_CreateWimpMsgWaiting (SWI &56340) — Creates a wimp message waiting structure.
| R0 | Pointer to filled in wimp message block (in rma) |
| R1 | destination task handle |
| R2 | destination icon handle |
| R0 | Pointer to waiting |
| R1,R2 | Preserved |
Creates a waiting structure that can either be used as a waiting template or directly in calls like USBLib_SelectInterface (SWI &56340) this most be freed using USBLib_FreeWaiting (SWI &56340) 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.