Share via


BumpBar.ClearOutput Method

Clears all buffered tone outputs.

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

Usage

'Usage
Dim bumpBar1 As BumpBar
bumpBar1.ClearOutput()

Syntax

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

Remarks

Clears the tone outputs that have been buffered, including asynchronous output, for the unit specified by the CurrentUnitId property.

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

ClearOutput 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 ClearOutput 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