[Pcsclite-cvs-commit] r5560 - /trunk/PCSC/src/winscard_clnt.c
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Thu Jan 27 13:47:42 UTC 2011
Author: rousseau
Date: Thu Jan 27 13:47:42 2011
New Revision: 5560
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=5560
Log:
SCardSetAttrib(): add profiling calls
Modified:
trunk/PCSC/src/winscard_clnt.c
Modified: trunk/PCSC/src/winscard_clnt.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/winscard_clnt.c?rev=5560&op=diff
==============================================================================
--- trunk/PCSC/src/winscard_clnt.c (original)
+++ trunk/PCSC/src/winscard_clnt.c Thu Jan 27 13:47:42 2011
@@ -2592,11 +2592,15 @@
{
LONG ret;
+ PROFILE_START
+
if (NULL == pbAttr || 0 == cbAttrLen)
return SCARD_E_INVALID_PARAMETER;
ret = SCardGetSetAttrib(hCard, SCARD_SET_ATTRIB, dwAttrId, (LPBYTE)pbAttr,
&cbAttrLen);
+
+ PROFILE_END(ret)
return ret;
}
More information about the Pcsclite-cvs-commit
mailing list