Option
Description
ACMSDI_CALL_OPT_END_LIST
Ends options list
ACMSDI_CALL_OPT_OPTIMIZE_WKSPS
Enables unidirectional workspace
optimization
ACMSDI_CALL_OPT_ENABLE
Pointer to enable function
ACMSDI_CALL_OPT_DISABLE
Pointer to disable function
ACMSDI_CALL_OPT_SEND
Pointer to send function
ACMSDI_CALL_OPT_RECEIVE
Pointer to receive function
ACMSDI_CALL_OPT_TDMS_READ
Pointer to TDMS read function
ACMSDI_CALL_OPT_TDMS_WRITE
Pointer to TDMS write function
ACMSDI_CALL_OPT_TRANSCEIVE
Pointer to transceive function
ACMSDI_CALL_OPT_REQUEST
Pointer to TDMS request function
ACMSDI_CALL_OPT_CHECK_VERSION
Version checking routine
ACMSDI_CALL_OPT_PASS_TID
TID of distributed transaction
ACMSDI_CALL_OPT_COMPRESS_WKSPS
Activate workspace compression
To select options:
1.
Declare an array of at least two elements of the type ACMSDI_CALL_
OPTION.
2.
Specify in the option variable the name for the structure being used.
3.
Specify the address for the malloc routine or password expiring buffer, if
these options are being used.
4.
End an options list by assigning ACMSDI_CALL_OPT_END_LIST to the
option variable in the last array element.
The following example shows the initialization of an options list used to enable
unidirectional workspace handling:
ACMSDI_CALL_OPTION call_options[2];
call_options[0].option = ACMSDI_CALL_OPT_OPTIMIZE_WKSPS;
call_options[1].option = ACMSDI_CALL_OPT_END_LIST;
TP Desktop Connector Portable API Client Services 2–9