Share via


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.

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.

    Value Description
    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.
  • Parm2
    Specifies an event-value member.

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

    Value Description
    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.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Cardserv.h.

See Also

CARD_CLIENT_HANDLE | CardRegisterClient

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.