Share via


PCMCIA Legacy Compatibility Layer Functions (Windows Embedded CE 6.0)

1/6/2010

The following table shows the PC Card driver functions.

Programming element Description

CardAccessConfigurationRegister

This function reads or writes the function and configuration registers of a PC Card.

CardDeregisterClient

This function removes a PC Card client driver's registration from card services.

CardGetEventMask

This function retrieves either the driver's global event mask or the event mask for a particular socket and function.

CardGetFirstTuple

This function retrieves the first tuple of the specified type for the specified socket and function.

CardGetNextTuple

This function retrieves the next tuple of the specified type for the specified socket and function.

CardGetParsedTuple

This function reads and decodes the CISTPL_CONFIG and CISTPL_CFTABLE_ENTRY tuples.

CardGetStatus

This function retrieves the current status of the specified socket and function pair.

CardGetTupleData

This function reads the data from the current tuple.

CardMapWindow

This function maps an area in PC Card memory or I/O space to system memory and returns a pointer used to access the mapped region.

CardModifyConfiguration

This function modifies information in the fAttributes parameter, as specified by the CARD_CONFIG_INFO structure.

CardModifyWindow

This function changes the attributes of a memory window opened by the CardRequestWindow function.

CardPowerOff

This function powers off a given socket and function pair.

CardPowerOn

This function powers on a given socket and function pair.

CardRegisterClient

This function registers a callback function that is called by card services when a specified socket event occurs.

CardReleaseConfiguration

This function places the selected socket and card into a memory-only interface, which is the default mode.

CardReleaseExclusive

This function releases exclusive access to a socket and function pair.

CardReleaseIRQ

This function stops notification of interrupts on the specified socket and function pair.

CardReleaseSocketMask

This function disables the callbacks requested by the CardRequestSocketMask function for a particular socket and function pair.

CardReleaseWindow

This function releases a memory or I/O window allocated by the CardRequestWindow function.

CardRequestConfiguration

This function sets socket attributes, interface type, voltage, and registers, as specified by the CARD_CONFIG_INFO structure.

CardRequestExclusive

This function requests exclusive access to a specified socket and function pair.

CardRequestIRQ

This function registers an interrupt service callback function for the specified socket and function pair.

CardRequestSocketMask

This function associates a socket and function pair with an event mask for the driver.

CardRequestWindow

This function allocates a window within system memory used to access PC Card memory or I/O space.

CardResetFunction

This function resets a specified card function in a specified socket.

CardSetEventMask

This function sets either the driver's global event mask, set initially by the CardRegisterClient function, or an event mask for a specified socket and function pair as specified in the CARD_EVENT_MASK_PARMS structure.

See Also

Reference

PCMCIA Legacy Compatibility Layer Reference