|
|
@ -210,9 +210,9 @@ namespace pcsc { |
|
|
|
//! State and attribute list of a reader.
|
|
|
|
//! State and attribute list of a reader.
|
|
|
|
class Status { |
|
|
|
class Status { |
|
|
|
public: |
|
|
|
public: |
|
|
|
Status(unsigned DWORD s, const std::string& a): |
|
|
|
Status(DWORD s, const std::string& a): |
|
|
|
state(s), atr(a) {} |
|
|
|
state(s), atr(a) {} |
|
|
|
const unsigned DWORD state; |
|
|
|
const DWORD state; |
|
|
|
const std::string atr; |
|
|
|
const std::string atr; |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
@ -319,7 +319,7 @@ namespace pcsc { |
|
|
|
/*!
|
|
|
|
/*!
|
|
|
|
* @note Take care: Strings may contain embedded @c 0. |
|
|
|
* @note Take care: Strings may contain embedded @c 0. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
std::string control(unsigned DWORD controlCode, |
|
|
|
std::string control(DWORD controlCode, |
|
|
|
std::string in) { |
|
|
|
std::string in) { |
|
|
|
DWORD len(256); // arbitrary
|
|
|
|
DWORD len(256); // arbitrary
|
|
|
|
UCHAR dataBuffer[256]; |
|
|
|
UCHAR dataBuffer[256]; |
|
|
|