Hand Held Products 4X00 manual OemGetDecodeMode, OemGetDecoderRevision, OemGetDecodeTime

Models: 4X00

1 90
Download 90 pages 3.78 Kb
Page 19
Image 19

Parameters

SetupType

SETUP_TYPE_CURRENT for current settings, or SETUP_TYPE_DEFAULT for default settings.

PbEnabled

Pointer to a BOOL which returns TRUE if centering mode enabled or FALSE if it's not.

oemGetDecodeMode

This function retrieves the decoding mode of the engine.

Result_t oemGetDecodeMode (

SetupType_t SetupType, WORD *pnMode

)

Return Values

RESULT_SUCCESS

RESULT_ERR_UNSUPPORTED

Parameters

SetupType

SETUP_TYPE_CURRENT for current settings, or SETUP_TYPE_DEFAULT for default settings.

pnMode

Points to a WORD variable that will be filled in with status for the decode mode: 1 = Standard

2 = Advanced Linear

4 = Quick Omni

oemGetDecoderRevision

This function returns an ASCII string containing the decoder’s current revision.

Result_t oemGetDecoderRevision (

TCHAR *pszRev

)

Return Values

RESULT_SUCCESS

RESULT_ERR_PARAMETER

Parameters

pszRev

Upon successful return, this null terminated string is filled with the revision level of the decoder software. The caller must allocate at least ENGINE_API_RESPONSE_LENGTH bytes for this string.

oemGetDecodeTime

This function the time in milliseconds that it took to decode the barcode data returned by oemWaitForDecode().

Result_t oemGetDecodeTime (

DWORD *pdwTime,

)

Return Values

RESULT_SUCCESS

RESULT_ERR_PARAMETER

Parameters

pdwTime

Points to an unsinged 32 bit integer into which the last time to decode is returned.

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

2 - 5

Page 19
Image 19
Hand Held Products 4X00 manual OemGetDecodeMode, OemGetDecoderRevision, OemGetDecodeTime