Share via


CS_SocketCallback (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

typedef void(*PF_SS_CALLBACK)(
  HANDLE hSocket,
  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 Value

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

Requirements

Header socksv2.h
Library Pcc_serv.dll
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

PC Card Driver Functions

Other Resources

PC Card Drivers