CHAILink SDK  Version 1.3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
CLC_ErrorCode CHAI_SetFlowControlIncomingCapacity ( CPUINT32 const  dwCapacity)

Set the flow control incoming capacity.

By default, flow control capacity is infinite.

Parameters
[in]dwCapacity0: (default value) infinite capacity, for computers. else available memory for incoming messaging
Returns
Standard CHAILink Client return code. See CLC_ErrorCode enumeration.
Remarks
This method must be called before device creation.
Warning
This function can only be called in CopperLan context. This means in the pseudo task CPDoProcess(), in notification handlers or in asynchronous return handlers and not in SystemDoProcess() for instance.