The CARD_REGISTER_PARMS structure contains driver characteristics passed to CardRegisterClient. All members are input only.
typedef struct {
UINT16 fAttributes;
UINT16 fEventMask;
UINT32 uClientData;
} CARD_REGISTER_PARMS, *PCARD_REGISTER_PARMS;
The client data (uClientData) is passed as is to the installable device driver's callback function. The client can interpret this context data in any manner it chooses.
CardRegisterClient, CLIENT_CALLBACK
The CARD_SOCKET_HANDLE structure identifies a socket and function pair composed of a socket number and function number.
typedef struct {
UINT8 uSocket;
UINT8 uFunction;
} CARD_SOCKET_HANDLE, *PCARD_SOCKET_HANDLE;
The installable device driver generates these values and uses them in various Card Services functions.
For single function cards, the function number is zero. For multiple function cards, the function number ranges from zero through one less than the number of functions on the card.