5.5 WFS_SRVE_IDC_CARDACTION

Description This service event specifies that a card has been retained or ejected by either the automatic power on or power off action of the device.

Event Param LPWFSIDCCARDACT lpCardAct;

typedef struct _wfs_idc_card_act
{
WORD wAction;
WORD wPosition;
} WFSIDCCARDACT, * LPWFSIDCCARDACT;

wAction
Specifies which action has been performed with the card. Possible values are :

Value Meaning

WFS_IDC_CARDRETAINED The card has been retained.

WFS_IDC_CARDEJECTED The card has been ejected.

WFS_IDC_CARDREADPOSITION The card has been moved to the read position

wPosition
Position of card before being retained or ejected. Possible values are :

Value Meaning

WFS_IDC_MEDIAUNKNOWN The position of the card can not be determined.

WFS_IDC_MEDIAPRESENT The card was present in the reader.

WFS_IDC_MEDIAENTERING The card was entering the reader.