2.2.2.22 SetAttrib_Call

The SetAttrib_Call structure allows users to set smart card reader attributes.

 typedef struct _SetAttrib_Call {
   REDIR_SCARDHANDLE hCard;
   unsigned long dwAttrId;
   [range(0,65536)] unsigned long cbAttrLen;
   [size_is(cbAttrLen)] const byte* pbAttr;
 } SetAttrib_Call;

hCard: A handle, as specified in section 2.2.1.2.

dwAttrId: The identifier of the attribute to set. The values are write-only. For more information on possible values, see [PCSC3] section 3.1.2.

cbAttrLen: The size, in bytes, of the data corresponding to the pbAttr field.

pbAttr: A buffer that contains the attribute whose identifier is supplied in the dwAttrId field. The format is specific to the value being set.