XPS Unified Programmer’s Manual
7.2.1.334 TZEncoderCouplingModeSet
Name
TZEncoderCouplingModeSet – Sets TZ encoder coupling mode.
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
- Checks the group name: (-19)
Description
This function configures the mode of encoder coupling.
The values for Mode to set are : 1 (Enabled) or 0 (Disabled).
This API is reserved to TZ group only.
Prototype
int TZEncoderCouplingModeSet(
int SocketID,
char GroupName[250],
int Mode
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
GroupName char * Group name.
Mode int Encoder coupling mode.
Output parameters
None.
Return (In addition to the results of “Input Tests Common to all XPS
Functions”)
• 0: No error.
• -8: Wrong object type for this command.
• -19: GroupName doesn't exist or unknown command.
485 EDH0373En1023 — 01/18