DTWAIN_GetResolutionString

Top  Previous  Next

The DTWAIN_GetResolutionString function gets the current resolution value for the Source.

 

DTWAIN_BOOL DTWAIN_GetResolutionString (

DTWAIN_SOURCE

Source,

LPTSTR

lpResolution );

 

Parameters

Source

An open TWAIN Source.

 

lpResolution

String buffer.  On return, this is filled in with the current resolution.

 

Return Values

The return value is TRUE if successful.  Otherwise FALSE is returned.

 

Comments

The DTWAIN_GetResolutionString function works exactly the same way as DTWAIN_GetResolution, with the exception of the lpResolution parameter, which is a string buffer that will be filled on return with the resolution value.  See DTWAIN_GetResolution function for more details.

 

TWAIN State Transitions

The Source must be in State 4. or higher

 

Prerequisite Function Call(s)

DTWAIN_SysInitialize.

DTWAIN Source Selection Function

 

 

See Also

Setting / Getting X-Y Resolution Values