Clear the recent error string
Description:
This is a USBm.dll function that clears the error string.
Command Syntax:
true⁄false USBm_ClearRecentError()
The USBm_ClearRecentError function syntax has these parts:
Part | Description |
No argument |
Remarks:
Note: USBm_ClearRecentError always returns TRUE.
VB Declaration (USBmAPI.bas)
Public Declare Function USBm_ClearRecentError _ Lib “USBm.dll” _ () _ As Integer |
VB Example
USBm_ClearRecentError |
This code fragment clears the error string that is internal to the DLL.
C Prototype
int USBm_ClearRecentError( void ); |
C Example
RobotBASIC
usbm_ClearRecentError()
Always returns -1. The function clears any recent error data in the DLL.