Microsoft Windows CE 3.0  

PC Card Event Codes

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

This section lists the 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 option codes are supported on all Windows CE–based 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 also be accessed through the pin replacement register (PRR).
CE_BATTERY_LOW Indicates a low battery on the PC Card. This event is signaled through the BVD2 pin, which can also be accessed through the PRR.
CE_CARD_LOCK Indicates that the mechanical 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 mechanical card lock is open.
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 CardRequestExclusiverequest has taken place.
CE_EXCLUSIVE_REQUEST Indicates that a driver has called CardRequestExclusivewith 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 or resume event.
CE_REGISTRATION_COMPLETE Indicates that client registration is complete.


 Last updated on Tuesday, July 13, 2004

© 2004 Microsoft Corporation. All rights reserved.