Microsoft Windows CE 3.0  


This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

This code sets various attributes in the smart card reader driver. For a list of all defined attributes, refer to Part 3 of the Interoperability Specification for ICCs and Personal Computer Systemsat the PC/SC Workgroup Web site.


Handle returned from a call to the smart card reader driver's XXX_Openfunction.
Specifies this code.
Contains a tag value describing the data to be set.
Set to the size of the entire TLV structure.
The attribute data.
Set to sizeof(ULONG).
Set to sizeof(ULONG).

Return Values

One of the following status values:

Status Meaning
STATUS_SUCCESS The attribute has been set successfully.
STATUS_NOT_SUPPORTED The attribute is not supported.
STATUS_INVALID_PARAMETER The attribute to be set is in the wrong format.

Note: Smart card reader drivers return Windows NT status values, rather than Win32 error values, as the return values from the driver's callback function.

 Last updated on Tuesday, July 13, 2004

© 2004 Microsoft Corporation. All rights reserved.