´╗┐ TwclClientDataConnection.Write Method
IrDA Framework
ContentsIndexHome
PreviousUpNext
TwclClientDataConnection.Write Method

Sends data to the connected device.

Syntax
Pascal
function Write(const Data: Pointer; const Size: Cardinal; out Written: Cardinal): Integer;
Parameters 
Description 
const Data: Pointer 
The pointer to the data buffer that should be sent to the connected device.  
const Size: Cardinal 
The data buffer size.  
out Written: Cardinal 
The amount of bytes actually written to the device.  

If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

The write is synchronous operation.

Copyright (c) 2006-2018. All rights reserved.