Click or drag to resize

wclCustomDataProcessorWriteData Method

Implements a connection-dependent code that sends data to the connected device.

Namespace: wclCommunication
Assembly: wclCommunication (in wclCommunication.dll) Version: 7.9.6.0 (7.9.6.0)
Syntax
protected abstract int WriteData(
	byte[] Data,
	out uint Written
)

Parameters

Data  Byte
The pointer to the data buffer that should be sent to the connected device.
Written  UInt32
The amount of bytes actually written to the device.

Return Value

Int32
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.
Remarks
A derived class must override this method to implement a connection-dependent code that sends data to the connected device.
See Also