SmartCardConnection.h File Reference

#include "USCAPI.h"
#include <winscard.h>

Go to the source code of this file.

Classes

class  USCAPI::CCommandAPDU
 Defines the Command APDU structure. More...
class  USCAPI::CResponseAPDU
 Defines the Response APDU structure. More...
struct  USCAPI::ATR
 ATR data structure. More...
class  USCAPI::CSmartCardConnection
 Implements a Smart Card connection. More...

Namespaces

namespace  USCAPI

Defines

#define MAX_READER_NAME   256
#define ENCODE_SW1SW2(sw1, sw2)   (sw1*256 + sw2)
#define SW1(val)   (HIBYTE(val))
#define SW2(val)   (LOBYTE(val))
#define PCSC_OK(val)   (HIWORD(val) == 0xFFFF)
#define APDU_OK(val)   (((SW1(val) == 0x90) || (SW1(val) == 0x91) || (SW1(val) == 0x9F) || (SW1(val) == 0x61)))

Define Documentation

#define APDU_OK ( val   )     (((SW1(val) == 0x90) || (SW1(val) == 0x91) || (SW1(val) == 0x9F) || (SW1(val) == 0x61)))
#define ENCODE_SW1SW2 ( sw1,
sw2   )     (sw1*256 + sw2)
#define MAX_READER_NAME   256
#define PCSC_OK ( val   )     (HIWORD(val) == 0xFFFF)
#define SW1 ( val   )     (HIBYTE(val))
#define SW2 ( val   )     (LOBYTE(val))
 All Classes Namespaces Files Functions Variables Typedefs Friends Defines
Generated on Tue Jun 1 15:54:30 2010 for Cryptware Smart Card C++ API by  doxygen 1.6.3