Clears the device buffers according to the specified mode.
| Value | Description |
| 0 | Clear the device buffer when device state is changing from Enabled state to the Open state. |
| 1 | Clear the device buffer immediately. |
| 2 | Do not clear the device buffer when device state is changing from Enabled state to the Open state. |
| Visual Basic |
|---|
Public Function Device_ClearBuffers( _ ByVal clearBufferMode As Integer _ ) As Boolean |
| Value | Description |
| 0 | Clear the device buffer when device state is changing from Enabled state to the Open state. |
| 1 | Clear the device buffer immediately. |
| 2 | Do not clear the device buffer when device state is changing from Enabled state to the Open state. |