DTWAIN_GetRotationString

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

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

 

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