Share via


BumpBar.ClearInput Method

Clears all buffered device input.

Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)

Usage

'Usage
Dim bumpBar1 As BumpBar
bumpBar1.ClearInput()

Syntax

'Declaration
Public MustOverride Sub ClearInput()
public abstract void ClearInput();
public: abstract Void ClearInput();
public abstract void ClearInput();
public abstract function ClearInput() : Void;

Remarks

Clears the device input that has been buffered for the unit specified by the CurrentUnitId property.

Any data events that are queued – usually waiting for DataEventEnabled to be set to TRUE and FreezeEvents to be set to FALSE – are also cleared.

ClearInput returns void if successful, and can throw the following exceptions:

Value

Meaning

Claimed

The device is claimed by another process.

NotClaimed

The device must be claimed before ClearInput can be used.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000

Target Platforms

See Also

Reference

BumpBar Class
BumpBar Members
Microsoft.PointOfService Namespace
CurrentUnitId