DTWAIN_GetBrightnessEx
|
The DTWAIN_GetBrightnessEx function gets the current brightness value for the Source.
DTWAIN_FLOAT DTWAIN_GetBrightnessEx ( DTWAIN_SOURCE Source );
Parameters Source An open TWAIN Source.
Return Values If successful, the current brightness value. On failure, returns the minimum finite value representable by a DTWAIN_FLOAT (approximately 2.22507e-308). Call DTWAIN_GetLastError() to get extended information.
Comments The DTWAIN_GetBrightnessEx function performs the same functionality as DTWAIN_GetBrightness, with the difference being that the brightness is returned as a DTWAIN_FLOAT instead of the user providing a pointer to a DTWAIN_FLOAT 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 |