Online Development Notebook > Index > Programming Overview > DLL Commands > ClearRecentError

ClearRecentError - 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.


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

Previous  |  Next ]     [ Up  |  First  |  Last ]     (Article 33 of 126)

This page is created with TreePad