Defined types

The following is a list of commonly used type definitions in the following API. These definitions and more can be found in the include/pcsclite.h file.

PC/SC type C type
BOOL short
BYTE unsigned char
DWORD unsigned long
LONG long
LPBYTE unsigned char *
LPCBYTE const unsigned char *
LPCSTR const char *
LPCVOID const void *
LPCWSTR char *
LPDWORD unsigned long *
LPSCARDCONTEXT unsigned long *
LPSCARDHANDLE unsigned long *
LPSTR char *
LPVOID void *
PSCARDCONTEXT unsigned long *
PSCARDHANDLE unsigned long *
RESPONSECODE long
SCARDCONTEXT unsigned long
SCARDHANDLE unsigned long
ULONG unsigned long
USHORT unsigned short
WORD unsigned long

2007-06-17