SLE4442Lib.h File Reference

#include <winscard.h>

Go to the source code of this file.

Defines

#define SLE4442LIB_API   __declspec(dllimport)

Functions

SLE4442LIB_API long _stdcall OpenLib ()
 Opens the library and creates a new context with the smart card reader.
SLE4442LIB_API long _stdcall CloseLib ()
 closes the library
SLE4442LIB_API long _stdcall GetReaderList (char *szReaders, int *pnLen)
SLE4442LIB_API long _stdcall Connect (char *szReader)
 Connects to the given reader.
SLE4442LIB_API long _stdcall Disconnect ()
 Disconnect to the given reader.
SLE4442LIB_API long _stdcall ReadMainMemory (BYTE *buffer, int offset, int *pnLen)
 Reads from the main memory at the specified buffer.
SLE4442LIB_API long _stdcall UpdateMainMemory (BYTE *buffer, int offset, int nLen)
 Writes in the main memory at the specified buffer.
SLE4442LIB_API long _stdcall VerifyPIN (BYTE *pin, int nLen)
 Verify the PIN.
SLE4442LIB_API long _stdcall ChangePIN (BYTE *oldpin, int oldLen, BYTE *newpin, int newLen)
 Changes the PIN.
SLE4442LIB_API long _stdcall WaitForSmartCardInserted (char *szReader, int timeout)
 Waits for a smart card inserted.
SLE4442LIB_API long _stdcall WaitForSmartCardRemoved (char *szReader, int timeout)
 Waits for a smart card removed.
SLE4442LIB_API long _stdcall CancelWaiting ()
 Cancels waiting.
SLE4442LIB_API long _stdcall SetCardHandle (SCARDHANDLE hCard, char *szReader)
 Sets the card handle.

Define Documentation

#define SLE4442LIB_API   __declspec(dllimport)

Function Documentation

SLE4442LIB_API long _stdcall CancelWaiting (  ) 

Cancels waiting.

SLE4442LIB_API long _stdcall ChangePIN ( BYTE *  oldpin,
int  oldLen,
BYTE *  newpin,
int  newLen 
)

Changes the PIN.

SLE4442LIB_API long _stdcall CloseLib (  ) 

closes the library

SLE4442LIB_API long _stdcall Connect ( char *  szReader  ) 

Connects to the given reader.

SLE4442LIB_API long _stdcall Disconnect (  ) 

Disconnect to the given reader.

SLE4442LIB_API long _stdcall GetReaderList ( char *  szReaders,
int *  pnLen 
)

Gets the list of connected readers Readers are separated by ;

SLE4442LIB_API long _stdcall OpenLib (  ) 

Opens the library and creates a new context with the smart card reader.

SLE4442LIB_API long _stdcall ReadMainMemory ( BYTE *  buffer,
int  offset,
int *  pnLen 
)

Reads from the main memory at the specified buffer.

SLE4442LIB_API long _stdcall SetCardHandle ( SCARDHANDLE  hCard,
char *  szReader 
)

Sets the card handle.

SLE4442LIB_API long _stdcall UpdateMainMemory ( BYTE *  buffer,
int  offset,
int  nLen 
)

Writes in the main memory at the specified buffer.

SLE4442LIB_API long _stdcall VerifyPIN ( BYTE *  pin,
int  nLen 
)

Verify the PIN.

SLE4442LIB_API long _stdcall WaitForSmartCardInserted ( char *  szReader,
int  timeout 
)

Waits for a smart card inserted.

SLE4442LIB_API long _stdcall WaitForSmartCardRemoved ( char *  szReader,
int  timeout 
)

Waits for a smart card removed.

 All Files Functions Defines
Generated on Mon Jun 7 22:36:57 2010 for Cryptware SLE4442 C++ API by  doxygen 1.6.3