CARD_EVENT_PARMS
This structure contains additional information for particular callback events and is passed as the third member to the client’s callback function.
Syntax
typedef struct {
UINT32 uClientData;
UINT32 Parm1;
UINT32 Parm2;
} CARD_EVENT_PARMS, *PCARD_EVENT_PARMS;
Members
- uClientData
- Specifies context data specified by the CardRegisterClient function.
- Parm1
- Specifies an event-value member.
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 identifier string.
- CE_REGISTRATION_COMPLETE
- Specifies a driver handle of data type CARD_CLIENT_HANDLE.
- CE_EXCLUSIVE_COMPLETE
- Exclusive status.
- CE_WRITE_PROTECT
- Write-protect status.
- Parm2
- Specifies an event-value member.
The following callback events require additional data passed to the client’s callback function:
- CE_CARD_INSERTION
- Specifies a driver handle.
- CE_REGISTRATION_COMPLETE
- Not used.
- CE_EXCLUSIVE_COMPLETE
- Not used.
- CE_WRITE_PROTECT
- Not used.
Remarks
For all other callback events, the driver can safely ignore Parm1 and Parm2.
See Also
CardRegisterClient, CLIENT_CALLBACK