a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Resources:
 card.resource
  BeginCardAccess
  CardAccessSpeed
  CardChangeCount
  CardForceChange
  CardInterface
  CardMiscControl
  CardProgramVoltage
  CardResetCard
  CardResetRemove
  CopyTuple
  DeviceTuple
  EndCardAccess
  GetCardMap
  IfAmigaXIP
  OwnCard
  ReadCardStatus
  ReleaseCard
Include
GuruMeditation
Docs » Autodocs » card.resource » EndCardAccess

NAME

	EndCardAccess -- Called at the end of credit-card memory access

SYNOPSIS

	result=EndCardAccess( handle )
d0 a1
ULONG EndCardAccess( struct CardHandle * );

FUNCTION

	This function should be called when you are done accessing
credit-card memory.
Its effect will depend on the type of Amiga machine your
code happens to be running on. On some machines it
will cause an access light to be turned OFF in approximately
1/2 second.
On machines which support an access light, the light will
automatically be turned off when you call ReleaseCard().

INPUTS

	handle - Same handle as that used when OwnCard() was called.

RESULT

	TRUE if you are still the owner of the credit-card.  FALSE
if you are no longer the owner of the credit-card (usually
indicating the card was removed).

NOTES

	This function may be called from within a task, or from a level 1
or level 2 interrupt.
It is highly recommended that you call this function
after accessing credit-card memory, as well as checking
the return value. If it is a return value of FALSE, you
should stop accessing credit-card memory, and conclude
that the card was removed before this function was called.
On some machines it is possible that the credit-card will be
removed before you receive the removed interrupt.

SEE ALSO

OwnCard(), ReleaseCard(), BeginCardAccess()

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Future Crew

ANA
AFL
CSL
FC

Comments:

$VER: d0.se 1.14 Copyright © 2011-2021 Tobias Geijersson support at d0 dot se