IrDA Framework
ContentsIndexHome
PreviousUpNext
CwclIrDAServerClientConnection::HalWrite Method

Implements a hardware depended code that sends data to the connected device.

Syntax
C++
virtual int HalWrite(void* Data, unsigned long Size, unsigned long& Written) override;
Parameters 
Description 
void* Data 
The pointer to the data buffer that should be sent to the connected device.  
unsigned long Size 
The data buffer size.  
unsigned long& Written 
The amount of bytes actually written to the device.  

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

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