TwclCustomDataProcessor.Write(Pointer,Cardinal) Method
Sends data to the connected device.
protected function Write(const Data: Pointer; const Size: Cardinal): Integer;
Parameters
- Data
- Type: Pointer
The pointer to the data buffer that should be sent to the connected device.
- Size
- Type: Cardinal
The data buffer size.
Return Value
Type: Integer
If the function succeed the return value is wclErrors.WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.