The PC Card event codes are defined in Appendix B
of the PC Card Standard.
The SCO implementation supports all events
that are defined in the standard.
BATTERY_DEAD
The battery in the PC Card
is no longer producing operational voltage.
BATTERY_LOW
The battery in the PC Card is weak
and needs to be replaced.
CARD_INSERTION
A PC Card has been inserted into a socket.
CARD_LOCK
A mechaniclal latch has been manipulated,
preventing the removal of the PC Card from the socket.
CARD_READY
The PC Card Ready line has changed
from busy to ready state.
CARD_REMOVAL
A PC Card has been removed from a socket.
CARD_RESET
A hardware reset has occurred
on a function of the PC Card
in the specified socket.
CARD_UNLOCK
A mechanical latch has been manipulated
allowing removal of the PC Card from the socket.
CLIENT_INFO
Requests that the client return its client information data.
EJECTION_COMPLETE
A meter has completed ejection
of a PC Card from a socket.
EJECTION_REQUEST
An end user is requesting that
a PC Card be ejected from a socket
using the meter driven mechanism.
EXCLUSIVE_COMPLETE
The PC Card has received the client-requested
exclusive access request.
EXCLUSIVE_REQUEST
A client is trying to gain exclusive use of a PC Card.
INSERTION_COMPLETE
A meter has completed insertion
of a PC Card into a socket.
INSERTION_REQUEST
An end user is requesting
that a PC Card be inserted by a meter-drive mechanism.
MTD_REQUEST
CardServices has received
a request for an MTD (Memory Technology Driver).
PM_RESUME
CardServices has received a resume notification
from the host system management software.
PM_SUSPEND
CardServices has received a suspend notification
from the host system management software.
REGISTRATION_COMPLETE
A registration request has been completed.
REQUEST_ATTENTION
A PC Card is requesting attention from the host system.
RESET_COMPLETE
A Reset Function request has been completed.
RESET_PHYSICAL
A reset is about to occur
on a specified function and socket.
The write protect status of the PC Card
in the indicated socket has changed.
Usage
CardServices( )
uses the event codes to call the
PC Card cient-enabled driver.
The client's
client_callback(D2pccard)
routine must be coded to handle
any event code that could be generated for that driver.