pcsclite: return SCardGetStatusChange errors

So it's possible to know when and why pcsc stops watching for events.
This commit is contained in:
Santiago Gimeno
2016-11-24 15:02:57 +01:00
parent 76a1c9a200
commit c311ea038c
2 changed files with 35 additions and 27 deletions

View File

@@ -16,6 +16,7 @@ class PCSCLite: public Nan::ObjectWrap {
LPSTR readers_name;
DWORD readers_name_length;
bool do_exit;
std::string err_msg;
};
struct AsyncBaton {