[Pcsclite-git-commit] [PCSC] 03/05: winscard.h: fix SCardGetStatusChange() prototype

Ludovic Rousseau rousseau at moszumanska.debian.org
Thu Aug 25 15:39:44 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 29ead37d5b4e41178a30fb390f64a51de98ff547
Author: Ludovic Rousseau <ludovic.rousseau at free.fr>
Date:   Thu Aug 25 14:51:41 2016 +0200

    winscard.h: fix SCardGetStatusChange() prototype
    
    Use "SCARD_READERSTATE *" instead of "LPSCARD_READERSTATE" for the
    rgReaderStates parameter to match the definition of
    SCardGetStatusChange() in winscard_clnt.c.
    
    The Doxygen page for winscard.h now does point to the documentation of
    SCardGetStatusChange().
    
    Even if the 2 types are, in fact, the same Doxygen was confused.
---
 src/PCSC/winscard.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/PCSC/winscard.h b/src/PCSC/winscard.h
index bff2df2..1243f49 100644
--- a/src/PCSC/winscard.h
+++ b/src/PCSC/winscard.h
@@ -84,7 +84,7 @@ extern "C"
 
 	PCSC_API LONG SCardGetStatusChange(SCARDCONTEXT hContext,
 		DWORD dwTimeout,
-		LPSCARD_READERSTATE rgReaderStates, DWORD cReaders);
+		SCARD_READERSTATE *rgReaderStates, DWORD cReaders);
 
 	PCSC_API LONG SCardControl(SCARDHANDLE hCard, DWORD dwControlCode,
 		LPCVOID pbSendBuffer, DWORD cbSendLength,

-- 
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