 | wclServerClientDataConnectionHalWrite Method |
Implements a hardware-dependent code that sends data to a connected
device.
Namespace: wclCommunicationAssembly: wclCommunication (in wclCommunication.dll) Version: 8.0.6.0
Syntaxprotected abstract int HalWrite(
byte[] Data,
ref uint Written
)
Protected MustOverride Function HalWrite (
Data As Byte(),
ByRef Written As UInteger
) As Integer
protected:
virtual int HalWrite(
array<unsigned char>^ Data,
unsigned int% Written
) abstract
Parameters
- Data Byte
-
A pointer to a data buffer that should be sent to a connected device.
- Written UInt32
-
The amount of bytes actually written to a device.
Return Value
Int32
If the method completed with success 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
hardware-dependent code that sends data to the connected device.
See Also