PDCardGetSocket

This function gets the socket state of the specified socket.

Syntax

STATUS PDCardGetSocket( UINT32 uSocket, PPDCARD_SOCKET_STATE pState );

Parameters

uSocket
Specifies the number indicating the socket. The first socket is 0.
pState
Pointer to a PDCARD_SOCKET_STATE structure.

Return Values

Returns one of the CERR_* return codes in the Cardserv.h header file.

Remarks

This function reads the specified socket’s state and returns it in the PDCARD_SOCKET_STATE structure.