L_ISISGetTagLong

#include "l_bitmap.h"
#include "ltisi.h"

L_INT EXT_FUNCTION L_ISISGetTagLong(uTag, plValue)

L_UINT uTag;

/* long tag */

L_INT32 L_FAR *plValue;

/* pointer to an integer */

Gets the current value for an ISIS Scanner Driver Long Tag.

This function is available in the Document/Medical Toolkits.

Parameter

Description

uTag

Value indicating the tag whose value you want to retrieve. For a list of possible tags, refer to ISIS long tags

plValue

Pointer to an L_INT32 value that receives the current tag value.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

Set the value pointed to by plValue to ISIS_DEFAULT to query the driver for its default value. Set it to any other value to get the driver's current setting.

Required DLLs and Libraries

LTISI

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Windows 95 / 98 / Me, Windows 2000 / XP.

See Also

Functions:

L_ISISSetTagLong, L_ISISGetTagShort, L_ISISGetTagLongChoice, L_ISISGetTagShortChoice, L_ISISSetTagShort

Topics:

Raster Image Functions: Scanning Images using ISIS

 

Using ISIS to Scan Images

Example

For complete sample code, refer to the DEMO example.

/* get the current setting for ISIS scan width */
L_INT32 lWidth;

L_ISISGetTagLong
(TAG_IMAGEWIDTH, &lWidth);