iscEngineGetPref() retrieves the current preference setting.
Syntax
isy_INT32 iscEngineGetPref( HISCENG hEngine, isy_CONST isy_INT32 prefID, isy_TCHAR *prefVal, isy_CONST isy_INT32 prefLen);
Function arguments
ǥ 148 lists the valid arguments used with
the iscEngineGetPref() function.
ǥ 148. iscEngineGetPref() arguments
Data type | Argument | Use | Description |
---|---|---|---|
HISCENG | hEngine | input | Handle to the synchronization engine |
isy_CONST isy_INT32 | prefID | input | Preference ID, which is one of the following values:
|
isy_TCHAR* | prefVal | output | Pointer to the buffer for storing the returned preference
value. There are some pre-defined preference constants.
For the ISCPREF_Trace preference:
For the ISCPREF_Timeout preference:
|
isy_CONST isy_INT32 | prefLen | input | The size of the provided buffer (prefVal) |
Usage
Use iscEngineGetPref() to get the preference setting (which is either a default value or the value set by iscEngineSetPref()) of a synchronization engine.
Return codes
Restrictions
The provided buffer should be large enough to store the values of the various preferences:
Related concepts
Related tasks
Related reference