3.9 WFS_INF_CDM_PRESENT_STATUS

Description This command is used to inform about the status of the last dispense and is used only by ATM’s. It is necessary to decide whether the money was in customer access or not. After a reboot this command returns the status of the last dispense before reboot. This status is valid until the next dispense command.

Input Param None.

Output Param LPWFSCDMPRESENTSTATUS lpPresentStatus;

typedef struct _wfs_cdm_present_status
{
LPWFSCDMDENOMINATION lpDenomination;
WORD wPresentState;
LPSTR lpszExtra;
} WFSCDMPRESENTSTATUS, *LPWFSCDMPRESENTSTATUS;

lpDenomination
Pointer to a WFSCDMDENOMINATION structure, describing the denominations used for the dispense operation. For a description of the WFSCDMDENOMINATION structure see the definition of the command WFS_CMD_CDM_DENOMINATE.

wPresentState
State of the money. Possible values are:

Value Meaning

WFS_CDM_PRESENTED The money was presented. This value is set as soon as bills are accessible by the customer.

WFS_CDM_NOTPRESENTED The money was not presented.

WFS_CDM_UNKNOWN It is unknown if the money could be accessed by the customer.

lpszExtra
Points to a list of vendor-specific, or any other extended information. The information is returned as a series of “key=value” strings so that it is easily extensible by service providers. Each string will be null-terminated, with the final string terminating with two null characters.

Error Codes There are no additional error codes generated by this command.

Comments None.