 | wclSerialClientHalWrite Method |
Implements a hardware-dependent code that sends data to a connected
device.
Namespace: wclSerialFrameworkAssembly: wclSerialFramework (in wclSerialFramework.dll) Version: 8.0.6.0
Syntaxprotected override int HalWrite(
byte[] Data,
ref uint Written
)
Protected Overrides Function HalWrite (
Data As Byte(),
ByRef Written As UInteger
) As Integer
protected:
virtual int HalWrite(
array<unsigned char>^ Data,
unsigned int% Written
) override
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.
See Also