TSDuck v3.40-3963
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::pcsc::ReaderState Struct Reference

State of a smartcard reader. More...

#include <tsPCSC.h>

Collaboration diagram for ts::pcsc::ReaderState:

Public Member Functions

 ReaderState (const UString &reader_=UString(), ::DWORD current_state_=SCARD_STATE_UNAWARE)
 Constructor.
 

Public Attributes

ByteBlock atr {}
 Last ATR value.
 
::DWORD current_state = 0
 Current reader state.
 
::DWORD event_state = 0
 Current event state.
 
UString reader {}
 Smartcard reader name.
 

Detailed Description

State of a smartcard reader.

C++ counterpart of SCARD_READERSTATE.

Constructor & Destructor Documentation

◆ ReaderState()

ts::pcsc::ReaderState::ReaderState ( const UString reader_ = UString(),
::DWORD  current_state_ = SCARD_STATE_UNAWARE 
)
inline

Constructor.

Parameters
[in]reader_Smartcard reader name.
[in]current_state_Current reader state.

The documentation for this struct was generated from the following file: