DTWAIN_FrameSetValueString

DTWAIN_FrameSetValueStringA

DTWAIN_FrameSetValueStringW

Top  Previous  Next

The DTWAIN_FrameSetValueString function sets a value in the DTWAIN_FRAME.  The value is a string version of the floating point value.

 

DTWAIN_BOOL DTWAIN_FrameSetValueString (

DTWAIN_FRAME

Frame,

LONG

WhichValue,

LPCTSTR

Value );

 

Parameters

Frame

A valid DTWAIN_FRAME type.

 

WhichValue

Frame value to set

 

Value

New frame value.

 

Return Values

If the function succeeds, TRUE is returned.  If the function fails FALSE is returned.

 

Character specific version

ANSI version:

DTWAIN_FrameSetValueStringA

Unicode version:

DTWAIN_FrameSetValueStringW


Comments

The DTWAIN_FrameSetValueString function does exactly the same as DTWAIN_FrameSetValue, except that the Value is a string instead of a DTWAIN_FLOAT.


This function can be used by computer languages that do not handle 64-bit IEEE floating point types correctly.

 

TWAIN State Transitions

None.

 

Prerequisite Function Call(s)

DTWAIN_SysInitialize

 

See Also

DTWAIN Frame Functions