ControlState Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerates the valid states of a device.
public enum ControlState
type ControlState =
Public Enum ControlState
- Inheritance
-
ControlState
Fields
Name | Value | Description |
---|---|---|
Closed | 1 | The device is closed. The service object is not initialized. |
Idle | 2 | The device is in a good state and is not busy. |
Busy | 3 | The device is in a good state and is busy performing output. |
Error | 4 | An error has been reported, and the application must recover the Control to a good state before normal I/O can resume. |