USBLib_Register (SWI &56340)
Prev | 3.7. Library SWIs | Next

## Name

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

## On Entry

R0 | Version of usb library interface expected
R1 | Pointer to client name
R2 | Flags (currently 0)

## On Exit

R0 | current version of usb library interface
R1 | Registration 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 &56340)

## Related Information

usblib_init

Prev | Up | Next
USBLib_Info (SWI &56340) | Home | USBLib_Deregister (SWI &56340)