Share via


CS_SocketCallback (Windows CE 5.0)

Send Feedback

This callback function notifies PC Card services of a status change. It is used by the socket driver.

typedef void(*PF_SS_CALLBACK)(HANDLEhSocket,UINT16 uSocket,  PSS_SOCKET_STATE pSocketState);

Parameters

  • hSocket
    [in] Handle associated with an inserted card. This value is generated by the socket driver during card-insertion event notification and remains the same until the card is removed. After a removal event is generated and a callback is sent to PC Card services, this handle becomes invalid.
  • uSocket
    [in] Socket index number that the socket driver retrieved from the PC Card service during the initial binding process.
  • pSocketState
    [in] Pointer to an SS_SOCKET_STATE structure.

Return Values

Returns one of the return codes defined in the Cardsv2.h header file.

Requirements

OS Versions: Windows CE 5.0 and later
Header: Socksv2.h
Link Library: Pcc_serv.dll

See Also

PC Card Drivers

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.