Commit 7cfc68c9 authored by Ludovic Rousseau's avatar Ludovic Rousseau

pcsc_scan: display the number of events

From the high word of .dwEventState

See
https://pcsclite.apdu.fr/api/group__API.html#ga33247d5d1257d59e55647c3bb717db24
for more details on .dwEventState
parent 66287c48
......@@ -698,6 +698,11 @@ get_readers:
magenta, rgReaderStates_t[current_reader].szReader,
color_end);
/* Event number */
printf(" Event number: %s%ld%s\n", magenta,
rgReaderStates_t[current_reader].dwEventState >> 16,
color_end);
/* Dump the full current state */
printf(" Card state: %s", red);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment