3.1.4.38 SCARD_IOCTL_GETATTRIB (IOCTL 0x000900D8)
The Get Attribute function requests an attribute of the smart card reader associated with the smart card reader handle. On success, the attribute is copied to GetAttrib_Return.
Return Values: The method sets GetAttrib_Return.ReturnCode (for more information, see section 2.2.3.12) to SCARD_S_SUCCESS on success; otherwise, it sets one of the smart card-specific errors or one of the return codes from Winerror.h. No specialized error codes are associated with this method.