Driver specific get or set operations on a Device.
More...
Inherits IDeviceInterface.
Inherited by DeviceControl.
|
void | SendCommand (DeviceControlCommand command, string value, out string result) |
| Sends the given command value to the driver. More...
|
|
void | SendCommand< Tin, Tout > (DeviceControlCommand command, Tin value, out Tout result) |
| Sends the given command value to the driver. More...
|
|
void | SendCommand (DeviceControlCommand command, IntPtr inputBuffer, int inputBufferSize, IntPtr outputBuffer, ref int outputBufferSize) |
| Sends the given command buffer. More...
|
|
void | SendCommand (DeviceControlCommand command, IntPtr inputBuffer, long inputBufferSize, IntPtr outputBuffer, ref long outputBufferSize) |
| Sends the given command buffer. More...
|
|
Driver specific get or set operations on a Device.
◆ SendCommand() [1/3]
void SendCommand |
( |
DeviceControlCommand |
command, |
|
|
IntPtr |
inputBuffer, |
|
|
int |
inputBufferSize, |
|
|
IntPtr |
outputBuffer, |
|
|
ref int |
outputBufferSize |
|
) |
| |
Sends the given command buffer.
The inputBufferSize and outputBufferSize are given in byte
s.
- Parameters
-
command | Command to execute. |
inputBuffer | Pointer to input buffer to send. |
inputBufferSize | Size of inputBuffer data. |
outputBuffer | Pointer to buffer to received command data; IntPtr.Zero to query size in outputBufferSize . |
outputBufferSize | Size of the outputBuffer data if not IntPtr.Zero; will receive the minimal necessary size otherwise. |
◆ SendCommand() [2/3]
void SendCommand |
( |
DeviceControlCommand |
command, |
|
|
IntPtr |
inputBuffer, |
|
|
long |
inputBufferSize, |
|
|
IntPtr |
outputBuffer, |
|
|
ref long |
outputBufferSize |
|
) |
| |
Sends the given command buffer.
The inputBufferSize and outputBufferSize are given in byte
s.
- Parameters
-
command | Command to execute. |
inputBuffer | Pointer to input buffer to send. |
inputBufferSize | Size of inputBuffer data. |
outputBuffer | Pointer to buffer to received command data; IntPtr.Zero to query size in outputBufferSize . |
outputBufferSize | Size of the outputBuffer data if not IntPtr.Zero; will receive the minimal necessary size otherwise. |
◆ SendCommand() [3/3]
Sends the given command value to the driver.
- Parameters
-
command | Command to execute. |
value | Value to send. |
result | Command answer string. |
◆ SendCommand< Tin, Tout >()
Sends the given command value to the driver.
- Template Parameters
-
Tin | Value type (non-reference type). |
Tout | Value type (non-reference type). |
- Parameters
-
command | Command to execute. |
value | Value to send. |
result | Command answer. |