DTWAIN_GetRotationString

DTWAIN_GetRotationStringA

DTWAIN_GetRotationStringW

Top  Previous  Next

The DTWAIN_GetRotationString function gets the current rotation value for the Source.

 

DTWAIN_BOOL DTWAIN_GetRotation (

DTWAIN_SOURCE

Source,

LPTSTR

lpRotation );

 

Parameters

Source

An open TWAIN Source.

 

lpResolution

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

 

Return Values

TRUE if successful, FALSE otherwise.  If the function returns FALSE, call DTWAIN_GetLastError() to get extended information.

 

Character specific versions

ANSI version:

DTWAIN_GetRotationStringA

Unicode version:

DTWAIN_GetRotationStringW


Comments

The DTWAIN_GetRotationString function works exactly the same way as DTWAIN_GetRotation, with the exception of the lpRotation parameter, which is a string buffer that will be filled on return with the rotation value.  See DTWAIN_GetRotation 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