Microsoft Windows CE 3.0  

IOCTL_SMARTCARD_GET_ATTRIBUTE

Important:
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 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, at the PC/SC Workgroup Web site.

Parameters

dwOpenData
Handle returned from a call to the smart card reader driver's XXX_Openfunction.
dwCode
Specifies this code.
pBufIn
Contains a tag value describing the data to be retrieved.
dwLenIn
Must be set to sizeof(ULONG).
pBufOut
The attribute data.
dwLenOut
The size of the output buffer, which receives the attribute data. The size depends on the attribute.
pdwActualOut
The actual number of bytes returned, not counting terminating NUL charactersin strings.

Return Values

The status value STATUS_SUCCESS or STATUS_NOT_SUPPORTED, as appropriate.

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.