The CardAccessConfigurationRegister function reads or writes the function and configuration registers of a PC Card.
STATUS CardAccessConfigurationRegister(
CARD_CLIENT_HANDLE hCardClient,
CARD_SOCKET_HANDLE hSocket, UINT8 rw_flag, UINT8 offset,
UINT8 *pValue );
If the function succeeds, the return value is CERR_SUCCESS; otherwise, it is one of the following values:
Value | Description |
---|---|
CERR_BAD_SOCKET | Indicates the identifier specified for the hSocket member of the CARD_EVENT_MASK_PARMS structure is invalid or there is no PC Card inserted in the socket. |
CERR_BAD_HANDLE | Indicates the driver handle specified for hCardClient is invalid. |
CERR_BAD_OFFSET | Indicates the value specified for offset is invalid. |
CERR_IN_USE | Indicates another installable device driver owns the configuration for this socket and function. |