Share via


ControlState Enumeration

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

Usage

'Usage
Dim controlState1 As ControlState = ControlState.Busy

Syntax

'Declaration
Public Enum ControlState
public enum ControlState
public enum class ControlState
public enum ControlState
public enum ControlState

Members

Member name Description
Busy The device is in a good state and is Busy performing output.
Closed The device is closed, the service object is not initialized.
Error An error has been reported, and the application must recover the Control to a good state before normal I/O can resume.
Idle The device is in a good state and is not Busy.

Remarks

Defines the possible states of a device. Used by the State property. Replaces the S_CLOSED, S_IDLE, S_BUSY, and S_ERROR constants.

Platforms

Development Platforms

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

Target Platforms

See Also

Reference

Microsoft.PointOfService Namespace
State