Partager via


SS_ResetSocket (Windows Embedded CE 6.0)

1/6/2010

This function is used only to power up a socket after a reset.

Syntax

STATUS (*SS_ResetSocket)(
  HANDLE hSocket
);

Parameters

  • hSocket
    [in] Handle passed during the card detect event notification.

Return Value

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

Remarks

A socket driver should detect the initial voltage that should apply to the specified card. The initial voltage should then be applied to the socket by following the power-up sequence. The following list shows the PC Card power-up sequence.

  1. Power off the socket.
  2. Wait 300 milliseconds (ms).
  3. Power up the socket to the desired voltage.
  4. Wait 100 ms.
  5. Send assert reset signal to the PC Card bus.
  6. Wait for 20 ms.
  7. Send de-assert reset signal to the PC Card bus.
  8. Wait for the ready signal to complete.

Requirements

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

See Also

Reference

Socket Service Functions

Other Resources

PC Card Drivers