oemGetLastImageSize

This function returns the number of rows, number of columns and size in bytes of the last image returned by one of the other imaging functions: oemAcquireImage, oemGetImage/oemGetImageData or oemImageStreamRead.

Result_t oemGetLastImageSize (

WORD *pwCols, WORD *pwRows, DWORD *pdwSize

)

Return Values

RESULT_SUCCESS

RESULT_ERR_PARAMETER

Parameters

pwCols

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

pwRows

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

pdwBytes

Upon successful return, this variable points to the total number of Image bytes.

oemGetLeaveLightsOn

This function returns a parameter reflecting the operational mode of the illumination LEDs during scanning.

Result_t oemGetLeaveLightsOn (

SetupType_t SetupType, BOOL *pbEnable

)

Return Values

RESULT_SUCCESS

RESULT_ERR_NOTCONNECTED

RESULT_ERR_UNSUPPORTED

RESULT_ERR_DRIVER

RESULT_ERR_PARAMETER

RESULT_ERR_NORESPONSE

Parameters

SetupType

SETUP_TYPE_CURRENT for current settings, or SETUP_TYPE_DEFAULT for default settings.

pbEnable

Upon successful return, this variable reflects the operational mode of the illumination LEDs during scanning. If FALSE, the illumination LEDs will be in normal operational mode and will be flashed on and off during scanning. If TRUE, the illumination LEDs are always on during scanning and will not flash.

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

2 - 11

Page 25
Image 25
Hand Held Products 4X00 OemGetLastImageSize, OemGetLeaveLightsOn, Resultt oemGetLastImageSize, Resultt oemGetLeaveLightsOn