 | wclServerClientDataConnectionWrite Method |
Sends a data to a connected device.
Namespace: wclCommunicationAssembly: wclCommunication (in wclCommunication.dll) Version: 8.0.6.0
Syntaxpublic int Write(
byte[] Data,
out uint Written
)
Public Function Write (
Data As Byte(),
<OutAttribute> ByRef Written As UInteger
) As Integer
public:
int Write(
array<unsigned char>^ Data,
[OutAttribute] unsigned int% Written
)
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
The write operation is synchronous.
See Also