CVB.Net 14.0
DeviceControlCommand Struct Reference

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.
 

Detailed Description

A specific command to send to the driver.

Constructor & Destructor Documentation

◆ DeviceControlCommand()

DeviceControlCommand ( DeviceControlOperation  operation,
int  parameter 
)

Creates a command from the given operation and command parameter .

Parameters
operationOperation to perform on parameter .
parameterDriver specific command parameter.

Member Function Documentation

◆ operator int()

static implicit operator int ( DeviceControlCommand  cmd)
static

Implicit conversion to an integer.

Parameters
cmdDeviceControlCommand to be converted.
Returns
Integer representation of the input cmd .