SCM Microsystems @MAXX lite Reference Manual page 31

Multifunctional token (smartcard, flash, antenna)
Table of Contents

Advertisement

@MAXX
R
LITE
EFERENCE
#include <winbase.h>
#include <stdio.h>
#include <conio.h>
#include "winscard.h"
#include "winerror.h"
#include "T_hbr.H"
VOID main(VOID)
{
SCARDCONTEXT
SCARDHANDLE
BYTE
WORD
DWORD
ULONG
ULONG
SCARD_READERSTATE
// please add the name of the used reader here or use SCardListReaders
// to find the right reader name
char
*ReaderName[] = {"SCM Microsystems Inc. @MAXX lite Contactless Reader 0",
/***************************************************************************************
*****************/
ContextHandle = -1;
ret = SCardEstablishContext(SCARD_SCOPE_USER, NULL, NULL, &ContextHandle);
if (ret == SCARD_S_SUCCESS)
{
ret = SCardConnect(
if (ret == SCARD_S_SUCCESS)
{
M
ANUAL
ContextHandle;
CardHandle;
OutByte;
InWord,i;
ActiveProtocol;
InBufLen,ResLen;
ret;
Reader[1];
NULL};
ContextHandle,
ReaderName[0],
SCARD_SHARE_SHARED,
SCARD_PROTOCOL_T0 | SCARD_PROTOCOL_T1,
&CardHandle,
&ActiveProtocol);
/* ICC protocol */
31

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the @MAXX lite and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents