IOCTL_SMARTCARD_GET_ATTRIBUTE control code
The IOCTL_SMARTCARD_GET_ATTRIBUTE request queries smart card and smart card reader attributes. For a list of all defined attributes, refer to Part 3 of the Interoperability Specification for ICCs and Personal Computer Systems.
Contains a tag value that describes the data to retrieve.
Must be sizeof(ULONG).
Contains the size of the output buffer, which receives the result. The size depends on the type of attribute to retrieve.
Receives the data.
I/O Status Block
The Information member must be set to the number of bytes returned. The trailing null byte should not be included in strings.
Because this call is mandatory for all drivers, the Status member must be set to STATUS_SUCCESS. However, if a driver does not support a particular attribute, the driver must set Status to STATUS_NOT_SUPPORTED.
|Winsmcrd.h (include Winsmcrd.h)|