Go to the documentation of this file.
39 #ifndef __eventhandler_h__
40 #define __eventhandler_h__
66 LONG EHRegisterClientForEvent(int32_t filedes);
69 LONG EHInitializeEventStructures(
void);
70 LONG EHDeinitializeEventStructures(
void);
75 #define PCSCLITE_SHARING_LAST_CONTEXT 1
77 #define PCSCLITE_SHARING_NO_CONTEXT 0
79 #define PCSCLITE_SHARING_EXCLUSIVE_CONTEXT -1
84 #define READER_NOT_INITIALIZED (MAX_ATR_SIZE+1)
uint32_t readerState
SCARD_* bit field.
uint32_t cardProtocol
SCARD_PROTOCOL_* value.
char readerName[MAX_READERNAME]
reader name
uint32_t eventCounter
number of card events
Define an exported public reader state structure so each application gets instant notification of cha...
LONG EHUnregisterClientForEvent(int32_t filedes)
Unregister a client and log an error if the client is not found.
This keeps track of a list of currently available reader structures.
int32_t readerSharing
PCSCLITE_SHARING_* sharing status.
#define MAX_ATR_SIZE
Maximum ATR size.
LONG EHTryToUnregisterClientForEvent(int32_t filedes)
Try to unregisted a client If no client is found then do not log an error.
void EHSignalEventToClients(void)
Sends an asynchronous event to any waiting client.
UCHAR cardAtr[MAX_ATR_SIZE]
ATR.
struct pubReaderStatesList READER_STATE
Define an exported public reader state structure so each application gets instant notification of cha...
uint32_t cardAtrLength
ATR length.
This keeps a list of defines for pcsc-lite.
This keeps a list of Windows(R) types.