Honeywell 5180 Frozen Dessert Maker User Manual


 
2 - 4
hhpEngineConnected
This function determines whether the imager is connected. This function checks to to see if the imager has lost power (due to
the host going into a suspended state), or if the imager has been removed.
hhpEngineConnected(
void
)
hhpGetAsyncResult
Retrieves the data from the last signal event (image/barcode capture). This function can be called with pResultStruct set to NULL
to obtain the event type. This is useful when the notification method is a Windows event.
Result_t hhpGetAsyncResult(
hhpEventType_t *pEventType,
PVOID pResultStruct
)
Parameter Description
hEventType Type of data causing the event notification. The valid values are:
HHP_BARCODE_EVENT
HHP_IMAGE_EVENT
HHP_TEXT_ MSG_EVENT
HHP_INTELIMG_BARCODE_EVENT
HHP_INTELIMG_IMAGE_EVENT
pResultStruct An HHP_DECODE_MSG, HHP_IMAGE, or HHP_TEXT_MSG structure pointer,
depending on the value of hEventType. This parameter can be NULL if just the event type
is desired. This is of use when the Event Handle notification is used.
hhpGetErrorMessage
This function returns a text message describing the meaning of a Result_t error code. See Error Codes on page 3-1 for complete
descriptions.
hhpGetErrorMessage(
Result_t nErrorCode,
PTCHAR ptcErrorMsg,
int nMaxChars
)
Parameter Description
nErrorCode Error code returned from one of the other 5X00 Series functions.
ptcErrMsg TCHAR buffer to hold error message string.
nMaxChars Maximum number of characters that can fit in ptcErrorMsg including NULL.
hhpGetLastImage
This function causes the imager to transfer the last image captured to the host. If bWait is TRUE, the function will not return until
the image is fully received or an error occurs. If bWait is FALSE, the function returns immediately and you are notified when
image transfer has completed or an error has occurred. pImgTrans is an optional parameter and can be NULL. Setting the
appropriate bit mask for each item specifies active members of this structure. This function can be used to obtain the image from
the last barcode capture attempt as well as the last image from an image capture attempt.
hhpGetLastImage(
PHHP_IMAGE pImg,
PHHP_IMAGE_TRANSFER pImgTrans,
BOOL bWait
)