Partager via


PCMCIA Legacy Compatibility Layer Event Codes (Windows Embedded CE 6.0)

1/6/2010

PC Card event codes are event codes that card services sends to the stream interface driver's callback function to indicate that a PC Card event has occurred. Not all event codes are supported on all platforms. The following table shows the defined codes.

Event code Description

CE_BATTERY_DEAD

Indicates a dead battery on the PC Card. This event is signaled through the BVD1 pin, which can be accessed through the pin replacement register (PRR), also.

CE_BATTERY_LOW

Indicates a low battery on the PC Card. This event is signaled through the BVD2 pin, which can be accessed through the PRR, also.

CE_CARD_LOCK

Indicates that the hardware card lock is closed.

CE_CARD_READY

Indicates that a PC Card has changed from a busy to a ready state.

CE_CARD_REMOVAL

Indicates that a PC Card has been removed from the socket.

CE_CARD_UNLOCK

Indicates that the hardware card lock is open.

CE_PM_SUSPEND

Indicates that the system has just returned from a suspended state and that any CE_CARD_INSERTION and CE_CARD_REMOVAL codes received before the next CE_PM_RESUME code are likely to be invalid.

CE_PM_RESUME

Indicates that the system has resumed after being turned off and is now running.

CE_EXCLUSIVE_COMPLETE

Indicates that a driver's CardRequestExclusive request has taken place.

CE_EXCLUSIVE_REQUEST

Indicates that a driver has called CardRequestExclusive with a request for exclusive access to a PC Card.

CE_WRITE_PROTECT

Indicates that a PC Card's write-protect status has changed.

CE_CARD_INSERTION

Indicates that a PC Card has been inserted in the socket. Applications registering for insertion events also receive this event for cards that are already in the socket after a suspend event or resume event.

CE_REGISTRATION_COMPLETE

Indicates that client registration is complete.

See Also

Reference

PCMCIA Legacy Compatibility Layer Reference