Subsections

pcsc_stringify_error

Synopsis:

#include <pcsclite.h>

char *pcsc_stringify_error(long error);

Description:

This function return a human readable text for the given PC/SC error code.

Example:

SCARDCONTEXT hContext;
LONG rv;

rv = SCardEstablishContext(SCARD\_SCOPE\_SYSTEM, NULL, NULL, &hContext);
if (rv != SCARD_S_SUCCESS)
    printf("SCardEstablishContext: %s (0x%lX)\n",
        pcsc_stringify_error(rv), rv);



2007-06-17