IDeviceControlSendCommand Method (DeviceControlCommand, IntPtr, Int32, IntPtr, Int32)

CVB.Net Documentation
Sends the given command buffer.

Namespace:  Stemmer.Cvb.Driver
Assembly:  Stemmer.Cvb (in Stemmer.Cvb.dll) Version: 14.0.0.0
Syntax

void SendCommand(
	DeviceControlCommand command,
	IntPtr inputBuffer,
	int inputBufferSize,
	IntPtr outputBuffer,
	ref int outputBufferSize
)

Parameters

command
Type: Stemmer.Cvb.DriverDeviceControlCommand
Command to execute.
inputBuffer
Type: SystemIntPtr
Pointer to input buffer to send.
inputBufferSize
Type: SystemInt32
Size of inputBuffer data.
outputBuffer
Type: SystemIntPtr
Pointer to buffer to received command data; Zero to query size in outputBufferSize.
outputBufferSize
Type: SystemInt32
Size of the outputBuffer data if not Zero; will receive the minimal necessary size otherwise.
Remarks

The inputBufferSize and outputBufferSize are given in bytes.
See Also

Reference