Partager via


IOCTL_SMARTCARD_SET_ATTRIBUTE (Windows Embedded CE 6.0)

1/6/2010

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 Systems.

Parameters

  • dwCode
    [in] Specifies this code.
  • pBufIn
    [in] Contains a tag value describing the data to be set.
  • dwLenIn
    [in] Set to the size of the entire TLV structure.
  • pBufOut
    [out] The attribute data.
  • dwLenOut
    [out] Set to sizeof(ULONG).
  • pdwActualOut
    [out] Set to sizeof(ULONG).

Return Values

One of the following status values.

Status Description

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.

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

Header winsmcrd.h
Windows Embedded CE Windows CE 3.0 and later

See Also

Reference

Smart Card Driver IOCTLs
XXX_Open (Device Manager)