[Pcsclite-git-commit] [PCSC] 10/11: Doxygen: improve SCardGetAttrib() documentation

Ludovic Rousseau rousseau at moszumanska.debian.org
Fri Mar 11 17:54:48 UTC 2016


This is an automated email from the git hooks/post-receive script.

rousseau pushed a commit to branch master
in repository PCSC.

commit f3adfd0dc4d8047d0a52c6f6270be74a4df82e9a
Author: Ludovic Rousseau <ludovic.rousseau at free.fr>
Date:   Fri Mar 11 16:17:58 2016 +0100

    Doxygen: improve SCardGetAttrib() documentation
    
    SCardGetAttrib() can also return:
    - SCARD_E_UNSUPPORTED_FEATURE the dwAttrId attribute is not supported by
      the driver
    - SCARD_E_NOT_TRANSACTED the driver returned an error
---
 src/winscard_clnt.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/winscard_clnt.c b/src/winscard_clnt.c
index 547fa9e..1a8780d 100644
--- a/src/winscard_clnt.c
+++ b/src/winscard_clnt.c
@@ -2323,6 +2323,8 @@ end:
  *
  * @return Error code.
  * @retval SCARD_S_SUCCESS Successful (\ref SCARD_S_SUCCESS)
+ * @retval SCARD_E_UNSUPPORTED_FEATURE the \p dwAttrId attribute is not supported by the driver (\ref SCARD_E_UNSUPPORTED_FEATURE)
+ * @retval SCARD_E_NOT_TRANSACTED the driver returned an error (\ref SCARD_E_NOT_TRANSACTED)
  * @retval SCARD_E_INSUFFICIENT_BUFFER \p cbAttrLen is too big (\ref SCARD_E_INSUFFICIENT_BUFFER)
  * @retval SCARD_E_INSUFFICIENT_BUFFER Reader buffer not large enough (\ref SCARD_E_INSUFFICIENT_BUFFER)
  * @retval SCARD_E_INVALID_HANDLE Invalid \p hCard handle (\ref SCARD_E_INVALID_HANDLE)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pcsclite/PCSC.git



More information about the Pcsclite-cvs-commit mailing list