Oemgetdecodemode, Oemgetdecoderrevision, Oemgetdecodetime – Hand Held Products 4X00 User Manual

Page 19

Advertising
background image

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

2 - 5

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.

Advertising