Getimagerpropertiesicmedia, Getnumberofvalidrowsicmedia – Hand Held Products 4X00 Series User Manual

Page 12

Advertising
background image

6

IMAGETEAM™ 4X00 Series Hardware Interface Layer Specification

GetImagerPropertiesICMedia

This function requests the properties of the imager currently interfacing to the hardware layer.

BOOL GetImagerPropertiesICMedia(

const DWORD * pBuffIn,
DWORD * pBuffOut,
DWORD dwLen
)

Passed Arguments

Description

pBuffIn

Pointer to a buffer of DWORDs that are TAGs to the properties the scan driver is
requesting.

pBuffOut

Pointer to output buffer that has corresponding values and order to TAGs in pBuffin.

dwLen

Length of both pBuffin and pBuffOut.

Tags:

typedef enum {

IP_SIZE,
IP_ENGINE_ID,
IP_NUM_ROWS,
IP_NUM_COLS,
IP_BITS_PER_PIXEL,
IP_ROTATION,
IP_AIMER_X_OFFSET,
IP_AIMER_Y_OFFSET,
IP_YDEPTH

} HHPScanDriverImagerProperties_t;

Returns

TRUE if successful, FALSE otherwise.

GetNumberOfValidRowsICMedia

This function is called in the middle of image captures to find out how many image rows of data have been transferred completely
in the incoming image at a given time.

DWORD GetNumberOfValidRowsICMedia()

Returns

DWORD - The number of valid image rows of data.

Advertising