eventhandler.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00018 #ifndef __eventhandler_h__
00019 #define __eventhandler_h__
00020
00021 #include <stdint.h>
00022
00023 #ifdef __cplusplus
00024 extern "C"
00025 {
00026 #endif
00027
00032 typedef struct pubReaderStatesList
00033 {
00034 int32_t readerID;
00035 char readerName[MAX_READERNAME];
00036 uint32_t readerState;
00037 int32_t readerSharing;
00038
00039 UCHAR cardAtr[MAX_ATR_SIZE];
00040 uint32_t cardAtrLength;
00041 uint32_t cardProtocol;
00042 }
00043 READER_STATE, *PREADER_STATE;
00044
00045 LONG EHInitializeEventStructures(void);
00046 LONG EHSpawnEventHandler(PREADER_CONTEXT,
00047 RESPONSECODE (*)(DWORD));
00048 LONG EHDestroyEventHandler(PREADER_CONTEXT);
00049
00050 #ifdef __cplusplus
00051 }
00052 #endif
00053
00054 #endif