USBLib_CreateWimpWait (SWI &56348)

USBLib_CreateWimpWait (SWI &56348) — Creates a wimp message waiting structure.

On Entry

R0Pointer to filled in wimp message block (in rma)
R1destination task handle
R2destination icon handle

On Exit

R0Pointer to waiting
R1,R2Preserved

Use

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.

Related SWIs

USBLib_FreeWait (SWI &5634D)

USBLib_CloneWait (SWI &56345)

Related Information

Chapter 6, Waiting