ReleaseCard(handle, flags)
void ReleaseCard(
struct CardHandle *, ULONG);
This function releases ownership of the credit card in the slot.
The access light (if any) is automatically turned off (if it was turned on) when you release ownership of a card you owned, and all credit-card control registers are reset to their default state.
You must call this function if -
You own the credit-card, and want to release it so that other devices on the notification list will have a chance to examine the credit-card in the card slot.
You took a Card Removed interrupt while you owned the credit-card. If so, you MUST call this function, else no other task will be notified of newly inserted cards. On some machines the credit-card interface hardware may also be left disabled until you respond to the card removed interrupt by calling this function.
You want to remove yourself from the notification list (see optional flags below).
This function should only be called from a task.
OwnCard(), resources/card.i, resources/card.h