00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00018 #ifndef __eventhandler_h__
00019 #define __eventhandler_h__
00020
00021 #ifdef __cplusplus
00022 extern "C"
00023 {
00024 #endif
00025
00030 typedef struct pubReaderStatesList
00031 {
00032 LONG readerID;
00033 char readerName[MAX_READERNAME];
00034 DWORD readerState;
00035 LONG readerSharing;
00036 DWORD dummy;
00037
00038 UCHAR cardAtr[MAX_ATR_SIZE];
00039 DWORD cardAtrLength;
00040 DWORD cardProtocol;
00041 }
00042 READER_STATE, *PREADER_STATE;
00043
00044 LONG EHInitializeEventStructures(void);
00045 LONG EHSpawnEventHandler(PREADER_CONTEXT);
00046 LONG EHDestroyEventHandler(PREADER_CONTEXT);
00047
00048 #ifdef __cplusplus
00049 }
00050 #endif
00051
00052 #endif