
ZestSC1 User Guide
CONFIDENTIAL Page 35 of 57
ZestSC1CloseCard
ZESTSC1_STATUS ZestSC1CloseCard(ZESTSC1_HANDLE Handle);
Parameters
Handle Handle of open ZestSC1 card to close. See
ZestSC1OpenCard.
Return Value
ZESTSC1_SUCCESS Function succeeded
ZESTSC1_ILLEGAL_HANDLE Attempt to use illegal card handle
ZESTSC1_TIMEOUT Operation timed out
Description
ZestSC1CloseCard should be called when the specified card is finished with. It frees
resources and allows other applications to access the card.
For example:
ZESTSC1_HANDLE Handle;
/* Open a card with ID of 1 */
ZestSC1OpenCard(1, &Handle);
/* Other calls to ZestSC1 library here */
/* Close the card */
ZestSC1CloseCard(Handle);
Comentarios a estos manuales