Skip to content

Commit c4dbe7b

Browse files
Doxygen: SCardEstablishContext() can return SCARD_E_SERVICE_STOPPED
This happens when the server and the client do not share the same communication protocol version.
1 parent e0117bf commit c4dbe7b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/winscard_clnt.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,7 @@ static LONG SCardEstablishContextTH(DWORD, LPCVOID, LPCVOID,
449449
* @retval SCARD_E_INVALID_VALUE Invalid scope type passed (\ref SCARD_E_INVALID_VALUE )
450450
* @retval SCARD_E_NO_MEMORY There is no free slot to store \p hContext (\ref SCARD_E_NO_MEMORY)
451451
* @retval SCARD_E_NO_SERVICE The server is not running (\ref SCARD_E_NO_SERVICE)
452+
* @retval SCARD_E_SERVICE_STOPPED Wrong communication protocol version (\ref SCARD_E_SERVICE_STOPPED)
452453
* @retval SCARD_F_COMM_ERROR An internal communications error has been detected (\ref SCARD_F_COMM_ERROR)
453454
* @retval SCARD_F_INTERNAL_ERROR An internal consistency check failed (\ref SCARD_F_INTERNAL_ERROR)
454455
*

0 commit comments

Comments
 (0)