A specific command to send to the driver. More...
Public Member Functions | |
DeviceControlCommand (DeviceControlOperation operation, int parameter) | |
Creates a command from the given operation and command parameter . More... | |
Static Public Member Functions | |
static implicit | operator int (DeviceControlCommand cmd) |
Implicit conversion to an integer. More... | |
Properties | |
DeviceControlOperation | Operation [get, set] |
Gets or sets the operation part of the command. | |
int | Parameter [get, set] |
Gets or sets the parameter part of the command. | |
A specific command to send to the driver.
DeviceControlCommand | ( | DeviceControlOperation | operation, |
int | parameter | ||
) |
Creates a command from the given operation and command parameter .
operation | Operation to perform on parameter . |
parameter | Driver specific command parameter. |
|
static |
Implicit conversion to an integer.
cmd | DeviceControlCommand to be converted. |