IOCTL_SMARTCARD_GET_ATTRIBUTE (Windows CE 5.0)
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.
Parameters
- dwOpenData
[in] Handle returned from a call to the smart card reader driver's XXX_Open (Device Manager) function. - dwCode
[in] Specifies this code. - pBufIn
[in] Contains a tag value describing the data to be retrieved. - dwLenIn
[in] Must be set to sizeof(ULONG). - pBufOut
[out] The attribute data. - dwLenOut
[out] The size of the output buffer, which receives the attribute data. The size depends on the attribute. - pdwActualOut
[out] 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.
Remarks
Smart card reader drivers return Windows NT status values, rather than Win32 error values, as the return values from the driver's callback function.
Requirements
OS Versions: Windows CE 3.0 and later.
Header: Winsmcrd.h.
See Also
Send Feedback on this topic to the authors