<div class="content" name="ReaderState_Return" uuid="e9d1ebf8-47d2-4f64-880b-d1b87479aadd"><p>The ReaderState_Return structure specifies state information
returned from <a href="d361b24c-611e-46c5-9ac6-93cb6490a472#gt_c6f0d1a4-ae75-40b9-beef-baa419cb33b9" data-linktype="relative-path">Smart Cards
for Windows</a>.</p><dl>
<dd>
<div><pre> typedef struct _ReaderState_Return {
   unsigned long dwCurrentState;
   unsigned long dwEventState;
   [range(0,36)] unsigned long cbAtr;
   byte rgbAtr[36];
 } ReaderState_Return;
</pre></div>
</dd></dl><p><b>dwCurrentState:</b>  A bitmap that
defines the current state of the reader at the time of the call. Possible
values are specified in section <a href="3a235960-2fec-446b-8ed1-50bcc70e3c5f" data-linktype="relative-path">2.2.7</a>. </p><p><b>dwEventState:</b>  A bitmap that defines
the state of the reader after a state change as seen by Smart Cards for
Windows. Possible values are specified in section 2.2.7. </p><p><b>cbAtr:</b>  The number of used bytes in <b>rgbAtr</b>.</p><p><b>rgbAtr:</b>  The values for the card&#39;s <a href="d361b24c-611e-46c5-9ac6-93cb6490a472#gt_2a8fc201-65aa-4040-980c-f4843467e6bf" data-linktype="relative-path">ATR</a> string. Unused bytes
MUST be set to zero and MUST be ignored on receipt.</p></div>