DTWAIN_GetJobControl |
Top Previous Next |
The DTWAIN_GetJobControl function gets the current job control type.
DTWAIN_BOOL DTWAIN_GetJobControl (
Parameters Source An open TWAIN Source.
lpPaperSize Address of a LONG variable that will store the current job control type.
bGetCurrent Determines whether to get the current job control type or default job control type.
Return Values The return value is TRUE if successful. Otherwise FALSE is returned.
Comments The DTWAIN_GetJobControl function gets the current job control type for the Source Source. The lpJobControl is the address of a LONG that will be filled in with the job control type on successful return. If bGetCurrent is TRUE, the job control type returned is the current job control type. If bGetCurrent is FALSE, the default job control type is returned. The value stored at the lpPaperSize address on return can be any one of the following Job Control Constants.
Job control is usually found on high-end scanners. To see if job control is supported for a Source, call DTWAIN_IsJobControlSupported.
TWAIN State Transitions The Source must be in State 4. or higher
Prerequisite Function Call(s)
DTWAIN Source Selection Function
See Also |