Parameters

pnCols

Upon successful return, this variable points to the number of column pixels in the Imager. pnRows

Upon successful return, this variable points to the number of row pixels in the Imager. pnBits

Upon successful return, this variable points to the number of bits per pixel supported by the Imager.

oemGetImagerProperties

This function returns information about the imager.

Result_t oemGetImagerProperties (

ImagerProperties_t *pImgProp

)

Return Values

RESULT_ERR_PARAMETER

RESULT_ERR_SUCCESS

Parameters

pImgProp

Pointer to structure to be filled by this function with information about the imager. typedef struct

{

DWORD dwSize; DWORD dwEngineID;// 0 DWORD dwImagerRows; DWORD dwImagerCols; DWORD dwBitsPerPixel; DWORD dwRotation; DWORD dwAimerXoffset; DWORD dwAimerYoffset; DWORD dwYDepth;

}ImagerProperties_t; dwSize: Size of structure dwEngineID: EngineIDs values

TYPE_NONE =0 (No imager hardware) TYPE_IT4200 =1

TYPE_IT4000 =5 TYPE_IT4100 =6 TYPE_IT4300 =7

dwImagerRows: Number of rows for a given imager

dwImagerCols: Number of columns for a given imager.

dwBitsPerPixel: Typically this is 8 for byte pixels.

dwRotation: RIGHT_SIDE_UP = 0

ROTATED_RIGHT UPSIDE_DOWN ROTATED_LEFT

dwAimerXoffset: This value represents the X coordinate for the center of the aimer pattern.

dwAimerYoffset: This value represents the Y coordinate for the center of the aimer pattern.

IMAGETEAM™ 4X00 Series Software Development Kit (SDK) User’s Guide

2 - 9

Page 23
Image 23
Hand Held Products 4X00 manual OemGetImagerProperties, PnCols, Resultt oemGetImagerProperties, PImgProp