Partager via


CARD_EVENT_PARMS (Windows Embedded CE 6.0)

1/6/2010

Thisstructure contains additional information for specified 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

  • Parm1
    Specifies an event-value member.

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

    Value Description

    CE_CARD_INSERTION

    Changes the interface type value of the Plug and Play identifier string for the PC Card.

    CE_REGISTRATION_COMPLETE

    Specifies a driver handle of data type CARD_CLIENT_HANDLE.

    CE_EXCLUSIVE_COMPLETE

    Not used.

  • Parm2
    Specifies an event-value member.

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

    Value Description

    CE_CARD_INSERTION

    Not used.

    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.

Requirements

Header cardsv2.h
Windows Embedded CE Windows CE 1.0 and later

See Also

Reference

PC Card Driver Structures
CARD_CLIENT_HANDLE
CardRegisterClient