3 Operation Triplets
3.5 Details of Custom Triplets
3.5.1 DG_CONTROL/DAT_NOUIPARMFILE/MSG_SET
Format:
3
DS_Entry(pOrigin,pDest,DG_CONTROL,DAT_NOUIPARMFILE,MSG_SET,
pNoUIParmFile);
pNoUIParmFile:pTW_NOUIPARMFILE
typedef struct{
TW_STR128
NoUIParmFile;
//Parameter file name
}TW_NOUIPARMFILE, FAR * pTW_NOUIPARMFILE;
Enabled status:
Only 4
Explanation:
The source reads a specified setting file in the non-UI mode.
A failure in reading the setting file specified here results in starting by default.
The parameter file name must be set to 128 bytes or less.
Notes on the application:
The application must perform this specification before issuing
DG_CONTROL/DAT_USERINTERFACE/MSG_ENABLEDS.
This setting ignores the setting by the TWAIN Default Setting Tool.
Return code
TWRC_SUCCESS
Success
TWRC_FAILURE
TWCC_BADVALUE When the setting file name is 128 bytes or more
TWCC_SEQERROR Invalid sequence
3-5