Online Development Notebook > Index > ODN > USBm DLL Programming > DLL Commands > ClearRecentError

ClearRecentError


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 Example

-TBD-


Hardware:  U401 USB Interface    U421 USB Interface
Programming:  USBm DLL Programming    Download Files
Application Notes:  U4x1 Application Notes    Misc Applications and Information    FAQ