Using the QuickUSB Library
QuickUsbReadDefault
Purpose
To read QuickUSB module defaults. The defaults are non-volatile and are
read into the settings table on power up.
Parameters
hDevice: A HANDLE that was returned from a call to QuickUsbOpen.
address: A WORD containing the default address (number)
setting: A PWORD pointing to a variable in which to place the value of
the default if successful.
Returns
A LONG that is non-zero on success, zero (0) on failure.
Notes
None.
QuickUsbWriteDefault
Purpose
To write QuickUSB module defaults. The defaults are non-volatile and are
read into the settings table on power up.
Parameters
hDevice: A HANDLE that was returned from a call to QuickUsbOpen.
address: A WORD containing the default address (number)
setting:
A WORD containing the new default value.
Returns
A LONG that is non-zero on success, zero (0) on failure.
Notes
None.
52
QuickUSB Settings