[Pcsclite-cvs-commit] CVS PCSC/doc
CVS User rousseau
ludovic.rousseau@free.fr
Tue, 23 Nov 2004 14:08:11 -0700
Update of /cvsroot/pcsclite/PCSC/doc
In directory haydn:/tmp/cvs-serv23986
Modified Files:
pcsc-lite.tex
Log Message:
SCardStatus: document that pcbAtrLen will contain the necessary size if
it is too small
--- /cvsroot/pcsclite/PCSC/doc/pcsc-lite.tex 2004/07/28 13:44:12 1.11
+++ /cvsroot/pcsclite/PCSC/doc/pcsc-lite.tex 2004/11/23 21:08:11 1.12
@@ -5,7 +5,7 @@
% David Corcoran <corcoran@linuxnet.com>
% Ludovic Rousseau <ludovic.rousseau@free.fr>
%
-% $Id: pcsc-lite.tex,v 1.11 2004/07/28 13:44:12 rousseau Exp $
+% $Id: pcsc-lite.tex,v 1.12 2004/11/23 21:08:11 rousseau Exp $
\documentclass[a4paper,12pt]{article}
@@ -1023,11 +1023,14 @@
This function returns the current status of the reader connected to by
\texttt{hCard}. It's friendly name will be stored in
\texttt{szReaderName}. \texttt{pcchReaderLen} will be the size of the
-allocated buffer for \texttt{szReaderName}. If this is too small the
-function will return with the necessary size in \texttt{pcchReaderLen}.
-The current state, and protocol will be stored in \texttt{pdwState} and
-\texttt{pdwProtocol} respectively. \texttt{pdwState} is a
-\texttt{DWORD} possibly OR'd with the following values:
+allocated buffer for \texttt{szReaderName}, while \texttt{pcbAtrLen}
+will be the size of the allocated buffer for \texttt{pbAtr}. If either
+of these is too small, the function will return with
+\texttt{SCARD\_E\_INSUFFICIENT\_BUFFER} and the necessary size in
+\texttt{pcchReaderLen} and \texttt{pcbAtrLen}. The current state, and
+protocol will be stored in \texttt{pdwState} and \texttt{pdwProtocol}
+respectively. \texttt{pdwState} is a \texttt{DWORD} possibly OR'd with
+the following values:
\begin{tabular}{|l|p{12cm}|}