wclServerClientDataConnectionHalWrite Method |
Implements a hardware-dependent code that sends data to the
connected device.
Namespace: wclCommunicationAssembly: wclCommunication (in wclCommunication.dll) Version: 7.8.3.0 (7.8.3.0)
Syntax protected abstract int HalWrite(
byte[] Data,
out uint Written
)
Protected MustOverride Function HalWrite (
Data As Byte(),
<OutAttribute> ByRef Written As UInteger
) As Integer
protected:
virtual int HalWrite(
array<unsigned char>^ Data,
[OutAttribute] unsigned int% Written
) abstract
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
hardware-dependent code that sends data to the connected device.
The method executes in the main thread and must be
synchronous.
See Also