requested by Laurent Pages: Indeed the smartcard detection on Windows does not work properly; refs #22
This commit is contained in:
@@ -536,8 +536,7 @@ namespace pcsc {
|
|||||||
|
|
||||||
//! @c false if last operation was not successful
|
//! @c false if last operation was not successful
|
||||||
operator bool() const {
|
operator bool() const {
|
||||||
//return (_state>>30&3)==0;
|
return (_state>>30&3)==0;
|
||||||
return _state==SCARD_S_SUCCESS;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//! Get the describing text of the last error
|
//! Get the describing text of the last error
|
||||||
|
Reference in New Issue
Block a user