DTWAIN_GetCompressionTypeEx
|
The DTWAIN_GetCompressionTypeEx function gets the compression method used when a buffered image transfer is done.
LONG DTWAIN_GetCompressionTypeEx (
Parameters Source An open TWAIN Source. bGetCurrent Indicates whether to get the current or default compression type.
Return Values If successsful, the current compression method used is returned. On failure, -1 is returned If the function returns -1, call DTWAIN_GetLastError() to get extended information.
Comments The DTWAIN_GetCompressionTypeEx function performs the same functionality as DTWAIN_GetCompressionType, with the difference being that the compression type is returned as a LONG instead of the user providing a pointer to a LONG as a parameter.
TWAIN State Transitions The Source must be in State 4 or higher
Prerequisite Function Call(s)
DTWAIN Source Selection Function
See Also |