Partager via


IOCTL_SMARTCARD_EJECT (Windows Embedded CE 6.0)

1/6/2010

This code requests a smart card reader driver to eject the currently inserted smart card from the smart card reader.

Parameters

  • dwCode
    [in] Specifies this code.
  • pBufIn
    Ignored.
  • dwLenIn
    Ignored.
  • pBufOut
    Ignored.
  • dwLenOut
    Ignored.
  • pdwActualOut
    Ignored.

Return Values

One of the following Status values.

Status Description

STATUS_SUCCESS

Card successfully ejected.

STATUS_NO_MEDIA

No card in reader.

STATUS_NOT_SUPPORTED

Reader does not support card eject.

STATUS_IO_TIMEOUT

Operation has timed out.

Remarks

Smart card reader drivers return Microsoft® Windows NT® status values, rather than Microsoft 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)
IOCTL_SERIAL_SET_WAIT_MASK