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

nExposeAttempts
The number of attempts the unit makes to get the image to the correct exposure level.
nGap
How close the white value of the image must be to the nWhiteValue for the image to be accepted. A value of 0 (zero)
can be passed in to cause the unit to use its pre-defined value. For example, if you want to use 10 for the nGap, and
the default value for nWhiteValue, then pass in 10 for nGap, and 0 for nWhite.
Invert
The image is rotated 180° (upside down). This allows you to invert images for platforms where the imager is mounted
upside down.
fpProgress
Reserved. Must be NULL.
oemGetImageData
This function gets data from the Imager. Each subsequent call fills the supplied buffer with image data. The end of the image
data is identified by a GetImageData() call that does not fill the buffer (less than BufferSize bytes were placed in the buffer) and
has a return of RESULT_SUCCESS.
Prototype
Result_t oemGetImageData (
DWORD dwNumberToRead,
BYTE *pBuffer,
DWORD *pNumBytesRead
)
Return Values
RESULT_SUCCESS
RESULT_ERR_DRIVER
RESULT_ERR_PARAMETER
Parameters
dwNumberToRead
Size of the user supplied buffer to be filled with image data.
pBuffer
Pointer to the user supplied buffer that holds the image data.
pNumBytesRead:
Returns the number of bytes of image data read.
oemGetImagerInfo
This function returns information about imaging capability of the connected device.
Result_t oemGetImagerInfo (
WORD *pnCols,
WORD *pnRows,
WORD *pnBits
)
Return Values
RESULT_SUCCESS
RESULT_ERR_PARAMETER