Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
This structure specifies the prototype for PC Card event callback functions. The Card Services driver calls the callback function to notify the stream interface device driver of a PC Card event.
typedef STATUS ( *CLIENT_CALLBACK) ( CARD_EVENT CardEvent CARD_SOCKET_HANDLE hSocket PCARD_EVENT_PARMS pCardEventParms );
Members
Return Values
CERR_SUCCESS indicates success. One of the following indicates failure:
Remarks
When a PC Card event occurs, Card Services notifies drivers by calling their registered callback functions. The callback function must conform to the CLIENT_CALLBACKprototype.
Drivers can request notice for certain events when they register with the CardRegisterClientfunction.
You can use the CardRequestSocketMaskand CardSetEventMaskfunctions to request event notification for a specific socket and function pair.
Requirements
Runs on | Versions | Defined in | Include | Link to |
---|---|---|---|---|
Windows CE OS | 1.0 and later |
Note This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.
See Also
CardRegisterClient, CardRequestSocketMask, CardSetEventMask
Last updated on Tuesday, July 13, 2004