5.2.3.1 Modifying Return Message Lengths for C Programs

To modify the return message length on a per request basis, specify the message length in the rtnMsgSize field in a TWA_CONNECT structure defined in the TWAINCL file.