|Online Development Notebook > Index > Programming Overview > DLL Commands > ClearRecentError|
ClearRecentError - Clear the recent error string
This is a USBm.dll function that clears the error string.
The USBm_ClearRecentError function syntax has these parts:
Note: USBm_ClearRecentError always returns TRUE.
VB Declaration (USBmAPI.bas)
|Public Declare Function USBm_ClearRecentError _|
Lib "USBm.dll" _
This code fragment clears the error string that is internal to the DLL.
|int USBm_ClearRecentError( void );|
Always returns -1. The function clears any recent error data in the DLL.
Hardware: U401 USB Interface U421 USB Interface U451 USB Interface
Programming: USBm DLL Programming Download Files
Application Notes: U4x1 Application Notes Misc Applications and Information FAQ
While every effort has been made to make sure that the information posted on this site is correct, the author can not be held liable for any damages whatsoever for losses as a result of the application of this information. Use this information at your own risk.
USBmicro can design your custom and semi-custom USB product. Email about USB design can be directed to " Robert " at usbmicro.com.
Copyright © USBmicro, L.L.C., 2002-2010