USBLib_Register (SWI &56342)

USBLib_Register (SWI &56342) — Register a client with the library

On Entry

R0Version of usb library interface expected
R1Pointer to client name
R2Flags (currently 0)

On Exit

R0current version of usb library interface
R1Registration handle

Use

This call should be made by all clients of the library to obtain a registration handle. This is an unsigned 32 bit number used to identify a client. Although this call is not strictly necessary to use some of the functionality of the library it enables users to see all registered modules and prevents the library being quit while drivers are still using it.

Related SWIs

USBLib_Deregister (SWI &56343)

Related Information

usblib_init