CARD_EVENT_PARMS

The CARD_EVENT_PARMS structure contains additional information for particular callback events, and is passed as the third parameter to the client's callback function.

Syntax

typedef struct {
UINT32
uClientData;
UINT32
Parm1;
UINT32
Parm2;
} CARD_EVENT_PARMS, *PCARD_EVENT_PARMS;

Members

uClientData
Contains context data specified in CardRegisterClient.
Parm1
Specifies an event-code-specific parameter.

The following callback events require additional data passed to the client's callback function.

CE_CARD_INSERTION
Points to the PC Card's Plug and Play ID string.
CE_REGISTRATION_COMPLETE
Specifies a driver handle (CARD_CLIENT_HANDLE).
CE_EXCLUSIVE_COMPLETE
Exclusive status.
CE_WRITE_PROTECT
Write protect status.
Parm2
Specifies an event-code-specific parameter.

The following callback events require additional data passed to the client's callback function.

CE_CARD_INSERTION
Specifies a driver handle
CE_REGISTRATION_COMPLETE
Nothing
CE_EXCLUSIVE_COMPLETE
Nothing
CE_WRITE_PROTECT
Nothing

Remarks

For all other callback events, Parm1 and Parm2 can be ignored.

See Also

CardRegisterClient, CLIENT_CALLBACK